com.ibm.commerce.me.datatype

Class RequisitionerSessionData

  • java.lang.Object
    • com.ibm.commerce.me.datatype.RequisitionerSessionData
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class RequisitionerSessionData
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Stores session data for a requisitioner such as the session cookie, approval URL, status URL, protocol ID, buyer code type, supplier code type.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • RequisitionerSessionData

        public RequisitionerSessionData()
        The default constructor of RequisitionerSessionData calls its superclass constructor and sets the creation time to the current system time.
    • Method Detail

      • getBuyerCodeType

        public java.lang.String getBuyerCodeType()
        This method gets the buyer code type.
        Returns:
        the buyer code type
      • getCreationTime

        public long getCreationTime()
        This method gets the creation time for this class instance.
        Returns:
        the class instance creation time represented as a long
      • getCustomSessionProperties

        public TypedProperty getCustomSessionProperties()
        This method gets the custom session properties.
        Returns:
        a set of name-value pairs containing custom attributes not mapped to any class variables
      • getOrderApprovalURL

        public java.lang.String getOrderApprovalURL()
        This method gets the order approval URL.
        Returns:
        the order approval URL
      • getOrderStatusURL

        public java.lang.String getOrderStatusURL()
        This method gets the order status URL.
        Returns:
        the order status URL
      • getProcurementProtocolId

        public java.lang.Integer getProcurementProtocolId()
        This method gets the procurement protocol ID.
        Returns:
        the procurement protocol ID
      • getProcurementSessionCookie

        public java.lang.String getProcurementSessionCookie()
        This method gets the procurement session cookie.
        Returns:
        the procurement session cookie
      • getProcurementSessionCookieType

        public java.lang.String getProcurementSessionCookieType()
        This method gets the procurement session cookie type.
        Returns:
        the type of the procurement session cookie
      • getSupplierCodeType

        public java.lang.String getSupplierCodeType()
        This method gets the supplier code type.
        Returns:
        the type of suppler code
      • setBuyerCodeType

        public void setBuyerCodeType(java.lang.String aBuyerCodeType)
        This method sets the buyer code type.
        Parameters:
        aBuyerCodeType - The type of buyer code
      • setCreationTime

        public void setCreationTime(long newCreationTime)
        This method sets the instance creation time.
        Parameters:
        newCreationTime - the long representation of the creation time
      • setCustomSessionProperties

        public void setCustomSessionProperties(TypedProperty sessionProperties)
        This method sets the custom session properties.
        Parameters:
        sessionProperties - the name-value pairs containing attributes that are not mapped to any class variables
      • setOrderApprovalURL

        public void setOrderApprovalURL(java.lang.String postBackURL)
        This method sets the order approval URL.
        Parameters:
        postBackURL - the order approval URL
      • setOrderStatusURL

        public void setOrderStatusURL(java.lang.String statusURL)
        This method sets the order status URL.
        Parameters:
        statusURL - the order status URL
      • setProcurementProtocolId

        public void setProcurementProtocolId(java.lang.Integer procId)
        This method sets the procurement protocol ID.
        Parameters:
        procId - the new procurement protocol ID
      • setProcurementSessionCookie

        public void setProcurementSessionCookie(java.lang.String cookie)
        This method sets the procurement session cookie.
        Parameters:
        cookie - the new procurement session cookie
      • setProcurementSessionCookieType

        public void setProcurementSessionCookieType(java.lang.String cookieType)
        This method sets the procurement session cookie type.
        Parameters:
        cookieType - the new procurement session cookie type
      • setSupplierCodeType

        public void setSupplierCodeType(java.lang.String aSupplierCodeType)
        This method sets the supplier code type.
        Parameters:
        aSupplierCodeType - the new supplier code type