java.lang.Object | +--com.ibm.commerce.tools.epromotion.RLPromotion | +--com.ibm.commerce.tools.epromotion.RLItemLevelPromotion | +--com.ibm.commerce.tools.epromotion.RLSingleRangeItemLevelPromotion
This class represents a single range item level promotion type
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
---|---|
RLSingleRangeItemLevelPromotion() Constructor of RLSingleRangeItemLevelPromotion |
Method Summary | |
---|---|
java.lang.String |
generatePromotionSpecificRuleXML() Generate promotion specific rule XML |
java.lang.String |
getMaximumDiscountItemQuantity() For User Interface displaying, |
java.lang.String |
getRequiredQuantity() For User Interface displaying |
java.lang.String |
getValue() For User Interface displaying |
abstract
java.lang.String |
getValueTagName() Implementation class has to return its own value tag name. |
void |
populatePromotionSpecificDataFrom(java.util.Map h) Populate promotion specific data from GUI input |
void |
populatePromotionSpecificDataFrom(java.lang.String xmlString) Populate promotion specific data from XML String. |
void |
setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity) Sets the maximumDiscountItemQuantity |
void |
setRequiredQuantity(int newRequiredQuantity) Sets the requiredQuantity |
void |
setValue(java.lang.String newValue) Sets the value |
void |
setValueTagName(java.lang.String newValueTagName) Sets the valueTagName |
Methods inherited from class com.ibm.commerce.tools.epromotion. RLItemLevelPromotion |
generatePromotionLevelSpecificRuleXML,
getCatalogEntrySKUs,
getPromotionDisplayLevel,
populatePromotionLevelSpecificDataFrom,
populatePromotionLevelSpecificDataFrom |
Methods inherited from class com.ibm.commerce.tools.epromotion. RLPromotion |
generateRuleXML,
getAssignedSegments,
getCurrency,
getDayInWeek,
getDaysInWeek,
getDescription,
getDescriptionLongNL,
getDescriptionNL,
getEndTimeStamp,
getName,
getPriority,
getRlPromotionType,
getRLPromotionType,
getStartTimeStamp,
getStatus,
getTargetSalesFigure,
isDateRanged,
isTimeRanged,
isValidForAllCustomers,
populateFrom,
populateFrom,
setAssignedSegments,
setCurrency,
setDaysInWeek,
setDescription,
setDescriptionLongNL,
setDescriptionNL,
setEndTimeStamp,
setName,
setPriority,
setRlPromotionType,
setStartTimeStamp,
setStatus,
setTargetSalesFigure |
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 RLSingleRangeItemLevelPromotion()
Method Detail |
---|
public java.lang.String generatePromotionSpecificRuleXML()
generatePromotionSpecificRuleXML
in class
RLPromotion
public java.lang.String getMaximumDiscountItemQuantity()
public java.lang.String getRequiredQuantity()
public java.lang.String getValue()
public abstract java.lang.String getValueTagName()
public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
populatePromotionSpecificDataFrom
in class
RLPromotion
xmlString
- java.lang.Stringpublic void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionSpecificDataFrom
in class
RLPromotion
h
- java.util.Hashtable
ParameterNotFoundException
- The exception
description.public void setValueTagName(java.lang.String newValueTagName)
newValueTagName
- The valueTagName to setpublic void setValue(java.lang.String newValue)
newValue
- The value to setpublic void setRequiredQuantity(int newRequiredQuantity)
newRequiredQuantity
- The requiredQuantity to
setpublic void setMaximumDiscountItemQuantity(int newMaximumDiscountItemQuantity)
newMaximumDiscountItemQuantity
- The
maximumDiscountItemQuantity to set