public class ShippingTCShippingChargeDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
| Constructor and Description |
|---|
ShippingTCShippingChargeDataBean(java.lang.Long contractId,
java.lang.Integer languageId)
Constructs an ShippingTCShippingChargeDataBean from an existing contract identifier
Finds the Shipping Charge Type 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
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean
|
java.lang.String |
getLanguageId()
Gets the language identifier in which the data was loaded
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties
|
java.util.Vector |
getShippingCharge()
Gets the shipping charge type term and conditions in the contract
|
java.util.Vector |
getShippingCharge(int i)
Gets a shipping charge type term and condition in the contract
|
void |
populate()
This method is used to retrieve the Shipping Charge Type 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 ShippingTCShippingChargeDataBean(java.lang.Long contractId,
java.lang.Integer languageId)
contractId - Long An existing contract identifierlanguageId - Integer The language identifier for which language to retrieve the datapublic com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext in interface com.ibm.commerce.beans.SmartDataBeanpublic java.lang.Long getContractId()
public com.ibm.commerce.security.Protectable getDelegate()
throws java.lang.Exception
getDelegate in interface com.ibm.commerce.security.Delegatorjava.lang.Exceptionpublic java.lang.String getLanguageId()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties in interface com.ibm.commerce.beans.InputDataBeanpublic java.util.Vector getShippingCharge()
public java.util.Vector getShippingCharge(int i)
public void populate()
throws java.lang.Exception
DataBeanManager.activate()
runs.populate in interface com.ibm.commerce.beans.SmartDataBeanjava.lang.Exceptionpublic void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
setCommandContext in interface com.ibm.commerce.beans.SmartDataBeannewICommandContext - com.ibm.commerce.command.CommandContextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties in interface com.ibm.commerce.beans.InputDataBeanparam - com.ibm.commerce.datatype.TypedProperty