java.lang.Objectcom.ibm.commerce.beans.InputDataBeanImpl
com.ibm.commerce.beans.SmartDataBeanImpl
com.ibm.commerce.tools.promotions.beansrc.DiscountChooseListBeanBase
com.ibm.commerce.tools.promotions.DiscountChooseListBean
The bean representing an discount calculationcode list of a store. This bean maps to the table calcode.
Field Summary | |
protected java.util.Vector | calcode_Id Provide a vector of calcode ID. |
protected java.lang.String | calcodeId Provide the string type of calcode ID. |
protected java.util.Vector | code Provide a vector of code. |
static java.lang.String | COPYRIGHT The internal copyright field. |
protected java.util.Vector | description Provide a vector of administration description. |
protected DiscountChooseListRow[] | discountRowList Provide an object Array of DiscountChooseListRow for dynamic list. |
protected java.util.Vector | endDate Provide a vector of discount end date. |
protected java.lang.String | endIndex Provide the string type of end index to dynamic list page view. |
protected java.lang.String[][] | heading Provide a String Array of table headings for dynamic list. |
protected java.lang.String | orderBy Provide a string of orderBy which used for dynamic list records sorting function. |
protected java.util.Vector | published Provide a vector of published. |
protected java.util.Vector | startDate Provide a vector of discount start date. |
protected java.lang.String | startIndex Provide the string type of start index to dynamic list page view. |
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl |
commandContext |
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.tools.promotions.ECPromotionsConstants |
BY_AMOUNT_PER_UNIT, BY_FIXED_AMOUNT, BY_PERCENTAGE, CONTRACT_DISPLAY, CUMULATIVE_FALSE, CURRENCY_RANGE, DISCOUNT_PUBLISHED, DISCOUNT_RESOURCES, DO_NOT_GROUP, EC_Calcode_Id, EC_Code, EC_EndDate, EC_Orderby, EC_Range_Max, EC_StartDate, EC_Status, ERROR_DISCOUNT_APPLIED, ERROR_DISCOUNT_DUPLICATE_CODE, ERROR_DISCOUNT_NOT_SAVED, ITEM_DISPLAY, MSG_DISCOUNT_APPLIED, MSG_DISCOUNT_SAVED, ORDER_DISPLAY, ORDER_LEVEL, ORDERITEM_DISPLAY, PRODUCT_DISPLAY, PRODUCT_LEVEL, QTY_RANGE, REST_OF_TIMESTRING, ZERO_STRING |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
DiscountChooseListBean() DiscountCalculationCodeList constructor. |
Method Summary | |
java.lang.String | getCalcode_Id(int index) get ID of calculation code, also is the ID of the discount object. |
java.lang.String | getCheckBoxName(int index) get the name of check box in each Row i |
java.lang.String | getCode(int index) get the name of the discount. |
java.lang.String[] | getColumns(int i) get String Array of the Discount properties, which will be represented in one column. |
java.lang.String | getDefaultAction(int i) get default action |
java.lang.String | getDescription(int index) get administrator's description for the discount associated by index i. |
DiscountChooseListRow[] | getDiscountRowList() get array of discount choose list row |
java.lang.String | getEndDate(int index) get the end date of the current discount availablity. |
java.lang.String[][] | getHeadings() get HTML table heading |
int | getLength() get length |
int | getListSize() get the size of discount list found |
java.lang.String | getOrderBy() get the property name, which used to sort the list records. |
java.lang.String | getParm(java.lang.String para) get the internal parameter name associated with the param passed. |
java.lang.String | getPublished(int index) get the discount status |
TypedProperty | getRequestProperties() getRequestProperties method comment. |
java.lang.String | getStartDate(int index) get start date of the discount availablity. |
java.lang.String | getUserJSfnc() get User defined JavaScript functions |
java.lang.String | getUserJSfnc(java.util.Hashtable NLSfile) get User defined JavaScript functions by passing NLS file |
void | populate() populate this DataBean to GUI. |
void | setLength(int newLength) set the number of the list |
void | setOrderBy(java.lang.String newOrderBy) set orderBy to sort the list |
void | setParm(java.lang.String para, java.lang.String value) set parameter and its values |
void | setRequestProperties(TypedProperty param) set RequestProperties param param com.ibm.commerce.datatype.TypedProperty |
Methods inherited from class com.ibm.commerce.tools.promotions.beansrc.DiscountChooseListBeanBase |
getDelegate, getOwner |
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl |
fulfills, getCommandContext, getResources, setCommandContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills |
Field Detail |
public static final java.lang.String COPYRIGHT
protected DiscountChooseListRow[] discountRowList
protected java.util.Vector calcode_Id
protected java.util.Vector code
protected java.util.Vector startDate
protected java.util.Vector endDate
protected java.util.Vector published
protected java.util.Vector description
protected java.lang.String orderBy
protected java.lang.String[][] heading
protected java.lang.String calcodeId
protected java.lang.String endIndex
protected java.lang.String startIndex
Constructor Detail |
public DiscountChooseListBean()
Method Detail |
public java.lang.String getCalcode_Id(int index)
public java.lang.String getCheckBoxName(int index)
public java.lang.String getCode(int index)
public java.lang.String[] getColumns(int i)
public java.lang.String getDefaultAction(int i)
public java.lang.String getDescription(int index)
public DiscountChooseListRow[] getDiscountRowList()
public java.lang.String getEndDate(int index)
public java.lang.String[][] getHeadings()
public int getLength()
public int getListSize()
public java.lang.String getOrderBy()
public java.lang.String getParm(java.lang.String para)
public java.lang.String getPublished(int index)
public TypedProperty getRequestProperties()
public java.lang.String getStartDate(int index)
public java.lang.String getUserJSfnc()
public java.lang.String getUserJSfnc(java.util.Hashtable NLSfile)
public void populate() throws java.lang.Exception
public void setLength(int newLength)
public void setOrderBy(java.lang.String newOrderBy)
public void setParm(java.lang.String para, java.lang.String value)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.