com.ibm.commerce.me.datatype
Class BuyerRequestInfo

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

public class BuyerRequestInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

This class stores the buyer request information once the buyer organization is authenticated.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM Copyright field
Constructor Summary
BuyerRequestInfo()
BuyerRequestInfo default constructor.
Method Summary
java.lang.String getBuyerCodeType()
Getss the buyer code type
long getBuyerOrgEntity_ID()
Gets the Buyer Organization Entity ID
long getCatalogId()
Gets the catalog id
java.lang.Long getContractId()
Gets the contract id
long getCreationTime()
Gets the creation time.
TypedProperty getCustomSessionProperties()
Gets the custom session properties
long getItemId()
Gets the item id
int getLangId()
Gets the language Id for the store
short getLogonMode()
Gets the Logon Mode
long getMemGrpId()
Gets the Member Group ID
java.lang.String getOrderApprovalURL()
Gets the order approval URL
long getOrderId()
Gets the order ID
java.lang.String getOrderStatusURL()
Gets the order status URL
java.lang.Integer getProcurementProtocolId()
Gets the procurement protocol ID
java.lang.String getProcurementSessionCookie()
Gets the procurement session cookie
java.lang.String getProcurementSessionCookieType()
Gets the type of procurement session cookie
long getStoreId()
Gets the store id
java.lang.String getSupplierCodeType()
Gets the type of supplier code
long getUsersId()
Gets the users ID
void setBuyerCodeType(java.lang.String aBuyerCodeType)
Gets the type of buyer code
void setBuyerOrgEntity_ID(long buyerOrgEntity_ID)
Sets the buyerOrgEntity_ID
void setCatalogId(long newCatalogId)
Sets the catalog id
void setContractId(java.lang.Long contarctId)
Sets the ccontract id
void setCreationTime(long newCreationTime)
Sets the creation time.
void setCustomSessionProperties(TypedProperty sessionProperties)
Sets the custom session properties
void setItemId(long itemId)
Sets the Item ID for display logon mode
void setLangId(int langId)
Sets the language ID
void setLogonMode(short logonMode)
Sets the Logon Mode
void setMemGrpId(long memGrpId)
Sets the member group ID
void setOrderApprovalURL(java.lang.String postBackURL)
Sets the Order Approval URL
void setOrderId(long orderId)
Sets the order Id
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 setStoreId(long newStoreId)
Sets the store id
void setSupplierCodeType(java.lang.String aSupplierCodeType)
Sets the type of the supplier code
void setUsersId(long usersId)
Sets the usersId
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
Constructor Detail

BuyerRequestInfo

public BuyerRequestInfo()
BuyerRequestInfo default constructor. This method also set up the creationTime to the time when the constructor is called.
Method Detail

getBuyerCodeType

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

getBuyerOrgEntity_ID

public long getBuyerOrgEntity_ID()
Gets the Buyer Organization Entity ID
Returns:
the buyer organization entity id

getCatalogId

public long getCatalogId()
Gets the catalog id
Returns:
the catalog id

getContractId

public java.lang.Long getContractId()
Gets the contract id
Returns:
the contract id

getCreationTime

public long getCreationTime()
Gets the creation time.
Returns:
the creation time of this info class

getCustomSessionProperties

public TypedProperty getCustomSessionProperties()
Gets the custom session properties
Returns:
the custom session property attributes

getItemId

public long getItemId()
Gets the item id
Returns:
the item ID

getLangId

public int getLangId()
Gets the language Id for the store
Returns:
the language ID

getLogonMode

public short getLogonMode()
Gets the Logon Mode
Returns:
number identifying the logon mode

getMemGrpId

public long getMemGrpId()
Gets the Member Group ID
Returns:
the member group id

getOrderApprovalURL

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

getOrderId

public long getOrderId()
Gets the order ID
Returns:
the order ID

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 ID
Returns:
the id identifying the procurement protocol

getProcurementSessionCookie

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

getProcurementSessionCookieType

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

getStoreId

public long getStoreId()
Gets the store id
Returns:
the store ID

getSupplierCodeType

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

getUsersId

public long getUsersId()
Gets the users ID
Returns:
the user ID

setBuyerCodeType

public void setBuyerCodeType(java.lang.String aBuyerCodeType)
Gets the type of buyer code
Returns:
the buyer code type

setBuyerOrgEntity_ID

public void setBuyerOrgEntity_ID(long buyerOrgEntity_ID)
Sets the buyerOrgEntity_ID
Parameters:
buyerOrgEntity_ID - the new buyer organization entity id

setCatalogId

public void setCatalogId(long newCatalogId)
Sets the catalog id
Parameters:
newCatalogId - the new catalog id

setContractId

public void setContractId(java.lang.Long contarctId)
Sets the ccontract id

setCreationTime

public void setCreationTime(long newCreationTime)
Sets the creation time.
Parameters:
newCreationTime - the new creation time in millisecond

setCustomSessionProperties

public void setCustomSessionProperties(TypedProperty sessionProperties)
Sets the custom session properties
Parameters:
sessionProperties - a set of NVP representing custom session properties

setItemId

public void setItemId(long itemId)
Sets the Item ID for display logon mode
Parameters:
itemId - the new itme ID

setLangId

public void setLangId(int langId)
Sets the language ID
Parameters:
langId - the new langauge ID

setLogonMode

public void setLogonMode(short logonMode)
Sets the Logon Mode
Parameters:
logonMode - the new Logon Mode

setMemGrpId

public void setMemGrpId(long memGrpId)
Sets the member group ID
Parameters:
memGrpId - the new member group id

setOrderApprovalURL

public void setOrderApprovalURL(java.lang.String postBackURL)
Sets the Order Approval URL
Parameters:
postBackURL - the new Order Approval URL

setOrderId

public void setOrderId(long orderId)
Sets the order Id
Parameters:
orderId - the new Order ID

setOrderStatusURL

public void setOrderStatusURL(java.lang.String statusURL)
Sets the Order Status URL
Parameters:
statusURL - the new Order Status URL

setProcurementProtocolId

public void setProcurementProtocolId(java.lang.Integer procId)
Sets the Procurement Protocol ID
Parameters:
procId - the new procurement protocl id

setProcurementSessionCookie

public void setProcurementSessionCookie(java.lang.String cookie)
Sets the Procurement Session Cookie
Parameters:
cookie - the Procurement Session Cookie

setProcurementSessionCookieType

public void setProcurementSessionCookieType(java.lang.String cookieType)
Sets the Procurement Session Cookie Type
Parameters:
cookieType - the type of Procurement Session Cookie

setStoreId

public void setStoreId(long newStoreId)
Sets the store id
Parameters:
newStoreId - the new store id

setSupplierCodeType

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

setUsersId

public void setUsersId(long usersId)
Sets the usersId
Parameters:
usersId - the new users ID for the buyer

Feedback