public class ProductSetTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
Modifier and Type | Field and Description |
---|---|
static int |
PRODUCTSET_TC_PRODUCTSET_NAME
PRODUCTSET_TC_PRODUCTSET_NAME constant
|
static int |
PRODUCTSET_TC_PRODUCTSET_POLICY_ID
PRODUCTSET_TC_PRODUCTSET_POLICY_ID constant
|
static int |
PRODUCTSET_TC_PRODUCTSET_POLICY_NAME
PRODUCTSET_TC_PRODUCTSET_POLICY_NAME constant
|
static int |
PRODUCTSET_TC_PRODUCTSET_POLICY_SHORT_DESCRIPTION
PRODUCTSET_TC_PRODUCTSET_POLICY_SHORT_DESCRIPTION constant
|
static int |
PRODUCTSET_TC_PRODUCTSET_SELECTIONS
PRODUCTSET_TC_PRODUCTSET_SELECTIONS constant
|
static int |
PRODUCTSET_TC_REFERENCE_NUMBER |
Constructor and Description |
---|
ProductSetTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLanguageId)
Constructs an ProductSetTCDataBean from an existing contract identifier.
|
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.util.Vector |
getCustomExclusionPS()
Gets all the custom exclusion product set terms and conditions in the contract
|
java.util.Vector |
getCustomExclusionPS(int i)
Gets a custom exclusion product set term and condition in the contract
|
java.util.Vector |
getCustomInclusionPS()
Gets all the custom inclusion product set terms and conditions in the contract
|
java.util.Vector |
getCustomInclusionPS(int i)
Gets a custom inclusion product set term and condition in the contract
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets request properties
|
java.util.Vector |
getStandardExclusionPS()
Gets all the standard exclusion product set terms and conditions in the contract
|
java.util.Vector |
getStandardExclusionPS(int i)
Gets a standard exclusion product set term and condition in the contract
|
java.util.Vector |
getStandardInclusionPS()
Gets all the standard inclusion product set terms and conditions in the contract
|
java.util.Vector |
getStandardInclusionPS(int i)
Gets a standard inclusion product set term and condition in the contract
|
void |
populate()
This method is used to retrieve the Product Set 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 static final int PRODUCTSET_TC_PRODUCTSET_NAME
public static final int PRODUCTSET_TC_PRODUCTSET_POLICY_ID
public static final int PRODUCTSET_TC_PRODUCTSET_POLICY_NAME
public static final int PRODUCTSET_TC_PRODUCTSET_POLICY_SHORT_DESCRIPTION
public static final int PRODUCTSET_TC_PRODUCTSET_SELECTIONS
public static final int PRODUCTSET_TC_REFERENCE_NUMBER
public ProductSetTCDataBean(java.lang.Long newContractId, java.lang.Integer newLanguageId)
newContractId
- Long An existing contract identifiernewLanguageId
- 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.util.Vector getCustomExclusionPS()
public java.util.Vector getCustomExclusionPS(int i)
public java.util.Vector getCustomInclusionPS()
public java.util.Vector getCustomInclusionPS(int i)
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.util.Vector getStandardExclusionPS()
public java.util.Vector getStandardExclusionPS(int i)
public java.util.Vector getStandardInclusionPS()
public java.util.Vector getStandardInclusionPS(int i)
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