com.ibm.commerce.me.datatype

Class RequisitionerSessionTable

  • java.lang.Object
    • com.ibm.commerce.me.datatype.RequisitionerSessionTable


  • public class RequisitionerSessionTable
    extends java.lang.Object
    A table storing the RequistionerSessionData based on user ID
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright field
        See Also:
        Constant Field Values
    • Method Detail

      • addElement

        public void addElement(java.lang.Long userId,
                               java.lang.Object reqSession)
        This method adds an instance of RequisitionerSessionData to the table.
        Parameters:
        userId - the user ID used as a key for the RequistionerSessionData
        reqSession - the RequistionerSessionData to be added to the table
        See Also:
        com.ibm.commerce.me.datatype
      • find

        public RequisitionerSessionData find(java.lang.Long userId)
        This method returns an instance of RequisitionerSessionData based on user ID.
        Parameters:
        userId - the user ID used to identify an instance of RequisitionerSessionData
        Returns:
        the session data for the requisitioning person
        See Also:
        com.ibm.commerce.me.datatype
      • removeAllElements

        public void removeAllElements()
        This method removes all stored instances of RequisitionerSessionData from the table.
      • removeElement

        public void removeElement(java.lang.Long userId)
        This method removes an instance of RequisitionerSessionData based on user ID (as a key)
        Parameters:
        userId - the user ID used as a key to identify an instance of RequisitionerSessionData to be removed
      • singleton

        public static RequisitionerSessionTable singleton()
        This creates a singleton instance of the RequisitionerSessoinTable
        Returns:
        a singleton instance of this class