Open SiteSearch 4.1.1
Final

ORG.oclc.webz
Class ILLServer

java.lang.Object
  |
  +--ORG.oclc.webz.ILLServer

public class ILLServer
extends Object
implements ServerConnect

The ILLServer class maintains configuration for an ILL Server input from the JaSSI configuration file. This information is used to customize access to the server. The class provides methods to retrieve the configuration information for the object.

See Also:
Log

Field Summary
protected  String affiliations
          String data type indicating default Affiliations.
protected  String autho
          String data type containing the default authorization for ILL.
protected  String billingAcctNum
          String data type indicating the default Library Billing Info: Account Number.
protected  String billingAddress
          String data type indicating the default Library Billing Info: Address (Street).
protected  String billingCity
          String data type indicating the default Library Billing Info: City.
protected  String billingCountry
          String data type indicating the default Library Billing Info: Country.
protected  String billingCurrencyCode
          String data type indicating the default Library Billing Info: Currency Code.
protected  String billingExtendedAddress
          String data type indicating the default Library Billing Info: ExtendedAddress.
protected  String billingMonetaryValue
          String data type indicating the default Library Billing Info: Maximum Cost to pay for an item.
protected  String billingName
          String data type indicating the default Library Billing Info: Name.
protected  String billingPoBox
          String data type indicating the default Library Billing Info: PoBox.
protected  String billingRegion
          String data type indicating the default Library Billing Info: Region(State).
protected  String billingZip
          String data type indicating the default Library Billing Info: Zip.
protected  boolean changeSendTo
          boolean data type indicating if the server is allowed to change the sendToList.
protected  String copyrightCompliance
          String data type indicating the default Copyright Compliance code.
protected  String defaultService
          String data type containing the default IllService type.
protected  String deliveryAddress
          String data type indicating the default Library Delivery Info: Address (Street).
protected  String deliveryCity
          String data type indicating the default Library Delivery Info: City.
protected  String deliveryCountry
          String data type indicating the default Library Delivery Info: Country.
protected  String deliveryEMail
          String data type indicating the default Library Delivery Info: E-Mail.
protected  String deliveryEService
          String data type indicating the default Library Delivery Info: Electronic Delivery Service.
protected  String deliveryExtendedAddress
          String data type indicating the default Library Delivery Info: ExtendedAddress.
protected  String deliveryFax
          String data type indicating the default Library Delivery Info: Fax.
protected  String deliveryName
          String data type indicating the default Library Delivery Info: Name.
protected  String deliveryPoBox
          String data type indicating the default Library Delivery Info: PoBox.
protected  String deliveryRegion
          String data type indicating the default Library Delivery Info: Region(State).
protected  String deliveryService
          String data type indicating the default Library Delivery Info: Service.
protected  String deliveryZip
          String data type indicating the default Library Delivery Info: Zip.
protected  String emailFrom
          String data type indicating the ILL email from.
protected  String emailMessage
          String data type indicating the ILL email message
protected  String emailServer
          String data type indicating the email server.
protected  String emailSubject
          String data type indicating the ILL email subject
protected  String hostName
          String data type containing the hostname for client connections.
protected  String ILLemail
          String data type indicating the ILL email address.
protected  String ILLMIMEemail
          String data type indicating the ILL email address.
protected  String inifile
          String data type containing the name of the Configuration file.
protected  String instSym
          String data type containing the default Institution Symbol for ILL.
protected  String MIMEemail
          String data type indicating the ILL email address.
protected  String MIMEemailFrom
          String data type indicating the originator of message
protected  String MIMEemailMessage
          String data type indicating the ILL email message contents.
protected  String MIMEemailReplyto
          String data type indicating the email reply to address
protected  String MIMEemailSender
          String data type indicating the ILL email sender
protected  String MIMEemailSubject
          String data type indicating the email subject.
protected  String needBeforeDate
          String data type indicating the default NeedBeforeDate.
protected  int oclcIllServiceType
          integer data type indicating the default Oclc Iso ILL Service Type
("directToProfile"=1, "directToLender"=2, "directToReview"=3).
protected  int orderPreference
          integer data type indicating the default Order Preference
("ORDERED"=1, "UNORDERED"=2).
protected  String password
          String data type containing the default password for ILL.
protected  int reauthoThreshold
          integer data type containing the number of IllRequests to process before requiring the user to re-authorize.
protected  String requesterNote
          String data type indicating the default Requester Note.
protected  String responderId
          String data type defining the Name to go in the ResponderId
protected  String serverName
          String datatype containing the name of the server.
protected  int serverPort
          integer data type containing the port for client connections.
protected  String serverType
          String data type defining the type of server = "IsoILL".
protected  String source
          String data type indicating the default Source.
 
Constructor Summary
ILLServer()
          Constructs an ILLServer object.
ILLServer(String name, IniFile ini)
          Constructs an ILLServer object by reading server configuration information from the input iniFile.
ILLServer(String name, String host, int port)
          Constructs an ILLServer object for the input server name, host, and port.
 
Method Summary
 String affiliations()
          Returns a String containing the default Affiliations.
 String autho()
          Returns a String containing the Default authorization for ILL.
 boolean changeSendTo()
          Returns a boolean indicating whether to allow change of the sendToList.
 String copyrightCompliance()
          Returns a String containing the Default Copyright Compliance data.
 String defaultService()
          Returns a String containing the default IllService type.
 String hostName()
          Returns a String containing the name of the host.
 void init(String name, IniFile ini)
          Initializes the ILL Server object for the input server name by reading server configuration information from the input iniFile object.
 String instSym()
          Returns a String containing the default Institution Symbol for ILL.
 String needBeforeDate()
          Returns a String containing the NeedBefore Date.
 int oclcIllServiceType()
          Returns an integer containing the Default Oclc Iso ILL Service Type
("directToProfile"=1, "directToLender"=2, "directToReview"=3).
 int orderPreference()
          Returns an integer containing the default Order Preference
("ORDERED=1", "UNORDERED=2").
 String password()
          Returns a String containing the Default password for ILL.
 int reauthoThreshold()
          Returns an integer containing the number of IllRequests to process before re-authorization.
 String requesterNote()
          Returns a String containing the Requester Note.
 String serverName()
          Returns a String containing the name of the server.
 int serverPort()
          Returns an int containing the port for connections.
 String serverType()
          Returns a String containing the type classification of the server.
 String source()
          Returns a String containing the default Source.
 String toString()
          Generates the String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serverName

protected String serverName
String datatype containing the name of the server.

serverPort

protected int serverPort
integer data type containing the port for client connections.

hostName

protected String hostName
String data type containing the hostname for client connections.

serverType

protected String serverType
String data type defining the type of server = "IsoILL".

responderId

protected String responderId
String data type defining the Name to go in the ResponderId

inifile

protected String inifile
String data type containing the name of the Configuration file.

autho

protected String autho
String data type containing the default authorization for ILL.

password

protected String password
String data type containing the default password for ILL.

instSym

protected String instSym
String data type containing the default Institution Symbol for ILL.

defaultService

protected String defaultService
String data type containing the default IllService type.

reauthoThreshold

protected int reauthoThreshold
integer data type containing the number of IllRequests to process before requiring the user to re-authorize.

changeSendTo

protected boolean changeSendTo
boolean data type indicating if the server is allowed to change the sendToList.

orderPreference

protected int orderPreference
integer data type indicating the default Order Preference
("ORDERED"=1, "UNORDERED"=2).

oclcIllServiceType

protected int oclcIllServiceType
integer data type indicating the default Oclc Iso ILL Service Type
("directToProfile"=1, "directToLender"=2, "directToReview"=3).

affiliations

protected String affiliations
String data type indicating default Affiliations.

source

protected String source
String data type indicating the default Source.

copyrightCompliance

protected String copyrightCompliance
String data type indicating the default Copyright Compliance code.

needBeforeDate

protected String needBeforeDate
String data type indicating the default NeedBeforeDate.

requesterNote

protected String requesterNote
String data type indicating the default Requester Note.

deliveryName

protected String deliveryName
String data type indicating the default Library Delivery Info: Name.

deliveryExtendedAddress

protected String deliveryExtendedAddress
String data type indicating the default Library Delivery Info: ExtendedAddress.

deliveryAddress

protected String deliveryAddress
String data type indicating the default Library Delivery Info: Address (Street).

deliveryPoBox

protected String deliveryPoBox
String data type indicating the default Library Delivery Info: PoBox.

deliveryCity

protected String deliveryCity
String data type indicating the default Library Delivery Info: City.

deliveryRegion

protected String deliveryRegion
String data type indicating the default Library Delivery Info: Region(State).

deliveryZip

protected String deliveryZip
String data type indicating the default Library Delivery Info: Zip.

deliveryCountry

protected String deliveryCountry
String data type indicating the default Library Delivery Info: Country.

deliveryFax

protected String deliveryFax
String data type indicating the default Library Delivery Info: Fax.

deliveryEMail

protected String deliveryEMail
String data type indicating the default Library Delivery Info: E-Mail.

deliveryService

protected String deliveryService
String data type indicating the default Library Delivery Info: Service.

deliveryEService

protected String deliveryEService
String data type indicating the default Library Delivery Info: Electronic Delivery Service.

billingName

protected String billingName
String data type indicating the default Library Billing Info: Name.

billingExtendedAddress

protected String billingExtendedAddress
String data type indicating the default Library Billing Info: ExtendedAddress.

billingAddress

protected String billingAddress
String data type indicating the default Library Billing Info: Address (Street).

billingPoBox

protected String billingPoBox
String data type indicating the default Library Billing Info: PoBox.

billingCity

protected String billingCity
String data type indicating the default Library Billing Info: City.

billingRegion

protected String billingRegion
String data type indicating the default Library Billing Info: Region(State).

billingZip

protected String billingZip
String data type indicating the default Library Billing Info: Zip.

billingCountry

protected String billingCountry
String data type indicating the default Library Billing Info: Country.

billingAcctNum

protected String billingAcctNum
String data type indicating the default Library Billing Info: Account Number.

billingCurrencyCode

protected String billingCurrencyCode
String data type indicating the default Library Billing Info: Currency Code.

billingMonetaryValue

protected String billingMonetaryValue
String data type indicating the default Library Billing Info: Maximum Cost to pay for an item.

ILLemail

protected String ILLemail
String data type indicating the ILL email address.

emailServer

protected String emailServer
String data type indicating the email server.

emailFrom

protected String emailFrom
String data type indicating the ILL email from.

emailSubject

protected String emailSubject
String data type indicating the ILL email subject

ILLMIMEemail

protected String ILLMIMEemail
String data type indicating the ILL email address.

MIMEemail

protected String MIMEemail
String data type indicating the ILL email address.

MIMEemailFrom

protected String MIMEemailFrom
String data type indicating the originator of message

MIMEemailSubject

protected String MIMEemailSubject
String data type indicating the email subject.

MIMEemailMessage

protected String MIMEemailMessage
String data type indicating the ILL email message contents.

MIMEemailReplyto

protected String MIMEemailReplyto
String data type indicating the email reply to address

MIMEemailSender

protected String MIMEemailSender
String data type indicating the ILL email sender

emailMessage

protected String emailMessage
String data type indicating the ILL email message
Constructor Detail

ILLServer

public ILLServer()
Constructs an ILLServer object.

ILLServer

public ILLServer(String name,
                 String host,
                 int port)
Constructs an ILLServer object for the input server name, host, and port.
Parameters:
name - the name of the ill Server
host - the hostname to connect to
port - the port to connect to

ILLServer

public ILLServer(String name,
                 IniFile ini)
Constructs an ILLServer object by reading server configuration information from the input iniFile.
Parameters:
name - the name of the Iso ILL Server
ini - the JaSSI configuration ini file
Method Detail

init

public void init(String name,
                 IniFile ini)
Initializes the ILL Server object for the input server name by reading server configuration information from the input iniFile object.
Specified by:
init in interface ServerConnect
Parameters:
name - the name of the Server
ini - the JaSSI configuration ini file

serverName

public String serverName()
Returns a String containing the name of the server.
Specified by:
serverName in interface ServerConnect
Returns:
String

serverPort

public int serverPort()
Returns an int containing the port for connections.
Specified by:
serverPort in interface ServerConnect
Returns:
int

hostName

public String hostName()
Returns a String containing the name of the host.
Specified by:
hostName in interface ServerConnect
Returns:
String

serverType

public String serverType()
Returns a String containing the type classification of the server.
Specified by:
serverType in interface ServerConnect
Returns:
String "IsoILL"

autho

public String autho()
Returns a String containing the Default authorization for ILL.
Returns:
String

password

public String password()
Returns a String containing the Default password for ILL.
Returns:
String

instSym

public String instSym()
Returns a String containing the default Institution Symbol for ILL.
Returns:
String

defaultService

public String defaultService()
Returns a String containing the default IllService type.
Returns:
String

reauthoThreshold

public int reauthoThreshold()
Returns an integer containing the number of IllRequests to process before re-authorization.
Returns:
int

changeSendTo

public boolean changeSendTo()
Returns a boolean indicating whether to allow change of the sendToList.
Returns:
boolean

orderPreference

public int orderPreference()
Returns an integer containing the default Order Preference
("ORDERED=1", "UNORDERED=2").
Returns:
int

oclcIllServiceType

public int oclcIllServiceType()
Returns an integer containing the Default Oclc Iso ILL Service Type
("directToProfile"=1, "directToLender"=2, "directToReview"=3).
Returns:
int

affiliations

public String affiliations()
Returns a String containing the default Affiliations.
Returns:
String

source

public String source()
Returns a String containing the default Source.
Returns:
String

copyrightCompliance

public String copyrightCompliance()
Returns a String containing the Default Copyright Compliance data.
Returns:
String

requesterNote

public String requesterNote()
Returns a String containing the Requester Note.
Returns:
String

needBeforeDate

public String needBeforeDate()
Returns a String containing the NeedBefore Date.
Returns:
String

toString

public String toString()
Generates the String representation of the object.
Specified by:
toString in interface ServerConnect
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final