public class CategoryPricingTCDataBean extends java.lang.Object implements SmartDataBean, 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 |
---|---|
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
|
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
|
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.
|
protected java.lang.String | removeSign(java.lang.String percentage)
Removes the leading negative sign from a number
|
void | setCommandContext(CommandContext newICommandContext)
Sets the command context
|
void | setRequestProperties(TypedProperty param)
Sets the request properties.
|
public static final int PRICETC_TYPE
public static final int PRICETC_REFERENCE_NUMBER
public static final int PRICETC_ADJUSTMENT_VALUE
public static final int PRICETC_PRODUCTSET_NAME
public static final int PRICETC_PRODUCTSET_SELECTIONS
public static final int PRICETC_PRODUCTSET_POLICY_DB
public CategoryPricingTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
public CommandContext getCommandContext()
public java.lang.Long getContractId()
public java.util.Vector getCustomAdjustment(int i)
public java.util.Vector getCustomAdjustments()
public Protectable getDelegate() throws java.lang.Exception
public java.util.Vector getMasterCatalogAdjustment(int i)
public java.util.Vector getMasterCatalogAdjustments()
public TypedProperty getRequestProperties()
public java.util.Vector getSelectiveAdjustment(int i)
public java.util.Vector getSelectiveAdjustments()
public void populate() throws java.lang.Exception
protected java.lang.String removeSign(java.lang.String percentage)
public void setCommandContext(CommandContext newICommandContext)
public void setRequestProperties(TypedProperty param)