public class ShippingTCShipToAddressDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
| Constructor and Description |
|---|
ShippingTCShipToAddressDataBean(java.lang.Long contractId,
java.lang.Integer languageId)
Constructs an ShippingTCShipToAddressDataBean from an existing contract identifier
Finds the Shipping Address 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 |
getShippingAddress()
Gets the shipping address term and conditions in the contract
|
java.util.Vector |
getShippingAddress(int i)
Gets a shipping address term and condition in the contract
|
void |
populate()
This method is used to retrieve the Shipping Address 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 ShippingTCShipToAddressDataBean(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 getShippingAddress()
public java.util.Vector getShippingAddress(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