java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.epromotion.beansrc.RLDiscountListBeanBase | +--com.ibm.commerce.tools.epromotion.databeans.RLDiscountListBaseBean
The bean representing an discount calculationcode list of a store. This bean maps to the table calcode.
SimpleDynamicListBean
,
ECPromotionsConstants
,
Serialized
Form
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
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.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
RLDiscountListBaseBean() DiscountCalculationCodeList constructor. |
Method Summary | |
---|---|
java.lang.String |
getCalcode_Id(int index) gets calcode_id |
java.lang.String |
getCheckBoxName(int index) gets the check box name in each row . |
java.lang.String |
getCode(int index) gets the name of the discount. |
java.lang.String[] |
getColumns(int i) gets the values for the columns in the list |
static java.lang.String |
getCOPYRIGHT() gets COPYRIGHT string Creation date: (4/17/01 7:42:44 PM) |
java.lang.String |
getDefaultAction(int i) gets default action |
java.lang.String |
getDescription(int index) gets administrator's description for the discount associated by index i |
abstract
java.lang.Integer |
getDisplayLevelFlag() gets displayLevel flag Creation date: (5/2/2002 1:14:14 PM) |
java.lang.String |
getEndDate(int index) gets the end date of the current discount |
java.lang.String[][] |
getHeadings() gets the column headings for the discount list |
int |
getLength() gets the length |
int |
getListSize() gets the discount list size |
java.lang.String |
getOrderBy() gets the orderby string on which the list has to be sorted. |
java.lang.String |
getParm(java.lang.String para) gets the internal parameter name associated with the param passed. |
java.lang.String |
getPriority(int index) gets the priority of discount |
RLPromotionListRow[] |
getPromotionRowList() gets the choosen row of the disocunt list. |
java.lang.String |
getPublished(int index) gets the status of the discount . |
TypedProperty |
getRequestProperties() Returns the request properties of the databean. |
java.lang.String |
getStartDate(int index) gets the start date of discount |
java.lang.String |
getUserJSfnc() gets user defined JavaScript function |
java.lang.String |
getUserJSfnc(java.util.Hashtable NLSfile) gets user defined NLS specific JavaScript function |
void |
populate() populate this DataBean to GUI. |
void |
setLength(int newLength) set the value of Length |
void |
setOrderBy(java.lang.String newOrderBy) set the value of OrderBy |
void |
setParm(java.lang.String para, java.lang.String value) set the value of Parameter |
void |
setPromotionRowList(
RLPromotionListRow[] newRLPromotionRowList) set the value of DiscountRowList |
void |
setRequestProperties(
TypedProperty param) set the value of request Properties |
Methods inherited from class com.ibm.commerce.tools.epromotion.beansrc. RLDiscountListBeanBase |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public RLDiscountListBaseBean()
Method Detail |
---|
public java.lang.String getCalcode_Id(int index)
public java.lang.String getCheckBoxName(int index)
getCheckBoxName
in interface
SimpleDynamicListBean
index
- The for which you want the name of the check box.public java.lang.String getCode(int index)
index
- of the Array of the discounts.public java.lang.String[] getColumns(int i)
getColumns
in interface
SimpleDynamicListBean
i
- The row for which you want to return the contents.public static final java.lang.String getCOPYRIGHT()
public java.lang.String getDefaultAction(int i)
getDefaultAction
in interface
SimpleDynamicListBean
i
- The row for which you want the first column
hyper-link.public java.lang.String getDescription(int index)
index
- of the Array of the discounts.public abstract java.lang.Integer getDisplayLevelFlag()
public java.lang.String getEndDate(int index)
index
- of the Array of the discounts.public java.lang.String[][] getHeadings()
getHeadings
in interface
SimpleDynamicListBean
public int getLength()
public int getListSize()
getListSize
in interface
SimpleDynamicListBean
public java.lang.String getOrderBy()
public java.lang.String getParm(java.lang.String para)
getParm
in interface
SimpleDynamicListBean
public RLPromotionListRow[] getPromotionRowList()
public java.lang.String getPublished(int index)
index
- of the array of discountpublic TypedProperty getRequestProperties()
InputDataBean
getRequestProperties
in interface
InputDataBean
getRequestProperties
in class
InputDataBeanImpl
public java.lang.String getStartDate(int index)
index
- of the Array of the discounts.public java.lang.String getPriority(int index)
index
- of the Array of the discounts.public java.lang.String getUserJSfnc()
public java.lang.String getUserJSfnc(java.util.Hashtable NLSfile)
getUserJSfnc
in interface
SimpleDynamicListBean
NLSfile
- The JavaScript file which contains national language
characters.public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
java.lang.Exception
public void setLength(int newLength)
public void setOrderBy(java.lang.String newOrderBy)
newOrderBy
- java.lang.Stringpublic void setParm(java.lang.String para, java.lang.String value)
setParm
in interface
SimpleDynamicListBean
para
- java.lang.Stringvalue
- java.lang.Stringpublic void setPromotionRowList(RLPromotionListRow[] newRLPromotionRowList)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
setRequestProperties
in interface
InputDataBean
setRequestProperties
in class
InputDataBeanImpl
param
- com.ibm.commerce.datatype.TypedPropertyjava.lang.Exception