java.lang.Object | +--com.ibm.commerce.me.datatype.CIDataImpl
Encapsulate the commerce Integrator login and purchase order data. This class is used by the PunchOutSetupCmd and BatchOrderRequestCmd to store information of purcahse order request including the shopping cart information, credential, and data from the purcahse order request. Creation date: (4/5/01 5:14:33 PM)
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright field |
Constructor Summary | |
---|---|
CIDataImpl() CIDataImpl default constructor | |
CIDataImpl(
CommandContext cmdContext) CIDataImpl constructor with the command context as an input parameter. |
Method Summary | |
---|---|
Address |
getBillTo() Gets the bill to address |
Credentials |
getBuyerCredentials() Gets the buyer credentials |
java.lang.String |
getDepartment() Gets the department name |
java.lang.String |
getDeptExtrinsic() Gets the department extrinsic |
TypedProperty |
getLogonData() Gets the logon data |
Credentials |
getMarketPlaceCredentials() Gets the marketPlace credentials |
TypedProperty |
getPOData() Gets the purchase order data |
PurchaseOrderHeader |
getPOHeader() Gets the purchase order request header |
java.util.Vector |
getPOItems() Gets the line items in the purchase order request |
java.lang.String |
getProtocolName() Gets the protocol name |
java.lang.String |
getProtocolVersion() Gets the protocol version |
java.lang.String |
getRequisitioner() Gets the name of the requisitioner |
SessionInfo |
getSessionInfo() Gets the session information |
Credentials |
getSupplierCredentials() Gets the supplier credentials |
java.lang.String |
getUserExtrinsic() Gets the userExtrinsic |
void |
setLogonData(
TypedProperty p) Sets the logon data and process the input parameters |
void |
setPOData(
TypedProperty p) Sets the purchase order data and process the input parameters |
void |
setProtocolName(java.lang.String protocol) Update the protocol name |
void |
setProtocolVersion(java.lang.String version) Update the protocol version |
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
Constructor Detail |
---|
public CIDataImpl()
public CIDataImpl(CommandContext cmdContext)
cmdContext
- the command context from the calling command so
that additional parameters (store specific) can be retrieved.Method Detail |
---|
public Address getBillTo()
getBillTo
in interface
CIData
public Credentials getBuyerCredentials()
getBuyerCredentials
in interface
CIData
public java.lang.String getDepartment()
getDepartment
in interface
CIData
public java.lang.String getDeptExtrinsic()
public TypedProperty getLogonData()
getLogonData
in interface
CIData
public Credentials getMarketPlaceCredentials()
getMarketPlaceCredentials
in interface
CIData
public TypedProperty getPOData()
getPOData
in interface
CIData
public PurchaseOrderHeader getPOHeader()
getPOHeader
in interface
CIData
public java.util.Vector getPOItems()
getPOItems
in interface
CIData
public java.lang.String getProtocolName()
getProtocolName
in interface
CIData
public java.lang.String getProtocolVersion()
getProtocolVersion
in interface
CIData
public java.lang.String getRequisitioner()
getRequisitioner
in interface
CIData
public SessionInfo getSessionInfo()
getSessionInfo
in interface
CIData
public Credentials getSupplierCredentials()
getSupplierCredentials
in interface
CIData
public java.lang.String getUserExtrinsic()
public void setLogonData(TypedProperty p)
setLogonData
in interface
CIData
p
- TypedProperty which contains the NVP of the input
parameterspublic void setPOData(TypedProperty p) throws java.text.ParseException
setPOData
in interface
CIData
p
- TypedProperty which contains the NVP of the purchase order
informationjava.text.ParseException
public void setProtocolName(java.lang.String protocol)
protocol
- the new protocolpublic void setProtocolVersion(java.lang.String version)
version
- The new protocol version