com.raritantechnologies.searchApp.query
Class SearchHistoryQueryResultSetReader
java.lang.Object
com.raritantechnologies.searchApp.query.SearchHistoryQueryResultSetReader
- All Implemented Interfaces:
- IConfigurable, IQueryResultSetReader
- public class SearchHistoryQueryResultSetReader
- extends java.lang.Object
- implements IQueryResultSetReader
Returns a QueryResultSet from current session Search History.
Uses the IQueryResultSetReader.SESSION_ID parameter to look up the current
user's search history QueryResultBeanSet object. This works in conjunction
with a SearchHistoryQueryProcessorFilter wrapper on the application search
source.
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Fields inherited from interface com.raritantechnologies.searchApp.query.IQueryResultSetReader |
ADHOC, APPLICATION_NAME, DATE, IGNORE_COLUMN, PAGE_SIZE, QUERY_ID, QUERY_NAME, RESP_TIME, ROLE_NAME, SESSION_ID, SOURCE_NAMES, START_REC, TOTAL_DOCS, USER_NAME |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchHistoryQueryResultSetReader
public SearchHistoryQueryResultSetReader()
readQueries
public QueryResultBeanSet readQueries(java.lang.String sessionID,
OrderedMap searchParams,
java.util.Date from,
java.util.Date to)
- Specified by:
readQueries in interface IQueryResultSetReader
readQueries
public QueryResultBeanSet readQueries(java.lang.String sessionID,
OrderedMap searchParams)
- Specified by:
readQueries in interface IQueryResultSetReader
setSavedFields
public void setSavedFields(java.lang.String[] savedFields)
- Specified by:
setSavedFields in interface IQueryResultSetReader
setAdhocFieldName
public void setAdhocFieldName(java.lang.String adhocFieldName)
- Specified by:
setAdhocFieldName in interface IQueryResultSetReader
setQueryParser
public void setQueryParser(IQueryParser queryParser)
- Description copied from interface:
IQueryResultSetReader
- Set the queryParser to be used to transform the query after it is read
from the persistent source.
- Specified by:
setQueryParser in interface IQueryResultSetReader
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IQueryResultSetReader