com.pkrete.jsip2.messages.requests
Class SIP2EndPatronSessionRequest
java.lang.Object
com.pkrete.jsip2.messages.SIP2Message
com.pkrete.jsip2.messages.SIP2MessageRequest
com.pkrete.jsip2.messages.requests.SIP2EndPatronSessionRequest
- All Implemented Interfaces:
- Serializable
public class SIP2EndPatronSessionRequest
- extends SIP2MessageRequest
This class represents the message that is sent when a patron has completed
all their transactions. The ILS may, upon receipt of this command, close
any open files or deallocate data structures pertaining to that patron.
The ILS should respond with SIP2EndSessionResponse
message.
- Author:
- Petteri Kivimäki
- See Also:
- Serialized Form
| Fields inherited from class com.pkrete.jsip2.messages.SIP2Message |
bibId, checkSum, code, currencyType, currentLocation, expirationDate, feeAmount, feeType, institutionId, itemIdentifier, itemProperties, patronIdentifier, pickupLocation, sequence, titleIdentifier, transactionDate, transactionId |
|
Method Summary |
String |
getData()
Returns a string presentation of the message. |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
getCheckSum, getPatronPassword, getTerminalPassword, isErrorDetectionEnabled, isFeeAcknowledged, isUseFeeAcknowledged, setErrorDetectionEnabled, setFeeAcknowledged, setPatronPassword, setTerminalPassword, setUseFeeAcknowledged |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2Message |
getBibId, getCode, getCurrencyType, getCurrentLocation, getExpirationDate, getFeeAmount, getFeeType, getInstitutionId, getItemIdentifier, getItemProperties, getPatronIdentifier, getPickupLocation, getSequence, getTitleIdentifier, getTransactionDate, getTransactionId, isChecksum, isSequence, setBibId, setCheckSum, setCode, setCurrencyType, setCurrentLocation, setExpirationDate, setFeeAmount, setFeeType, setInstitutionId, setItemIdentifier, setItemProperties, setPatronIdentifier, setPickupLocation, setSequence, setTitleIdentifier, setTransactionDate, setTransactionId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIP2EndPatronSessionRequest
public SIP2EndPatronSessionRequest(String institutionId,
String patronId)
- Constructs and initializes a new SIP2EndPatronSessionRequest object
with the given values.
- Parameters:
institutionId - library's institution idpatronId -
SIP2EndPatronSessionRequest
public SIP2EndPatronSessionRequest(String institutionId,
String terminalPasswd,
String patronId,
String patronPasswd)
- Constructs and initializes a new SIP2EndPatronSessionRequest object
with the given values.
- Parameters:
institutionId - library's institution idterminalPasswd - password to login the ILSpatronId - an identifying value for the patronpatronPasswd - password (PIN) of the patron
getData
public String getData()
- Description copied from class:
SIP2Message
- Returns a string presentation of the message.
- Specified by:
getData in class SIP2Message
- Returns:
- string presentation of the message
Copyright © 2012-2014. All Rights Reserved.