com.raritantechnologies.utils.time
Class TimeStampQueryFilter

java.lang.Object
  extended bycom.raritantechnologies.searchApp.QueryProcessorFilter
      extended bycom.raritantechnologies.utils.time.TimeStampQueryFilter
All Implemented Interfaces:
IQueryProcessor

public class TimeStampQueryFilter
extends QueryProcessorFilter

Adds a time stamp to an executed query.

XML Configuration Template:
 <SourceType name="filteredSourceName" type="QueryProcessorFilterSource"
             sourceFactoryClass = "com.raritantechnologies.searchApp.QueryProcessorFilterFactory" 
             filterClass  = "com.raritantechnologies.utils.time.TimeStampQueryProcessorFilter"
             inputSource  = "realSourceName" />
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.QueryProcessorFilter
theQueryProcessor
 
Constructor Summary
TimeStampQueryFilter()
           
 
Method Summary
protected  IResultSet doExecuteQuery(java.lang.Integer queryID, ISearchFieldMap searchMap, SourceLoginInfo[] sources, OrderedMap inputParameters, java.lang.Integer pageSize, java.lang.Integer startRec)
          Execution of the query - finds the "real" or proxy IQueryProcessor.
 void initialize(org.w3c.dom.Element elem)
          subclasses should override this to initialize themselves.
 
Methods inherited from class com.raritantechnologies.searchApp.QueryProcessorFilter
executeQuery, filterResultSet, getQueryProcessor, getQueryProcessor, getRealSources, setNextFilter, setQueryProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeStampQueryFilter

public TimeStampQueryFilter()
Method Detail

doExecuteQuery

protected IResultSet doExecuteQuery(java.lang.Integer queryID,
                                    ISearchFieldMap searchMap,
                                    SourceLoginInfo[] sources,
                                    OrderedMap inputParameters,
                                    java.lang.Integer pageSize,
                                    java.lang.Integer startRec)
                             throws QueryProcessorException
Description copied from class: QueryProcessorFilter
Execution of the query - finds the "real" or proxy IQueryProcessor.

Overrides:
doExecuteQuery in class QueryProcessorFilter
Throws:
QueryProcessorException

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from class: QueryProcessorFilter
subclasses should override this to initialize themselves.

Overrides:
initialize in class QueryProcessorFilter