Open SiteSearch 4.1.1
Final

ORG.oclc.mantis.verbs
Class ESDbUpdate

java.lang.Object
  |
  +--ORG.oclc.webz.Verb
        |
        +--ORG.oclc.webz.ZVerb
              |
              +--ORG.oclc.webz.EXTSVC
                    |
                    +--ORG.oclc.mantis.verbs.ESDbUpdate

public class ESDbUpdate
extends EXTSVC

The ESDbUpdate class is the Verb that handles the Extended Services Database Update request and response by extending the WebZ EXTSVC Verb. This class is responsible for creating and saving the task package of the Extended Services Database Update request before running the EXTSVC Verb logic. It fills in the ORG.oclc.z39.ExtSvcData elements needed for the request, saves the ExtSvcData object in the EXTSVC verb, and the EXTSVC verb handles actually sending the request and getting the response. The response data can then be retrieved from the ExtSvcData object for evaluation.

The Database Update record is stored in the user state as a DataDir object in the entity "updaterecord".

The Database Update record action is specified as the widget:
updateaction=type
where type = "insert", "replace", or "delete".

The Database Update record can be specified in a widget:
updaterecordfile=file-location
Specifying the database update in a file will override any records defined in the "updaterecord" entity during an online update.

The response Task Package from the Z39.50 Extended Services request returns the BER record that was updated during the online update process. The returned update record is stored in the entity "responseUpdateRecord".

See Also:
EXTSVC, ExtSvcData, DataPairs, RequestManager, BatchNewtonUpdate

Fields inherited from class ORG.oclc.webz.EXTSVC
esParms
 
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
ESDbUpdate()
          Constructs an ESDbUpdate object.
ESDbUpdate(String schemaOID)
          Constructs an ESDbUpdate object with input parameter schema.
 
Method Summary
 void runit(RequestManager rMngr)
          Exectues the ESDbUpdate class using the input parameters contained in the RequestManager object.
 String toString()
          Generates the String representation of this object.
 
Methods inherited from class ORG.oclc.webz.EXTSVC
doExtSvc, getESParms, resumeExtSvc, runit, setESParms
 
Methods inherited from class ORG.oclc.webz.ZVerb
doAccessControl, doSort, initZUser, restoreDbState, saveDbState, saveRecs
 
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

ESDbUpdate

public ESDbUpdate()
Constructs an ESDbUpdate object.

ESDbUpdate

public ESDbUpdate(String schemaOID)
Constructs an ESDbUpdate object with input parameter schema.
Parameters:
schema - the OID for the Extended Service Update schema.
Method Detail

runit

public void runit(RequestManager rMngr)
Exectues the ESDbUpdate class using the input parameters contained in the RequestManager object.
Parameters:
rMngr - the RequestManager object.
Overrides:
runit in class EXTSVC

toString

public final String toString()
Generates the String representation of this object.
Returns:
the String representation of this object
Overrides:
toString in class ZVerb

Open SiteSearch 4.1.1
Final