public class RequisitionerSessionTable
extends java.lang.Object
RequistionerSessionData
based on user IDModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright field
|
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
public void addElement(java.lang.Long userId, java.lang.Object reqSession)
RequisitionerSessionData
to the table.userId
- the user ID used as a key for the RequistionerSessionData
reqSession
- the RequistionerSessionData
to be added to the tablecom.ibm.commerce.me.datatype
public RequisitionerSessionData find(java.lang.Long userId)
RequisitionerSessionData
based on user ID.userId
- the user ID used to identify an instance of RequisitionerSessionData
com.ibm.commerce.me.datatype
public void removeAllElements()
RequisitionerSessionData
from the table.public void removeElement(java.lang.Long userId)
RequisitionerSessionData
based on user ID (as a key)userId
- the user ID used as a key to identify an instance of RequisitionerSessionData
to be removedpublic static RequisitionerSessionTable singleton()
RequisitionerSessoinTable