java.lang.Object | +--com.ibm.commerce.tools.contract.beans.OrderApprovalTCDataBean
Retrieve all the data associated with a Order Approval Term and Condition Set the contract and language identifiers in order to populate the bean.
Field Summary |
---|
Fields inherited from interface com.ibm.commerce.beans. SmartDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
OrderApprovalTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId) Construct an OrderApprovalTCDataBean from an existing contract identifier Find the Order Approval terms and conditions in the contract |
Method Summary | |
---|---|
CommandContext |
getCommandContext() Returns the current command's context |
java.lang.Long |
getContractId() Get the contract identifier for the contract this term and condition is in |
java.lang.String |
getCurrency() Get the currency of the order approval term and condition in the contract |
com.ibm.commerce.security.Protectable |
getDelegate() Return the access control delegate of this databean |
boolean |
getHasOrderApproval() Determines whether the contract has an order approval term and condition. |
java.lang.String |
getReferenceNumber() Get the reference number of the order approval term and condition in the contract |
TypedProperty |
getRequestProperties() Get the request properties |
java.lang.String |
getValue() Get the value of the order approval term and condition in the contract |
void |
populate() Populates the databean with data elements. |
void |
setCommandContext(
CommandContext newICommandContext) Set the command context |
void |
setRequestProperties(
TypedProperty param) Set the requestProperties associated with the data bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
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 dataMethod Detail |
---|
public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
public java.lang.Long getContractId()
public java.lang.String getCurrency()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
java.lang.Exception
public boolean getHasOrderApproval()
public java.lang.String getReferenceNumber()
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public java.lang.String getValue()
public void populate() throws java.lang.Exception
SmartDataBean
populate
in interface
SmartDataBean
java.lang.Exception
- if there is a problem populating the
databean with data.public void setCommandContext(CommandContext newICommandContext)
setCommandContext
in interface
SmartDataBean
newICommandContext
-
com.ibm.commerce.command.CommandContextpublic void setRequestProperties(TypedProperty param)
InputDataBean
setRequestProperties
in interface
InputDataBean