|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.webz.ILLUserData
The ILLUserData class maintains information of all the ILL activity for a user. It also provides methods to find any information about a user's ILL activities and ILL server objects the user has access to.
UserStateObject
,
ILLServer
Constructor Summary | |
ILLUserData()
Constructs an ILLUserData object. |
Method Summary | |
void |
countRequests()
Counts the number of Iso ILL Transactions performed. |
boolean |
countsRequests()
Returns a boolean indicating whether to limit the number of requests between authorizations. |
int |
currentCount()
Returns an integer containing the current number of ILL Transactions performed. |
void |
delete(UserStateObject user)
Cleans up the ILLUserData object for the input UserStateObject by releasing access to any object the class maintains and writes stats out. |
static ILLUserData |
get(UserStateObject user)
Retrieves an ILLUserData object for the input UserStateObject. |
ILLServer |
getILLServer()
Retrieves the ILLServer object. |
IllSession |
illSession()
Retrieves the IllSession object for this user. |
void |
init(UserStateObject user)
Initializes the ILLUserData Information is defaulted from the ILLServer |
boolean |
mustReauthorize()
Returns a boolean indicating whether the user needs to Re-Authorize before issuing another ILL Request. |
int |
reauthoLimit()
Returns an integer containing the total number of ILL Transactions allowed before reauthorization is required. |
void |
resetCount()
Resets the counter for ILL Access |
String |
toString()
Generates a string representation of the object. |
int |
totalCount()
Returns an integer containing the total number of ILL Transactions performed. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ILLUserData()
Method Detail |
public String toString()
public boolean countsRequests()
public void countRequests()
public int totalCount()
public int currentCount()
public int reauthoLimit()
public boolean mustReauthorize()
public void resetCount()
public void init(UserStateObject user)
user
- the UserStateObjectILLServer
public void delete(UserStateObject user)
user
- the UserStateObject that owns this application contextpublic IllSession illSession()
IllSession
public ILLServer getILLServer()
public static ILLUserData get(UserStateObject user)
user
- the user object
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |