java.lang.Objectcom.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()
public final java.lang.Integer getPromotionDisplayLevel()
public boolean isInCombinationWithProductLevelPromotion()
public java.util.Vector getValues()
public java.util.Vector getRanges()
public final void populatePromotionLevelSpecificDataFrom(java.lang.String xmlString)
public final void populatePromotionLevelSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
public void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
public void setRanges(java.util.Vector newRanges)
public void setValues(java.util.Vector newValues)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.