public class OrderApprovalTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
Constructor and Description |
---|
OrderApprovalTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
Constructs an OrderApprovalTCDataBean from an existing contract identifier
Finds the Order Approval terms and conditions in the contract
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the current command's context
|
java.lang.Long |
getContractId()
Gets the contract identifier for the contract this term and condition are in
|
java.lang.String |
getCurrency()
Gets the currency of the order approval term and condition in the contract
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean
|
boolean |
getHasOrderApproval()
Determines whether the contract has an order approval term and condition.
|
java.lang.String |
getReferenceNumber()
Gets the reference number of the order approval term and condition in the contract
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties
|
java.lang.String |
getValue()
Gets the value of the order approval term and condition in the contract
|
void |
populate()
This method is used to retrieve the Order Approval data in the contract.
|
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 OrderApprovalTCDataBean(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 java.lang.Long getContractId()
public java.lang.String getCurrency()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public boolean getHasOrderApproval()
public java.lang.String getReferenceNumber()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.lang.String getValue()
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