com.ibm.commerce.me.datatype
Class RequisitionerSessionData

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

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, apporval URL, status URL, protocol ID, buyer code type, supplier code type.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright field
 
Constructor Summary
RequisitionerSessionData()
          Default constructor of RequisitionerSessionData, it sets the creation time to the current system time.
 
Method Summary
 java.lang.String getBuyerCodeType()
          Gets the type for buyer code
 long getCreationTime()
          Gets the creation time for this class instance
  TypedProperty getCustomSessionProperties()
          Gets the custom session properties
 java.lang.String getOrderApprovalURL()
          Gets the order approval URL
 java.lang.String getOrderStatusURL()
          Gets the order status URL
 java.lang.Integer getProcurementProtocolId()
          Gets the procurement protocol IDs
 java.lang.String getProcurementSessionCookie()
          Gets the procurement session cookie
 java.lang.String getProcurementSessionCookieType()
          Gets the procurement session cookie type
 java.lang.String getSupplierCodeType()
          Gets the supplier code type
 void setBuyerCodeType(java.lang.String aBuyerCodeType)
          Sets the buyer code type
 void setCreationTime(long newCreationTime)
          Sets the creation time
 void setCustomSessionProperties( TypedProperty sessionProperties)
          Sets the custom session properties
 void setOrderApprovalURL(java.lang.String postBackURL)
          Sets the order approval URL
 void setOrderStatusURL(java.lang.String statusURL)
          Sets the order status URL
 void setProcurementProtocolId(java.lang.Integer procId)
          Sets the procurement protocol ID
 void setProcurementSessionCookie(java.lang.String cookie)
          Sets the procurement session cookie
 void setProcurementSessionCookieType(java.lang.String cookieType)
          Sets the procurement session cookie type
 void setSupplierCodeType(java.lang.String aSupplierCodeType)
          Sets the supplier code type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

RequisitionerSessionData

public RequisitionerSessionData()
Default constructor of RequisitionerSessionData, it sets the creation time to the current system time.
Method Detail

getBuyerCodeType

public java.lang.String getBuyerCodeType()
Gets the type for buyer code
Returns:
the buyer code type

getCreationTime

public long getCreationTime()
Gets the creation time for this class instance
Returns:
the long representation of the time when this class instance is created

getCustomSessionProperties

public TypedProperty getCustomSessionProperties()
Gets the custom session properties
Returns:
a set of NVP containing custom attributes not mapped to any class variables

getOrderApprovalURL

public java.lang.String getOrderApprovalURL()
Gets the order approval URL
Returns:
the order approval URL

getOrderStatusURL

public java.lang.String getOrderStatusURL()
Gets the order status URL
Returns:
the order status URL

getProcurementProtocolId

public java.lang.Integer getProcurementProtocolId()
Gets the procurement protocol IDs
Returns:
the procurement protocol ID

getProcurementSessionCookie

public java.lang.String getProcurementSessionCookie()
Gets the procurement session cookie
Returns:
the procurement session cookie

getProcurementSessionCookieType

public java.lang.String getProcurementSessionCookieType()
Gets the procurement session cookie type
Returns:
the type of the procurement session cookie

getSupplierCodeType

public java.lang.String getSupplierCodeType()
Gets the supplier code type
Returns:
the type of suppler code

setBuyerCodeType

public void setBuyerCodeType(java.lang.String aBuyerCodeType)
Sets the buyer code type
Parameters:
aBuyerCodeType - The type of the buyer code

setCreationTime

public void setCreationTime(long newCreationTime)
Sets the creation time
Parameters:
newCreationTime - the long representation of the creation time

setCustomSessionProperties

public void setCustomSessionProperties(TypedProperty sessionProperties)
Sets the custom session properties
Parameters:
sessionProperties - the NVP cotaining attributes that is not not mapped to any class variables

setOrderApprovalURL

public void setOrderApprovalURL(java.lang.String postBackURL)
Sets the order approval URL
Parameters:
postBackURL - the order approval URL

setOrderStatusURL

public void setOrderStatusURL(java.lang.String statusURL)
Sets the order status URL
Parameters:
statusURL - the order status URL

setProcurementProtocolId

public void setProcurementProtocolId(java.lang.Integer procId)
Sets the procurement protocol ID
Parameters:
procId - the new procurement protocol ID

setProcurementSessionCookie

public void setProcurementSessionCookie(java.lang.String cookie)
Sets the procurement session cookie
Parameters:
cookie - the new procurement session cookie

setProcurementSessionCookieType

public void setProcurementSessionCookieType(java.lang.String cookieType)
Sets the procurement session cookie type

setSupplierCodeType

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