Open SiteSearch 4.1.1
Final

ORG.oclc.obi.extverb
Class HistoryQuery

java.lang.Object
  |
  +--ORG.oclc.webz.Verb
        |
        +--ORG.oclc.webz.ZVerb
              |
              +--ORG.oclc.webz.ZQueryHandler
                    |
                    +--ORG.oclc.webz.QUERY
                          |
                          +--ORG.oclc.obi.extverb.HistoryQuery

public class HistoryQuery
extends QUERY

The HistoryQuery class is a specialized QUERY Verb to create queries from the history search page in the SiteSearch OBI. HistoryQuery uses input parameters contained in the RequestManager object. A successful execution of HistoryQuery is a search executed for the requested input query terms. A failure can occur if there is are no terms input to create a search and the bad page is set up in the RequestManager object.

HistoryQuery creates a customized query from the user's selection of previous searches listed in their search history. It recognizes any widgets starting with historyterm to create a new query that is passed to the QUERY verb. The historyterm widgets contain numbered resultset names that are used to locate the original query and database name from the user's WebZUserHistory. The Verb also recognizes the operator widget and uses it as the boolean operator for compound searches. Widgets for the query are added to the RequestManager object parameters and the QUERY verb is then executed to perform the search.

See Also:
QUERY, DataPairs, DataPair, UserStateObject, RequestManager, ZUserData

Fields inherited from class ORG.oclc.webz.QUERY
localformat, sResults
 
Fields inherited from class ORG.oclc.webz.ZVerb
bytesIn, bytesOut, dbGroupSearch, dbname, fmtClass, format, inputQueryInfo, numrecs, postings, ranked, recno, resultSetName, sorting, tempDb, traceMsgs, z39session, zDb, zQueryTerm, zServer, zUserData
 
Fields inherited from class ORG.oclc.webz.Verb
user, widgets
 
Constructor Summary
HistoryQuery()
          Constructs a HistoryQuery object.
 
Method Summary
 void runit(RequestManager rMngr)
          Exectues the HistoryQuery Verb using the input parameters contained in the RequestManager object.
 
Methods inherited from class ORG.oclc.webz.QUERY
doDeleteResultSet, doPresent, doQuery, parseParms, resumeQuery, runit
 
Methods inherited from class ORG.oclc.webz.ZQueryHandler
getErrMsg, getErrno, parse
 
Methods inherited from class ORG.oclc.webz.ZVerb
doAccessControl, doSort, initZUser, restoreDbState, saveDbState, saveRecs, toString
 
Methods inherited from class ORG.oclc.webz.Verb
setUpPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryQuery

public HistoryQuery()
Constructs a HistoryQuery object.
Method Detail

runit

public void runit(RequestManager rMngr)
Exectues the HistoryQuery Verb using the input parameters contained in the RequestManager object.
Overrides:
runit in class QUERY

Open SiteSearch 4.1.1
Final