public class PurchaseOrderTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
Constructor and Description |
---|
PurchaseOrderTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
Constructs an PurchaseOrderTCDataBean from an existing account identifier
Finds the Purchase orders terms and conditions in the account
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the current command's context
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean
|
java.lang.String[] |
getPOBNumber()
Returns the list of blanket purchase order numbers
|
java.lang.String[] |
getPOBReferenceNumber()
Returns the list of blanket purchase order reference numbers
|
int |
getPOIndividual()
Returns whether there is an individual purchase order
|
java.lang.String |
getPOIReferenceNumber()
Returns the individual purchase order reference number
|
java.lang.String[] |
getPOLCurrency()
Returns the list of currencies of the limited purchase orders
|
java.lang.String[] |
getPOLNumber()
Returns the list of limited purchase order numbers
|
java.lang.String[] |
getPOLReferenceNumber()
Returns the list of limited purchase order reference numbers
|
java.lang.String[] |
getPOLValue()
Returns the list of currency values for the limited purchase orders
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties
|
void |
populate()
This method is used to retrieve the Purchase orders data in the account.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
Sets the command context
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
Sets the request properties.
|
public PurchaseOrderTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
newContractId
- Long An existing contract identifiernewLangId
- Integer The language identifier for which language to retrieve the datapublic com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public java.lang.String[] getPOBNumber()
public java.lang.String[] getPOBReferenceNumber()
public int getPOIndividual()
public java.lang.String getPOIReferenceNumber()
public java.lang.String[] getPOLCurrency()
public java.lang.String[] getPOLNumber()
public java.lang.String[] getPOLReferenceNumber()
public java.lang.String[] getPOLValue()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
public void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
newICommandContext
- com.ibm.commerce.command.CommandContextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
param
- com.ibm.commerce.datatype.TypedProperty