Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Interface ExtSvcHandler

All Known Implementing Classes:
ESOrder, ESOrderPrice, ESUpdate

public abstract interface ExtSvcHandler

ExtSvcHandler is an interface class to define methods that determine how to handle extended services whether it is an extended service based on dbname or whether it is based on resultset name.


Method Summary
 String[] dbname(DataDir taskPackage)
          Retrieve the dbname from the task package or return null if the extended services does not depend on dbname.
 void resetDbname(String name, DataDir taskPackage)
          Resets the dbname in the incoming task package to the input dbname or does nothing if the Extended Service is not based on a database name.
 void resetResultSetId(String resultSetName, DataDir taskPackage)
          Resets the resultset name in the incoming task package to the input result set name or does nothing if the Extended Service is not based on resultset name.
 String resultSetId(DataDir taskPackage)
          Retrieve the resultSetId from the task package or return null if the extended service does not depend on result set name.
 int resultSetStartPosition(DataDir taskPackage)
          Retrieve the resultSet starting record number from the task package or return 0 if the extended service does not depend on result set name.
 

Method Detail

resultSetId

public String resultSetId(DataDir taskPackage)
Retrieve the resultSetId from the task package or return null if the extended service does not depend on result set name.

resultSetStartPosition

public int resultSetStartPosition(DataDir taskPackage)
Retrieve the resultSet starting record number from the task package or return 0 if the extended service does not depend on result set name.

dbname

public String[] dbname(DataDir taskPackage)
Retrieve the dbname from the task package or return null if the extended services does not depend on dbname.

resetResultSetId

public void resetResultSetId(String resultSetName,
                             DataDir taskPackage)
Resets the resultset name in the incoming task package to the input result set name or does nothing if the Extended Service is not based on resultset name.

resetDbname

public void resetDbname(String name,
                        DataDir taskPackage)
Resets the dbname in the incoming task package to the input dbname or does nothing if the Extended Service is not based on a database name.

Open SiteSearch 4.1.1
Final