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
IfsExceptionprotected void setSearchSpecification(SearchSpecification sp) throws IfsException
IfsExceptionprotected SearchSpecification getSearchSpecification() throws IfsException
IfsExceptionprotected String getSQLString() throws IfsException
IfsException - if the operation failsprotected void open(Vector bindValues, String language, int timeout) throws IfsException
IfsExceptionprotected void setTimeout(Statement stmt, int timeout) throws IfsException, SQLException
IfsExceptionSQLExceptionprotected int getItemCount(Vector bindValues, String language, int timeout) throws IfsException
IfsExceptionprotected S_SearchResultObjectData next() throws IfsException
IfsExceptionprotected Vector next(int batchCount) throws IfsException
IfsExceptionprotected String explainPlan(Hashtable planDetails) throws IfsException
IfsExceptionprotected void close()
throws IfsException
IfsExceptionpublic PreparedStatement generateSQLStatement(String sqlStmt) throws IfsException
IfsExceptionpublic S_ClassObjectData getLibraryClassData(Long id) throws IfsException
IfsExceptionpublic int setSecurityParameters(PreparedStatement stmt, int offset) throws IfsException
IfsExceptionpublic void validateValue(String clss, String attribute, AttributeValue av) throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.