All Packages Class Hierarchy This Package Previous Next Index
Class ORG.oclc.z39.client.Z39delete
java.lang.Object
|
+----ORG.oclc.z39.client.Z39delete
- public class Z39delete
- extends Object
deleteRequest builds and parses DeleteResultSetRequests.
- Version:
- @(#)Z39delete.java 1.1 07/09/97
-
deleteFunction
- Specified by the origin.
-
deleteListStatuses
- If the deleteFunction was 'list', then these are statuses for each list
-
deleteMessage
- Optional text message from the target
-
deleteOperationStatus
- Returned by the target
-
numberNotDeleted
- If the deleteFunction was 'bulk' and some were not delete, the target
fills this in
-
referenceId
- Value passed to Request and returned by a target Z39.50 server and
Response stores it here
-
resultSetList
- If the deleteFunction is 'list', then this is the list
-
zsession
- Z39session
-
Z39delete()
-
-
Z39delete(Z39session)
-
-
doDelete(int, int, String[])
- Creates, Issues, and Processes a Z39.50 DeleteResultSet
-
Request(int, int, String[])
- Creates a Z39.50 DeleteResultSetRequest
-
Request(int, int, String[], int, int)
- Creates a Z39.50 DeleteResultSetRequest
-
Response(BerString)
- Processes a Z39.50 DeleteResponse.
-
Response(DataDir)
-
-
toBer()
- BER encodes the Z39.50 Delete Request
-
toBerString()
- Creates a Z39.50 DeleteRequest BerString given that all the initclass request are
already set up.
-
toBerString(int, int)
- Creates a Z39.50 DeleteRequest BerString given that all the initclass request are
already set up
-
toString()
-
referenceId
public int referenceId
- Value passed to Request and returned by a target Z39.50 server and
Response stores it here
deleteFunction
public int deleteFunction
- Specified by the origin. Request to delete all results set or just
a specified list of results sets
resultSetList
public String resultSetList[]
- If the deleteFunction is 'list', then this is the list
deleteOperationStatus
public int deleteOperationStatus
- Returned by the target
deleteListStatuses
public int deleteListStatuses[]
- If the deleteFunction was 'list', then these are statuses for each list
numberNotDeleted
public int numberNotDeleted
- If the deleteFunction was 'bulk' and some were not delete, the target
fills this in
deleteMessage
public String deleteMessage
- Optional text message from the target
zsession
public Z39session zsession
- Z39session
Z39delete
public Z39delete()
Z39delete
public Z39delete(Z39session z)
doDelete
public boolean doDelete(int referenceId,
int deleteFunction,
String resultSetList[]) throws Exception
- Creates, Issues, and Processes a Z39.50 DeleteResultSet
- Parameters:
- referenceId - Will be returned on Response and allows Requests
and responses to be matched up by the application.
- deleteFunction - See Z39.50 Specification.
- resultSetList - See Z39.50 Specification.
- Returns:
- boolean indicating whether the command was a success or failure
- Throws: Exception
- exceptions from Z39Connect
Request
public final BerString Request(int referenceId,
int deleteFunction,
String resultSetList[])
- Creates a Z39.50 DeleteResultSetRequest
- Parameters:
- referenceId - Will be returned on Response and allows Requests
and responses to be matched up by the application.
- deleteFunction - See Z39.50 Specification.
- resultSetList - See Z39.50 Specification.
- Returns:
- BerString containing Request or null if space was unavailable
Request
public final BerString Request(int referenceId,
int deleteFunction,
String resultSetList[],
int extraLen,
int offset)
- Creates a Z39.50 DeleteResultSetRequest
- Parameters:
- referenceId - Will be returned on Response and allows Requests
and responses to be matched up by the application.
- deleteFunction - See Z39.50 Specification.
- resultSetList - See Z39.50 Specification.
- extraLen - Allow this much extra room in the built BER record.
- offset - Build the Request at this offset in the BerString
- Returns:
- BerString containing Request or null if space was unavailable
toBerString
public BerString toBerString()
- Creates a Z39.50 DeleteRequest BerString given that all the initclass request are
already set up.
- Returns:
- BerString containing Request or null if space was unavailable
toBerString
public BerString toBerString(int extraLen,
int offset)
- Creates a Z39.50 DeleteRequest BerString given that all the initclass request are
already set up
- Parameters:
- extraLen - Allow this much extra room in the built BER return record.
- offset - Build the Request at this offset in the BerString
- Returns:
- BerString containing Request or null if space was unavailable
toBer
public BerString toBer()
- BER encodes the Z39.50 Delete Request
- Returns:
- BerString containing Request or null if space was unavailable
Response
public void Response(BerString response)
- Processes a Z39.50 DeleteResponse.
- Parameters:
- response - BerString containing response.
Response
public void Response(DataDir response)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index