|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ORG.oclc.z39.ESUpdate
The ESUpdate class creates the Extended Services Database Update task package and translates the task package response.
| Constructor Summary | |
ESUpdate()
Construct an ESUpdate object. |
|
ESUpdate(DataDir tp)
Construct an ESUpdate object using the input parameter task package. |
|
ESUpdate(String db,
DataDir rec,
String schemaOID)
Construct an ESUpdate object using the input parameter database name and the database record. |
|
| Method Summary | |
DataDir |
buildRequest(int updateAction)
Build the Extended Services Database Update request task package. |
DataDir |
buildResponse(int status,
String dbName,
String info,
DataDir updateRecord)
Build the Extended Services Database Update response task package. |
String[] |
dbname(DataDir taskPackage)
Return the database name found in the request task package. |
DataDir |
getResponseUpdateRecord(DataDir taskPackage)
Parse the extended services database update response task package and return the database update record. |
String |
getUpdateFailedCode(DataDir taskPackage)
Parse the extended services database update response task package and return the database update globalDiagnostics code. |
DataDir |
getUpdateRecord(DataDir tp)
Parse the extended services database update request task package and return the database update record. |
String |
getUpdateSchema(DataDir taskPackage)
Return the schema found in the request task package. |
int |
getUpdateStatus(DataDir taskPackage)
Parse the extended services database update response task package and return the database update status. |
void |
resetDbname(String name,
DataDir taskPackage)
Reset the Extended Service Database Update database name. |
void |
resetResultSetId(String resultSetName,
DataDir taskPackage)
The Extended Service Database Update does not use this method. |
String |
resultSetId(DataDir taskPackage)
The Extended Service Database Update does not use this method. |
int |
resultSetStartPosition(DataDir taskPackage)
The Extended Service Database Update does not use this method. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ESUpdate()
public ESUpdate(String db,
DataDir rec,
String schemaOID)
db - the name of the database to update.rec - the database record to update into the database.public ESUpdate(DataDir tp)
tp - the Extended Services request task package.| Method Detail |
public void resetResultSetId(String resultSetName,
DataDir taskPackage)
resultSetName - the name of the resultset.taskPackage - the request task package.
public void resetDbname(String name,
DataDir taskPackage)
name - the name of the database.taskPackage - the request task package.public String[] dbname(DataDir taskPackage)
taskPackage - the request task package.public String resultSetId(DataDir taskPackage)
public int resultSetStartPosition(DataDir taskPackage)
taskPackage - the request task package.public DataDir buildRequest(int updateAction)
updateAction - the type of update record being processed:
insert, replace, or delete.
public DataDir buildResponse(int status,
String dbName,
String info,
DataDir updateRecord)
status - the status of the database update: success, partial,
or failure.dbName - the name of the database being updated.info - the additional info field for the Diagnostic object.updateRecord - the Extended Services Update record.public String getUpdateSchema(DataDir taskPackage)
taskPackage - the request task package.public DataDir getUpdateRecord(DataDir tp)
tp - the Extended Services Request task package.public int getUpdateStatus(DataDir taskPackage)
taskPackage - the response task package.public String getUpdateFailedCode(DataDir taskPackage)
taskPackage - the response task package.public DataDir getResponseUpdateRecord(DataDir taskPackage)
taskPackage - the response task package.
|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||