|
||||||||||
| 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
public abstract class SIP2CirculationTransactionRequest
This abstract class is a base class of the
SIP2CheckoutRequest and the
SIP2CheckinRequest classes.
| Field Summary | |
|---|---|
protected boolean |
cancel
Should be set to true for a checkout command being used to cancel a failed checkin command, or for a checkin command being used to cancel a failed chakout command. |
protected String |
nbDueDate
No block due date items were given during off-line operation. 18-char, fixed-length field: YYYYMMDDZZZZHHMMSS. |
protected boolean |
noBlock
Notifies the ILS SIP server that the item was already checked in or out while while the SIP server wasn't on-line. |
protected boolean |
useCancel
Tells if cancel field show be added to the request, as the field is optional. |
| 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 | |
|---|---|
protected |
SIP2CirculationTransactionRequest(String code)
Constructs and initializes a new SIP2CirculationTransactionRequestt with the given command code. |
| Method Summary | |
|---|---|
String |
getNbDueDate()
Returns the no block due date items were given during off-line operation. 18-char, fixed-length field: YYYYMMDDZZZZHHMMSS |
boolean |
isCancel()
Returns true if and only if the checkout command is used to cancel a failed checkin command. |
boolean |
isNoBlock()
Returns true if and only if the transaction happened when the ILS SIP server was off-line. |
boolean |
isUseCancel()
Returns true if and only if the cancel field should be added to the request. |
void |
setCancel(boolean cancel)
Sets the value that tells if the checkout command is used to cancel a failed checkin command. |
void |
setNbDueDate(String nbDueDate)
Sets the no block due date items were given during off-line operation. 18-char, fixed-length field: YYYYMMDDZZZZHHMMSS. |
void |
setNoBlock(boolean noBlock)
Changes the boolean value that tells if the transaction happened when the ILS SIP server was off-line. |
void |
setUseCancel(boolean useCancel)
Sets the value that tells if the cancel field should be added to the request. |
| 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 |
| Field Detail |
|---|
protected boolean noBlock
protected boolean cancel
protected boolean useCancel
protected String nbDueDate
| Constructor Detail |
|---|
protected SIP2CirculationTransactionRequest(String code)
code - command code| Method Detail |
|---|
public boolean isNoBlock()
public void setNoBlock(boolean noBlock)
noBlock - new valuepublic boolean isCancel()
public void setCancel(boolean cancel)
cancel - new valuepublic boolean isUseCancel()
public void setUseCancel(boolean useCancel)
useCancel - new valuepublic String getNbDueDate()
public void setNbDueDate(String nbDueDate)
nbDueDate - new due date (18-char,
fixed-length field: YYYYMMDDZZZZHHMMSS)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||