public class RequisitionerSessionTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Hashtable | cache
A table containing all the requisitioner session data
|
static java.lang.String | COPYRIGHT
IBM Copyright field
|
protected static RequisitionerSessionTable | singleton
A singleton instance of the current class
|
Modifier and Type | Method and Description |
---|---|
void | addElement(java.lang.Long userId, java.lang.Object reqSession)
This method adds an instance of RequisitionerSessionData to the table.
|
RequisitionerSessionData | find(java.lang.Long userId)
This method returns an instance of RequisitionerSessionData based on user ID.
|
void | removeAllElements()
This method removes all stored instances of RequisitionerSessionData from the table.
|
void | removeElement(java.lang.Long userId)
This method removes an instance of RequisitionerSessionData based on user ID (as a key)
|
static RequisitionerSessionTable | singleton()
This creates a singleton instance of the RequisitionerSessoinTable
|
public static final java.lang.String COPYRIGHT
protected java.util.Hashtable cache
protected static RequisitionerSessionTable singleton
public void addElement(java.lang.Long userId, java.lang.Object reqSession)
public RequisitionerSessionData find(java.lang.Long userId)
public void removeAllElements()
public void removeElement(java.lang.Long userId)
public static RequisitionerSessionTable singleton()