java.lang.Objectcom.ibm.commerce.tools.contract.beans.CategoryPricingTCDataBean
Retrieve all the data associated with a Percentage Pricing Term and Condition Set the contract and language identifiers in order to populate the bean.
Field Summary | |
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 |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
CategoryPricingTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId) Construct an CategoryPricingTCDataBean from an existing contract identifier Find the Percentage Pricing terms and conditions in the contract |
Method Summary | |
CommandContext | getCommandContext() Returns the current command's context |
java.lang.Long | getContractId() Get the contract identifier for the contract this term and condition is in |
java.util.Vector | getCustomAdjustment(int i) Get a custom adjustment term and condition |
java.util.Vector | getCustomAdjustments() Get the custom adjustment term and conditions |
Protectable | getDelegate() Return the access control delegate of this databean |
java.util.Vector | getMasterCatalogAdjustment(int i) Get a master catalog adjustment term and condition |
java.util.Vector | getMasterCatalogAdjustments() Get the master catalog adjustment term and conditions |
TypedProperty | getRequestProperties() Get the request properties |
java.util.Vector | getSelectiveAdjustment(int i) Get a selective adjustment term and condition |
java.util.Vector | getSelectiveAdjustments() Get the selective adjustment term and conditions |
void | populate() Retreive the Percentage Pricing term and conditions in a contract |
protected java.lang.String | removeSign(java.lang.String percentage) Remove the leading negative sign from a number |
void | setCommandContext(CommandContext newICommandContext) Set the command context |
void | setRequestProperties(TypedProperty param) Set the requestProperties associated with the data bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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
Constructor Detail |
public CategoryPricingTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
Method Detail |
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)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.