ORG.oclc.webz
Class ILLEmail
java.lang.Object
|
+--ORG.oclc.webz.Verb
|
+--ORG.oclc.webz.ZVerb
|
+--ORG.oclc.webz.ISOILL
|
+--ORG.oclc.webz.ILLEmail
- public class ILLEmail
- extends ISOILL
The ILLEmail class provides the capability to issue an email
request
for an Interlibrary Loan. ILLEmail extends the ISOILL verb, and
inherits most of the processing, such as parsing and validation,
from that class by using the parseParms() and validateParms()
methods from that class.
The ILLEmail class overrides the doILL() method of ISOILL in
order to send and email with labeled items instead of a BER-
encoded message. It uses the buildMsg() and email() methods
to do this.
- See Also:
FailurePage
,
SuccessPage
,
JavaPage
,
UserStateObject
,
ILLUserData
,
IllSession
,
Log
Fields inherited from class ORG.oclc.webz.ZVerb |
bytesIn,
bytesOut,
dbGroupSearch,
dbname,
fmtClass,
format,
inputQueryInfo,
numrecs,
postings,
ranked,
recno,
resultSetName,
sorting,
tempDb,
traceMsgs,
z39session,
zDb,
zQueryTerm,
zServer,
zUserData |
Method Summary |
protected String |
buildMsg()
Builds the message to email, using the data already
collected in the patron and txn objects. |
protected void |
doILL()
Builds a message to send and then emails it, using the
data already collected in the IllPatronInfo and IllTxnInfo
objects. |
protected void |
email(String inmsg)
E-mails a message, using the email address in
patron.ILLemail, using iUserData.illSession().emailSubject,
iUserData.illSession().emailFrom, and
iUserData.illSession().emailMessage. |
ILLEmail
public ILLEmail()
doILL
protected void doILL()
throws FailurePage
- Builds a message to send and then emails it, using the
data already collected in the IllPatronInfo and IllTxnInfo
objects. Bumps the ILL counter in the ILLUserData object.
- Throws:
- FailurePage - the ILLEmail string is invalid
or connection fails
- Overrides:
- doILL in class ISOILL
- See Also:
IllPatronInfo
,
IllTxnInfo
,
ILLUserData
email
protected void email(String inmsg)
- E-mails a message, using the email address in
patron.ILLemail, using iUserData.illSession().emailSubject,
iUserData.illSession().emailFrom, and
iUserData.illSession().emailMessage.
- Parameters:
inmsg
- the String object.- See Also:
IllPatronInfo
,
ILLUserData
,
IllSession
buildMsg
protected String buildMsg()
- Builds the message to email, using the data already
collected in the patron and txn objects.
- Returns:
- String the message as it will appear in the
email message.
- See Also:
IllPatronInfo
,
IllTxnInfo