public class S_Search extends Object
SearchSpecification
,
SearchQualification
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_CheckGetContentAccess |
protected String[] |
m_ContentClasses |
protected PreparedStatement |
m_PreparedStatement |
protected ResultSet |
m_ResultSet |
protected Hashtable |
m_ScoreMapping
Provides a mapping from SCORE expressions to ContextQualifier Names.
|
protected SearchSpecification |
m_SearchSpecification |
protected S_LibrarySession |
m_Session |
protected static int |
NUM_OF_SECURE_PARAMETERS |
Modifier | Constructor and Description |
---|---|
protected |
S_Search(S_LibrarySession sess) |
protected |
S_Search(S_LibrarySession sess,
SearchSpecification sp) |
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
protected static void |
createView(S_LibrarySession sess,
ViewSpecification vsp) |
protected String |
explainPlan(Hashtable planDetails)
Wrapper for SearchSpecification explainPlan.
|
PreparedStatement |
generateSQLStatement(String sqlStmt) |
protected int |
getItemCount(Vector bindValues,
String language,
int timeout) |
S_ClassObjectData |
getLibraryClassData(Long id) |
protected SearchSpecification |
getSearchSpecification() |
protected String |
getSQLString()
Returns the SQL generated for the search.
|
protected S_SearchResultObjectData |
next() |
protected Vector |
next(int batchCount)
Next returns the next batch of Result rows.
|
protected void |
open(Vector bindValues,
String language,
int timeout) |
protected void |
setSearchSpecification(SearchSpecification sp) |
int |
setSecurityParameters(PreparedStatement stmt,
int offset) |
protected void |
setTimeout(Statement stmt,
int timeout) |
void |
validateValue(String clss,
String attribute,
AttributeValue av)
Check if the Value is valid for the Attribute.
|
protected static int NUM_OF_SECURE_PARAMETERS
protected SearchSpecification m_SearchSpecification
protected S_LibrarySession m_Session
protected PreparedStatement m_PreparedStatement
protected ResultSet m_ResultSet
protected boolean m_CheckGetContentAccess
protected String[] m_ContentClasses
protected Hashtable m_ScoreMapping
protected S_Search(S_LibrarySession sess)
protected S_Search(S_LibrarySession sess, SearchSpecification sp)
protected static void createView(S_LibrarySession sess, ViewSpecification vsp) throws IfsException
IfsException
protected void setSearchSpecification(SearchSpecification sp) throws IfsException
IfsException
protected SearchSpecification getSearchSpecification() throws IfsException
IfsException
protected String getSQLString() throws IfsException
IfsException
- if the operation failsprotected void open(Vector bindValues, String language, int timeout) throws IfsException
IfsException
protected void setTimeout(Statement stmt, int timeout) throws IfsException, SQLException
IfsException
SQLException
protected int getItemCount(Vector bindValues, String language, int timeout) throws IfsException
IfsException
protected S_SearchResultObjectData next() throws IfsException
IfsException
protected Vector next(int batchCount) throws IfsException
IfsException
protected String explainPlan(Hashtable planDetails) throws IfsException
IfsException
protected void close() throws IfsException
IfsException
public PreparedStatement generateSQLStatement(String sqlStmt) throws IfsException
IfsException
public S_ClassObjectData getLibraryClassData(Long id) throws IfsException
IfsException
public int setSecurityParameters(PreparedStatement stmt, int offset) throws IfsException
IfsException
public void validateValue(String clss, String attribute, AttributeValue av) throws IfsException
IfsException
Copyright © 2023. All rights reserved.