|
||||||||||
| 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.SIP2HoldRequest
public class SIP2HoldRequest
This class represents the message that can is used to create, modify, or delete
a hold. The ILS should respond with a SIP2HoldResponse
message. Either or both of the item identifier and title identifier fields must
be present for the message to be useful.
| Field Summary |
|---|
| 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 | |
|---|---|
SIP2HoldRequest(String patronId)
Constructs and initializes a new SIP2HoldRequest object with the given values. |
|
SIP2HoldRequest(String patronId,
String itemId)
Constructs and initializes a new SIP2HoldRequest object with the given values. |
|
SIP2HoldRequest(String patronId,
String itemId,
String titleId)
Constructs and initializes a new SIP2HoldRequest object with the given values. |
|
SIP2HoldRequest(String institutionId,
String patronId,
String itemId,
String titleId)
Constructs and initializes a new SIP2HoldRequest object with the given values. |
|
| Method Summary | |
|---|---|
String |
getData()
Returns a string presentation of the message. |
HoldMode |
getHoldMode()
Returns the type of the hold transaction: create, delete or modify. |
HoldType |
getHoldType()
Returns the type of the hold: other, any copy, specific copy or any copy at a single branch or sublocation. |
void |
setHoldMode(HoldMode holdMode)
Sets the type of the hold transaction: create, delete or modify. |
void |
setHoldType(HoldType holdType)
Sets the type of the hold: other, any copy, specific copy or any copy at a single branch or sublocation. |
| 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 SIP2HoldRequest(String patronId)
patronId - an identifying value for the patron
public SIP2HoldRequest(String patronId,
String itemId)
patronId - an identifying value for the patronitemId - an identifying value for the item
public SIP2HoldRequest(String patronId,
String itemId,
String titleId)
patronId - an identifying value for the patronitemId - an identifying value for the itemtitleId - an identifying value for the title
public SIP2HoldRequest(String institutionId,
String patronId,
String itemId,
String titleId)
institutionId - library's institution idpatronId - an identifying value for the patronitemId - an identifying value for the itemtitleId - an identifying value for the title| Method Detail |
|---|
public HoldMode getHoldMode()
public void setHoldMode(HoldMode holdMode)
holdMode - new hold modepublic HoldType getHoldType()
public void setHoldType(HoldType holdType)
holdType - new hold typepublic String getData()
SIP2Message
getData in class SIP2Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||