Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class ESOrder

java.lang.Object
  |
  +--ORG.oclc.z39.ESOrder

public class ESOrder
extends Object
implements ExtSvcHandler

ESOrder creates extended services item order task package and translates responses.


Field Summary
 String city
          City
 String comments
          ILL Patron Comments
 String country
          country code
 String creditCardExpire
          credit card expiration date
 String creditCardName
          name on credit card
 String creditCardNum
          credit card number
 String dateNeeded
          Lastest Date Needed
 String[] dbname
          The dbname(s) for the ES request.
 String eMail
          E-Mail address
 String faxPhone
          Fax Phone number
 String institutionSymbol
          User InstitutionSymbol
 String maxCost
          Maximum ILL Cost
 String name
          Name of person ordering
 String patronDept
          ILL Patron Department
 String patronId
          ILL Patron ID
 String patronName
          ILL Patron Name
 String patronStatus
          ILL Patron Status
 String phone
          Phone number
 String resultSetId
          The resultSetId for the ES request.
 int resultSetStartPosition
          The result set start point for ES types based on result set Id.
 String serviceDate
          service date yyyymmdd
 String serviceTime
          time
 String state
          State/Province
 String street1
          Address line 1
 String street2
          Address line 2
 String zip
          Zip/Postal code
 
Constructor Summary
ESOrder()
          Constructs an ESOrder object.
ESOrder(DataDir tp)
          Constructs and ESOrder object with the input DataDir object.
ESOrder(String resultSet, int startPosition, ESOrderPriceInfo priceInfo)
          Constructs an ESOrder object using the input resultSet, record number position and ESOrderPriceInfo object.
 
Method Summary
 DataDir buildRequest()
          Build the extended services item order request.
 DataDir buildResponse()
          Build the extended services item order response task package.
 void clearOrder()
          Set all the order parameters to null for re-use of object.
 String[] dbname(DataDir taskPackage)
          There are no dbnames with this task package, return null.
 void parseRequest(DataDir request)
          Parse the incoming extended services item order request.
 void parseResponse(DataDir response)
           
 void resetDbname(String name, DataDir taskPackage)
           
 void resetResultSetId(String resultSetName, DataDir taskPackage)
           
 String resultSetId(DataDir taskPackage)
           
 int resultSetStartPosition(DataDir taskPackage)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resultSetId

public String resultSetId
The resultSetId for the ES request.

dbname

public String[] dbname
The dbname(s) for the ES request.

resultSetStartPosition

public int resultSetStartPosition
The result set start point for ES types based on result set Id.

name

public String name
Name of person ordering

serviceDate

public String serviceDate
service date yyyymmdd

serviceTime

public String serviceTime
time

street1

public String street1
Address line 1

street2

public String street2
Address line 2

city

public String city
City

state

public String state
State/Province

zip

public String zip
Zip/Postal code

country

public String country
country code

phone

public String phone
Phone number

faxPhone

public String faxPhone
Fax Phone number

eMail

public String eMail
E-Mail address

creditCardNum

public String creditCardNum
credit card number

creditCardExpire

public String creditCardExpire
credit card expiration date

creditCardName

public String creditCardName
name on credit card

patronName

public String patronName
ILL Patron Name

patronId

public String patronId
ILL Patron ID

patronStatus

public String patronStatus
ILL Patron Status

patronDept

public String patronDept
ILL Patron Department

maxCost

public String maxCost
Maximum ILL Cost

dateNeeded

public String dateNeeded
Lastest Date Needed

comments

public String comments
ILL Patron Comments

institutionSymbol

public String institutionSymbol
User InstitutionSymbol
Constructor Detail

ESOrder

public ESOrder()
Constructs an ESOrder object.

ESOrder

public ESOrder(String resultSet,
               int startPosition,
               ESOrderPriceInfo priceInfo)
Constructs an ESOrder object using the input resultSet, record number position and ESOrderPriceInfo object.

ESOrder

public ESOrder(DataDir tp)
Constructs and ESOrder object with the input DataDir object.
Method Detail

resetResultSetId

public void resetResultSetId(String resultSetName,
                             DataDir taskPackage)
Specified by:
resetResultSetId in interface ExtSvcHandler

resetDbname

public void resetDbname(String name,
                        DataDir taskPackage)
Specified by:
resetDbname in interface ExtSvcHandler

resultSetStartPosition

public int resultSetStartPosition(DataDir taskPackage)
Specified by:
resultSetStartPosition in interface ExtSvcHandler

resultSetId

public String resultSetId(DataDir taskPackage)
Specified by:
resultSetId in interface ExtSvcHandler

dbname

public String[] dbname(DataDir taskPackage)
There are no dbnames with this task package, return null.
Specified by:
dbname in interface ExtSvcHandler

buildRequest

public DataDir buildRequest()
Build the extended services item order request.

parseResponse

public void parseResponse(DataDir response)

buildResponse

public DataDir buildResponse()
Build the extended services item order response task package.

parseRequest

public void parseRequest(DataDir request)
Parse the incoming extended services item order request.

toString

public String toString()
Overrides:
toString in class Object

clearOrder

public void clearOrder()
Set all the order parameters to null for re-use of object. name, street1, street2, city, state, zip, country, phone, faxPhone, eMail, creditCardNum, creditCardExpire, creditCardName, patronName, patronId, patronStatus, patronDept, maxCost, dateNeeded, comments, and institutionSymbol

Open SiteSearch 4.1.1
Final