java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.epromotion.beansrc.RLProductDiscountDataBeanBase | +--com.ibm.commerce.tools.epromotion.databeans.RLProductDiscountDataBean
This DataBean is used to retrive information about ProductLevel (Products,Items, Packages) and CategoryLevel discounts .
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT the copyright information |
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 | |
---|---|
RLProductDiscountDataBean() RLProductDiscountDataBean constructor. |
Method Summary | |
---|---|
java.lang.String[] |
getAssignedSegments() Returns the list of Member Groups the discount is assinged to. |
java.lang.String |
getCalcodeId() Returns the CalCodeID associated with this discount. |
java.lang.String |
getRlCurrency() Returns the Default Currency for this discount |
boolean |
getRlDateRanged() Indicates whether the Date is ranged |
java.lang.String[] |
getRlDaysInWeek() Returns the list of days in a week during when the discount is valid. |
java.lang.String |
getRlDescription() Returns the Non-Nl description of the discount. |
java.lang.String |
getRlDescriptionNL() Returns the Nl Description of the discount. |
java.lang.String |
getRlDiscountItemQty() Reurns the quantity of the discounted Item that will be given free with the purchase. |
java.lang.String |
getRlDiscountItemSku() Returns SKU of the item that will be given free with purchase. |
java.lang.String |
getRlDiscountPercentage() Retuns the percentage of discount that will be offered if purchase qualifies for discount. |
java.lang.String |
getRlEndDay() Returns the day when the discount gets inactive. |
java.lang.String |
getRlEndHour() Returns the Hour when the discount will get inactive. |
java.lang.String |
getRlEndMonth() Returns the Month when the discount will get inactive. |
java.lang.String |
getRlEndYear() Returns the year when the discount will get inactive. |
boolean |
getRlInCombinationWith() Indicates whether or not this discount can be combined with other discount for the same purchase. |
boolean |
getRlIsEveryDayFlag() Indicates whether the discount is valid throught the week. |
java.lang.String |
getRlLongDescriptionNL() returns NL long description |
java.lang.String |
getRlMaxDiscountItemQty() Returns the Maximun quantity of the discounted Item that can be given free with purchase |
java.lang.String |
getRlName() Returns the Name of the discount. |
java.lang.String |
getRlPriority() Returns the Discount Priority.As discount will be choosen for a purchase based on the priority. |
java.util.Vector |
getRlProductSku() returns the SKU f the item for which the promotion is created. |
java.lang.String |
getRlProdXSku() returns the product SKU (in same item free discount type) |
java.util.Vector |
getRlPromotionCatEntryID() returns the catentry_id of the product on discount |
java.lang.String |
getRlPromotionCatEntryType() returns the type of the catentry which is being promoted |
java.lang.String[] |
getRlPromotionCatGroupCode() Returns an array of CatGroup Identifiers. |
java.lang.String[] |
getRlPromotionCatGroupID() Returns an array of CatGroup ID's. |
java.lang.String |
getRlPromotionGWPCatEntryID() returns the catentry_id of the free gift SKU |
java.lang.String |
getRlPromotionMerchandiseType() Gets the rlPromotionMerchandiseType. |
java.lang.String |
getRlPromotionType() Returns the Type of promotion, |
java.lang.String[] |
getRlRanges() Returns quantity range to qualify for this discount. |
java.lang.String |
getRlRequiredQty() Returns the quatinty required to be purchased to qualify for the discount. |
java.lang.String |
getRlStartDay() Retuns the day from which the discount gets active |
java.lang.String |
getRlStartHour() returns the hour when the discount becomes active. |
java.lang.String |
getRlStartMonth() Returns the month from which the discount gets active. |
java.lang.String |
getRlStartYear() Returns the Year from which the discount gets active. |
java.lang.String |
getRlTargetSales() retuns the sales traget for the discount. |
boolean |
getRlTimeRanged() Gets the rlTimeRanged. |
java.lang.String |
getRlValue() returns the discount range value |
java.lang.String[] |
getRlValues() Returns the discount values for the discount ranges created. |
java.lang.String |
getRuleXML() Returns the RULEXML from the RLDISCOUNT table. |
java.lang.String |
getStartDate() Retuns the date from which the discount becomes active. |
boolean |
getValidForAllCustomers() Returns whether the discount is valid for all customers. |
void |
populate() Default method that needs to be implemented. |
void |
setAssignedSegments(java.lang.String[] newAssignedSegments) Stores the list of membergroups who can use this discount. |
void |
setCalcodeId(java.lang.String newCalcodeId) Stores the CALCODEID |
void |
setFlag(boolean newFlag) For Internal Use |
void |
setRlCurrency(java.lang.String newRlCurrency) Stores the dafault currency for the discount. |
void |
setRlDateRanged(boolean newRlDateRanged) Stores whether or not the date is ranged. |
void |
setRlDaysInWeek(java.lang.String[] newRlDaysInWeek) Stores Days of Week. |
void |
setRlDescription(java.lang.String newRlDescription) Stores the description of the discount. |
void |
setRlDescriptionNL(java.lang.String newRlDescriptionNL) Stores the Nl Description of the discount. |
void |
setRlDiscountItemQty(java.lang.String newRlDiscountItemQty) Stores the quantity of the dicounted Item. |
void |
setRlDiscountItemSku(java.lang.String newRlDiscountItemSku) Stores the SKU number of the discounted item. |
void |
setRlDiscountPercentage(java.lang.String newRlDiscountPercentage) Stores the Percentage of discount offered for the discounted sku |
void |
setRlEndDay(java.lang.String newRlEndDay) Stores the Day when the discount will expire |
void |
setRlEndHour(java.lang.String newRlEndHour) stores the hour of the day when the discount will expire. |
void |
setRlEndMonth(java.lang.String newRlEndMonth) Stores the month of the year when the discount will expire. |
void |
setRlEndYear(java.lang.String newRlEndYear) Stores the year when the discount will expire. |
void |
setRlInCombinationWith(boolean newRlInCombinationWith) Stores whether or not the discount can be combined with other discounts. |
void |
setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag) Stores whether or not he discount is valid for all day thru the week. |
void |
setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL) stores the NL long description |
void |
setRlMaxDiscountItemQty(java.lang.String newRlMaxDiscountItemQty) Stores the maximum quantity of the discounted item that can be given. |
void |
setRlName(java.lang.String newRlName) Stores the Name of the discount. |
void |
setRlPriority(java.lang.String newRlPriority) Stores the discount priority based in which it will be selected. |
void |
setRlProductSku(java.util.Vector newRlProductSku) Stores the SKu of the discounted product. |
void |
setRlProdXSku(java.lang.String newRlProdXSku) Stores the SKu of the discounted product. |
void |
setRlPromotionCatEntryID(java.util.Vector newRlPromotionCatEntryID) Stores the catentry_id for the promotion merchandise |
void |
setRlPromotionCatEntryType(java.lang.String newRlPromotionCatEntryType) Stores the type of the merchandise |
void |
setRlPromotionCatGroupCode(java.lang.String[] newRlPromotionCatGroupCode) Sets the CatGroup Identifiers. |
void |
setRlPromotionCatGroupID(java.lang.String[] newRlPromotionCatGroupID) Sets the CatGroup IDs. |
void |
setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID) Stores the catentry_id for the free gift item |
void |
setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType) Sets the rlPromotionMerchandiseType. |
void |
setRlPromotionType(java.lang.String newRlPromotionType) Stores the discount type that is created. |
void |
setRlRanges(java.lang.String[] newRlRanges) Stores the quantity ranges of items to qualify for the discount. |
void |
setRlRequiredQty(java.lang.String newRlRequiredQty) Quantity Required to qualify for the discount. |
void |
setRlStartDay(java.lang.String newRlStartDay) Set the Discount Start Date |
void |
setRlStartHour(java.lang.String newRlStartHour) Stores the hour of the day when the discount becomes effective. |
void |
setRlStartMonth(java.lang.String newRlStartMonth) Stores the month of the year from when the discount become effective. |
void |
setRlStartYear(java.lang.String newRlStartYear) Stores the Year from when the discount gets effective. |
void |
setRlTargetSales(java.lang.String newRlTargetSales) Stores the sales target for this discount. |
void |
setRlTimeRanged(boolean newRlTimeRanged) Sets the rlTimeRanged |
void |
setRlValue(java.lang.String newRlValue) Set the value of this discount |
void |
setRlValues(java.lang.String[] newRlValues) Stores the discount percentage for the corresponding discount ranges. |
void |
setRuleXML(java.lang.String newRuleXML) Stores the Discount Rule Xml. |
void |
setStartDate(java.lang.String newStartDate) Stores the date from which the discount will get effective. |
void |
setValidForAllCustomers(boolean newValidForAllCustomers) Stores whether or not the discount is valid for all customer groups. |
Methods inherited from class com.ibm.commerce.tools.epromotion.beansrc. RLProductDiscountDataBeanBase |
getDelegate,
getOwner |
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
fulfills,
getCommandContext,
getResources,
setCommandContext |
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
getRequestProperties,
setRequestProperties |
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.beans. InputDataBean |
getRequestProperties,
setRequestProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public RLProductDiscountDataBean()
Method Detail |
---|
public java.lang.String[] getAssignedSegments()
public java.lang.String getCalcodeId()
public java.lang.String getRlCurrency()
public boolean getRlDateRanged()
public java.lang.String[] getRlDaysInWeek()
public java.lang.String getRlDescription()
public java.lang.String getRlDescriptionNL()
public java.lang.String getRlDiscountItemQty()
public java.lang.String getRlDiscountItemSku()
public java.lang.String getRlDiscountPercentage()
public java.lang.String getRlEndDay()
public java.lang.String getRlEndHour()
public java.lang.String getRlEndMonth()
public java.lang.String getRlEndYear()
public boolean getRlInCombinationWith()
public boolean getRlIsEveryDayFlag()
public java.lang.String getRlLongDescriptionNL()
public java.lang.String getRlMaxDiscountItemQty()
public java.lang.String getRlName()
public java.lang.String getRlPriority()
public java.util.Vector getRlProductSku()
public java.lang.String getRlProdXSku()
public java.util.Vector getRlPromotionCatEntryID()
public java.lang.String getRlPromotionCatEntryType()
public java.lang.String getRlPromotionGWPCatEntryID()
public java.lang.String getRlPromotionType()
public java.lang.String[] getRlRanges()
public java.lang.String getRlRequiredQty()
public java.lang.String getRlStartDay()
public java.lang.String getRlStartHour()
public java.lang.String getRlStartMonth()
public java.lang.String getRlStartYear()
public java.lang.String getRlTargetSales()
public java.lang.String getRlValue()
public java.lang.String[] getRlValues()
public java.lang.String getRuleXML()
public java.lang.String getStartDate()
public boolean getValidForAllCustomers()
public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
ECException
- The exception description.java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.public void setAssignedSegments(java.lang.String[] newAssignedSegments)
newAssignedSegments
- java.util.Vectorpublic void setCalcodeId(java.lang.String newCalcodeId)
newCalcodeId
- java.lang.Stringpublic void setFlag(boolean newFlag)
newFlag
- booleanpublic void setRlCurrency(java.lang.String newRlCurrency)
newRlCurrency
- java.lang.Stringpublic void setRlDateRanged(boolean newRlDateRanged)
newRlDateRanged
- booleanpublic void setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
newRlDaysInWeek
- java.util.Vectorpublic void setRlDescription(java.lang.String newRlDescription)
newRlDescription
- java.lang.Stringpublic void setRlDescriptionNL(java.lang.String newRlDescriptionNL)
newRlDescriptionNL
- java.lang.Stringpublic void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
newRlDiscountItemQty
- java.lang.Stringpublic void setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
newRlDiscountItemSku
- java.lang.Stringpublic void setRlDiscountPercentage(java.lang.String newRlDiscountPercentage)
newRlDiscountPercentage
- java.lang.Stringpublic void setRlEndDay(java.lang.String newRlEndDay)
newRlEndDay
- java.lang.Stringpublic void setRlEndHour(java.lang.String newRlEndHour)
newRlEndHour
- java.lang.Stringpublic void setRlEndMonth(java.lang.String newRlEndMonth)
newRlEndMonth
- java.lang.Stringpublic void setRlEndYear(java.lang.String newRlEndYear)
newRlEndYear
- java.lang.Stringpublic void setRlInCombinationWith(boolean newRlInCombinationWith)
newRlInCombinationWith
- booleanpublic void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
newRlIsEveryDayFlag
- booleanpublic void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
newRlLongDescriptionNL
- java.lang.Stringpublic void setRlMaxDiscountItemQty(java.lang.String newRlMaxDiscountItemQty)
newRlMaxDiscountItemQty
- java.lang.Stringpublic void setRlName(java.lang.String newRlName)
newRlName
- java.lang.Stringpublic void setRlPriority(java.lang.String newRlPriority)
newRlPriority
- java.lang.Stringpublic void setRlProductSku(java.util.Vector newRlProductSku)
newRlProductSku
- java.lang.Stringpublic void setRlProdXSku(java.lang.String newRlProdXSku)
newRlProdXSku
- java.lang.Stringpublic void setRlPromotionCatEntryID(java.util.Vector newRlPromotionCatEntryID)
newRlPromotionCatEntryID
- java.util.Vector
//ceppublic void setRlPromotionCatEntryType(java.lang.String newRlPromotionCatEntryType)
newRlPromotionCatEntryType
-
java.lang.Stringpublic void setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
newRlPromotionGWPCatEntryID
-
java.lang.Stringpublic void setRlPromotionType(java.lang.String newRlPromotionType)
newRlPromotionType
- java.lang.Stringpublic void setRlRanges(java.lang.String[] newRlRanges)
newRlRanges
- java.util.Vectorpublic void setRlRequiredQty(java.lang.String newRlRequiredQty)
newRlRequiredQty
- java.lang.Stringpublic void setRlStartDay(java.lang.String newRlStartDay)
newRlStartDay
- java.lang.Stringpublic void setRlStartHour(java.lang.String newRlStartHour)
newRlStartHour
- java.lang.Stringpublic void setRlStartMonth(java.lang.String newRlStartMonth)
newRlStartMonth
- java.lang.Stringpublic void setRlStartYear(java.lang.String newRlStartYear)
newRlStartYear
- java.lang.Stringpublic void setRlTargetSales(java.lang.String newRlTargetSales)
newRlTargetSales
- java.lang.Stringpublic void setRlValue(java.lang.String newRlValue)
newRlValue
- java.lang.Stringpublic void setRlValues(java.lang.String[] newRlValues)
newRlValues
- java.util.Vectorpublic void setRuleXML(java.lang.String newRuleXML)
newRuleXML
- java.lang.Stringpublic void setStartDate(java.lang.String newStartDate)
newStartDate
- java.lang.Stringpublic void setValidForAllCustomers(boolean newValidForAllCustomers)
newValidForAllCustomers
- booleanpublic boolean getRlTimeRanged()
public void setRlTimeRanged(boolean newRlTimeRanged)
public java.lang.String getRlPromotionMerchandiseType()
public void setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType)
public void setRlPromotionCatGroupCode(java.lang.String[] newRlPromotionCatGroupCode)
public void setRlPromotionCatGroupID(java.lang.String[] newRlPromotionCatGroupID)
public java.lang.String[] getRlPromotionCatGroupCode()
public java.lang.String[] getRlPromotionCatGroupID()