Open SiteSearch 4.1.1
Final

ORG.oclc.HoldingServer
Class HoldingInfoServer

java.lang.Object
  |
  +--ORG.oclc.HoldingServer.HoldingInfoServer

public class HoldingInfoServer
extends Object


Field Summary
 int ErrorCode
          The error code of the response.
 String ErrorMsg
          The error message of the response.
 String GroupSymbol
          Provide user's group symbol.
 int HoldingInfoRequestType
          Indicates type of input data provided.
 int HoldingInfoType
          Indicates type of holding data requested.
 char HoldingLevel
          Provide user's holding level information.
 String HoldingState
          Provide user's holding state info
 long InstNum
          Provide user's institution number.
 String InstSymbol
          Provide user's institution symbol.
 String[] ISSNs
          Provides list of ISSNs.
 int[] OCLCRecNos
          Provides list of OCLCRecnos.
 int RequestLength
          The number of bytes in the request.
 int RequestNum
          The number of holding data request.
 int ResponseLength
          The number of bytes in the response.
 int StatusCode
          The status of the response.
 String TransactionID
          Value passed to Response() and returned by the target Holding Server and Request() stores it here.
 
Constructor Summary
HoldingInfoServer()
           
 
Method Summary
 String getTransactionID()
           
 boolean Request(BerString request)
           
 boolean Request(DataDir request)
           
 BerString Response(String transactionId, BerString[] holdingInfo, int statusCode, int errorCode, String errorMsg)
          Generates a Holding Server HoldingInfo Response.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TransactionID

public String TransactionID
Value passed to Response() and returned by the target Holding Server and Request() stores it here.

HoldingInfoRequestType

public int HoldingInfoRequestType
Indicates type of input data provided. Available types are: 1. ByOCLCRecnos, 2. ByISSNs.

OCLCRecNos

public int[] OCLCRecNos
Provides list of OCLCRecnos.

ISSNs

public String[] ISSNs
Provides list of ISSNs.

HoldingInfoType

public int HoldingInfoType
Indicates type of holding data requested. Available types are: 1. InstOwnData, 2. HoldingInfo.

HoldingLevel

public char HoldingLevel
Provide user's holding level information.

InstNum

public long InstNum
Provide user's institution number.

InstSymbol

public String InstSymbol
Provide user's institution symbol.

GroupSymbol

public String GroupSymbol
Provide user's group symbol.

HoldingState

public String HoldingState
Provide user's holding state info

RequestNum

public int RequestNum
The number of holding data request.

StatusCode

public int StatusCode
The status of the response. 1. successfull; 0. failed

ErrorCode

public int ErrorCode
The error code of the response. 0. No errors; < 0. Errors

ErrorMsg

public String ErrorMsg
The error message of the response.

RequestLength

public int RequestLength
The number of bytes in the request.

ResponseLength

public int ResponseLength
The number of bytes in the response.
Constructor Detail

HoldingInfoServer

public HoldingInfoServer()
Method Detail

getTransactionID

public String getTransactionID()

Response

public BerString Response(String transactionId,
                          BerString[] holdingInfo,
                          int statusCode,
                          int errorCode,
                          String errorMsg)
Generates a Holding Server HoldingInfo Response.
Parameters:
transactionId - will be returned on Response.
holdingInfo - contains holding information.
statusCode - indicates if the request was successful.
errorCode - provides error code if there was an error happened.
errorMsg - provides error message if there was an error happened.
Returns:
BerString containing Response or null if space was unavailable

Request

public boolean Request(BerString request)

Request

public boolean Request(DataDir request)

toString

public String toString()
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final