java.lang.Object | +--com.ibm.commerce.tools.epromotion.RLPromotion | +--com.ibm.commerce.tools.epromotion.RLOrderLevelPromotion
This class represents a type of order level rule based promotion
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
---|---|
RLOrderLevelPromotion() Constructor |
Method Summary | |
---|---|
java.lang.String |
generatePromotionLevelSpecificRuleXML() Generate promotion level specific rule XML |
java.lang.Integer |
getPromotionDisplayLevel() Displaying for order level promotion, return order level display flag |
java.util.Vector |
getRanges() For User Interface displaying, get ranges |
java.util.Vector |
getValues() For User Interface displaying, get values of the range |
boolean |
isInCombinationWithProductLevelPromotion() Check if this discount is combined with product level promotion, true is yes. |
void |
populatePromotionLevelSpecificDataFrom(java.util.Map h) Populate the promotion level specific data from User Interface input to this object. |
void |
populatePromotionLevelSpecificDataFrom(java.lang.String xmlString) Populate the promotion level specific data from XML String to User Interface |
void |
populatePromotionSpecificDataFrom(java.util.Map h) Populate the promotion specific data such as ranges and values from User Interface input |
void |
setRanges(java.util.Vector newRanges) Sets the ranges |
void |
setValues(java.util.Vector newValues) Sets the values |
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 RLOrderLevelPromotion()
Method Detail |
---|
public final java.lang.String generatePromotionLevelSpecificRuleXML()
generatePromotionLevelSpecificRuleXML
in class
RLPromotion
public final java.lang.Integer getPromotionDisplayLevel()
getPromotionDisplayLevel
in class
RLPromotion
public boolean isInCombinationWithProductLevelPromotion()
public java.util.Vector getValues()
public java.util.Vector getRanges()
public final void populatePromotionLevelSpecificDataFrom(java.lang.String xmlString)
populatePromotionLevelSpecificDataFrom
in class
RLPromotion
xmlString
- java.lang.Stringpublic final void populatePromotionLevelSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionLevelSpecificDataFrom
in class
RLPromotion
h
- java.util.Map
ParameterNotFoundException
public void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionSpecificDataFrom
in class
RLPromotion
h
- java.util.Map
ParameterNotFoundException
public void setRanges(java.util.Vector newRanges)
public void setValues(java.util.Vector newValues)