|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.messages.SIP2Message
com.pkrete.jsip2.messages.SIP2MessageRequest
com.pkrete.jsip2.messages.requests.SIP2CirculationTransactionRequest
com.pkrete.jsip2.messages.requests.SIP2CheckoutRequest
public class SIP2CheckoutRequest
This class represents the message that is used to checkout an item, and also
to cancel a SIP2CheckinRequest that did not
succesfully complete. The ILS SIP server must respond with the
SIP2CheckoutResponse message.
This class extends the abstract SIP2CirculationTransactionRequest
class.
| Field Summary |
|---|
| Fields inherited from class com.pkrete.jsip2.messages.requests.SIP2CirculationTransactionRequest |
|---|
cancel, nbDueDate, noBlock, useCancel |
| Fields inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
counter, errorDetectionEnabled, feeAcknowledged, patronPassword, terminalPassword, useFeeAcknowledged |
| 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 |
| Constructor Summary | |
|---|---|
SIP2CheckoutRequest(String patronId,
String itemId)
Constructs and initializes a new SIP2CheckoutRequest object with the given values. |
|
SIP2CheckoutRequest(String institutionId,
String patronId,
String itemId)
Constructs and initializes a new SIP2CheckoutRequest object with the given values. |
|
SIP2CheckoutRequest(String institutionId,
String patronId,
String patronPassword,
String itemId)
Constructs and initializes a new SIP2CheckoutRequest object with the given values. |
|
SIP2CheckoutRequest(String institutionId,
String terminalPassword,
String patronId,
String patronPassword,
String itemId)
Constructs and initializes a new SIP2CheckoutRequest object with the given values. |
|
| Method Summary | |
|---|---|
String |
getData()
Returns a string presentation of the message. |
boolean |
isScRenewalPolicy()
Returns true if and only if the system has been configured to do renewals, otherwise return false. |
void |
setScRenewalPolicy(boolean scRenewalPolicy)
Changes the boolean value that tells if the system does renewals. |
| Methods inherited from class com.pkrete.jsip2.messages.requests.SIP2CirculationTransactionRequest |
|---|
getNbDueDate, isCancel, isNoBlock, isUseCancel, setCancel, setNbDueDate, setNoBlock, setUseCancel |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
getCheckSum, getPatronPassword, getTerminalPassword, isErrorDetectionEnabled, isFeeAcknowledged, isUseFeeAcknowledged, setErrorDetectionEnabled, setFeeAcknowledged, setPatronPassword, setTerminalPassword, setUseFeeAcknowledged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIP2CheckoutRequest(String patronId,
String itemId)
patronId - an identifying value for the patronitemId - an identifying value for the item
public SIP2CheckoutRequest(String institutionId,
String patronId,
String itemId)
institutionId - library's institution idpatronId - an identifying value for the patronitemId - an identifying value for the item
public SIP2CheckoutRequest(String institutionId,
String patronId,
String patronPassword,
String itemId)
institutionId - library's institution idpatronId - an identifying value for the patronpatronPassword - password (PIN) of the patronitemId - an identifying value for the item
public SIP2CheckoutRequest(String institutionId,
String terminalPassword,
String patronId,
String patronPassword,
String itemId)
institutionId - library's institution idterminalPassword - password to login the ILSpatronId - an identifying value for the patronpatronPassword - password (PIN) of the patronitemId - an identifying value for the item| Method Detail |
|---|
public boolean isScRenewalPolicy()
public void setScRenewalPolicy(boolean scRenewalPolicy)
scRenewalPolicy - new valuepublic String getData()
SIP2Message
getData in class SIP2Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||