public class CategoryPricingTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
Modifier and Type | Field and Description |
---|---|
static int |
PRICETC_ADJUSTMENT_VALUE
The PRICETC_ADJUSTMENT_VALUE array position constant
|
static int |
PRICETC_PRODUCTSET_NAME
The PRICETC_PRODUCTSET_NAME array position constant
|
static int |
PRICETC_PRODUCTSET_POLICY_DB
The PRICETC_PRODUCTSET_POLICY_DB array position constant
|
static int |
PRICETC_PRODUCTSET_SELECTIONS
The PRICETC_PRODUCTSET_SELECTIONS array position constant
|
static int |
PRICETC_REFERENCE_NUMBER
The PRICETC_REFERENCE_NUMBER array position constant
|
static int |
PRICETC_TYPE
The PRICETC_TYPE array position constant
|
Constructor and Description |
---|
CategoryPricingTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
Constructs an CategoryPricingTCDataBean from an existing contract identifier
Find the Percentage Pricing 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.util.Vector |
getCustomAdjustment(int i)
Gets a custom adjustment term and condition
|
java.util.Vector |
getCustomAdjustments()
Gets the custom adjustment term and conditions
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean
|
java.util.Vector |
getMasterCatalogAdjustment(int i)
Gets a master catalog adjustment term and condition
|
java.util.Vector |
getMasterCatalogAdjustments()
Gets the master catalog adjustment term and conditions
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties
|
java.util.Vector |
getSelectiveAdjustment(int i)
Gets a selective adjustment term and condition
|
java.util.Vector |
getSelectiveAdjustments()
Gets the selective adjustment term and conditions
|
void |
populate()
This method is used to retrieve the Percentage Pricing term and conditions in a 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 PRICETC_ADJUSTMENT_VALUE
public static final int PRICETC_PRODUCTSET_NAME
public static final int PRICETC_PRODUCTSET_POLICY_DB
public static final int PRICETC_PRODUCTSET_SELECTIONS
public static final int PRICETC_REFERENCE_NUMBER
public static final int PRICETC_TYPE
public CategoryPricingTCDataBean(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.util.Vector getCustomAdjustment(int i)
public java.util.Vector getCustomAdjustments()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public java.util.Vector getMasterCatalogAdjustment(int i)
public java.util.Vector getMasterCatalogAdjustments()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.util.Vector getSelectiveAdjustment(int i)
public java.util.Vector getSelectiveAdjustments()
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