com.ibm.commerce.tools.epromotion
Class RLProductLevelPromotion

java.lang.Object
  |
  +--com.ibm.commerce.tools.epromotion.RLPromotion
        |
        +--com.ibm.commerce.tools.epromotion.RLProductLevelPromotion
All Implemented Interfaces:
RLConstants
Direct Known Subclasses:
RLRangedProductLevelPromotion, RLSingleRangeProductLevelPromotion

public abstract class RLProductLevelPromotion
extends RLPromotion

This class represents a type of rule based product level promotion


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Fields inherited from interface com.ibm.commerce.tools.epromotion. RLConstants
CATEGORY_LEVEL_DISPLAY_FLAG, DISCOUNT_DEPLOYMENT, EC_CALCODE_ID, EC_CODE, EC_DESCRIPTION, EC_DISCOUNTNAME, EC_ENDDATE, EC_ORDERBY, EC_PRIORITY, EC_RANGE_MAX, EC_STARTDATE, EC_STATUS, ERROR_PROMOTION_DELETED_DUPLICATE_CODE, ERROR_PROMOTION_DUPLICATE_CODE, ERROR_PROMOTION_NOT_SAVED, ERROR_PROMOTION_NOT_UPDATED, MSG_PROMOTION_SAVED, MSG_PROMOTION_UPDATED, NEVER_EXPIRE, ORDER_LEVEL_DISPLAY_FLAG, PRODUCT_LEVEL_DISPLAY_FLAG, REST_OF_TIMESTRING, RLPROMOTION, RLPROMOTION_ASSIGNEDSEGMENTS, RLPROMOTION_CATEGORYLEVELBUYXGETYFREE, RLPROMOTION_CATEGORYLEVELPERCENTDISCOUNT, RLPROMOTION_CATEGORYLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_CATEGORYLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_CATEGORYLEVELVALUEDISCOUNT, RLPROMOTION_CATENTRY_ID, RLPROMOTION_CATENTRY_TYPE, RLPROMOTION_CATGROUP_CODE, RLPROMOTION_CATGROUP_ID, RLPROMOTION_CURRENCY, RLPROMOTION_DATERANGED, RLPROMOTION_DAYSINWEEK, RLPROMOTION_DESCRIPTION, RLPROMOTION_DESCRIPTION_LONG_NL, RLPROMOTION_DESCRIPTION_NL, RLPROMOTION_DISCOUNT_ITEM_QTY, RLPROMOTION_DISCOUNT_ITEM_SKU, RLPROMOTION_DISPLAY_LEVEL, RLPROMOTION_ENDDAY, RLPROMOTION_ENDHOUR, RLPROMOTION_ENDMONTH, RLPROMOTION_ENDYEAR, RLPROMOTION_FRIDAY, RLPROMOTION_GWP_CATENTRY_ID, RLPROMOTION_INCOMBINATIONWITH, RLPROMOTION_ISEVERYDAYFLAG, RLPROMOTION_ITEMLEVELBUYXGETYFREE, RLPROMOTION_ITEMLEVELPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_ITEMLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELVALUEDISCOUNT, RLPROMOTION_MAX_DISCOUNT_ITEM_QTY, RLPROMOTION_MERCHANDISE_TYPE, RLPROMOTION_MONDAY, RLPROMOTION_NAME, RLPROMOTION_ORDERLEVELFIXEDSHIPPINGDISCOUNT, RLPROMOTION_ORDERLEVELFREEGIFT, RLPROMOTION_ORDERLEVELPERCENTDISCOUNT, RLPROMOTION_ORDERLEVELVALUEDISCOUNT, RLPROMOTION_PRIORITY, RLPROMOTION_PROD_SEARCH_PAGE, RLPROMOTION_PRODUCT_SKU, RLPROMOTION_PRODUCTLEVELBUYXGETYFREE, RLPROMOTION_PRODUCTLEVELPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_PRODUCTLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELVALUEDISCOUNT, RLPROMOTION_RANGES, RLPROMOTION_REQUIRED_QTY, RLPROMOTION_RESOURCES, RLPROMOTION_SATURDAY, RLPROMOTION_SHIPMODEID, RLPROMOTION_STARTDAY, RLPROMOTION_STARTHOUR, RLPROMOTION_STARTMONTH, RLPROMOTION_STARTYEAR, RLPROMOTION_SUNDAY, RLPROMOTION_TARGETSALES, RLPROMOTION_THURSDAY, RLPROMOTION_TIMERANGED, RLPROMOTION_TUESDAY, RLPROMOTION_TYPE, RLPROMOTION_VALIDFORALLCUSTOMERS, RLPROMOTION_VALUE, RLPROMOTION_VALUES, RLPROMOTION_WEDNESDAY, ZERO_STRING
 
Constructor Summary
RLProductLevelPromotion()
          Default constructor of this class
 
Method Summary
 java.lang.String generatePromotionLevelSpecificRuleXML()
          Generate promotion level specific rule XML
 java.util.Vector getCatalogEntryIDs()
          Returns the catalogEntryIDs.
protected  java.lang.String getMinimumQuantityToQualifyTagName()
          Return a tag name for minimum product quantity to qualify the discount
 java.lang.Integer getPromotionDisplayLevel()
          Get product level display flag
 void populatePromotionLevelSpecificDataFrom(java.util.Map h)
          Populate promotion level specific data from User Interface input to this object
 void populatePromotionLevelSpecificDataFrom(java.lang.String xmlString)
          Populate promotion level specific data from XML String to User Interface
 void setCatalogEntryIDs(java.util.Vector newCatalogEntryIDs)
          Sets the catalogEntryIDs.
 
Methods inherited from class com.ibm.commerce.tools.epromotion. RLPromotion
generatePromotionSpecificRuleXML, generateRuleXML, getAssignedSegments, getCurrency, getDayInWeek, getDaysInWeek, getDescription, getDescriptionLongNL, getDescriptionNL, getEndTimeStamp, getName, getPriority, getRlPromotionType, getRLPromotionType, getStartTimeStamp, getStatus, getTargetSalesFigure, isDateRanged, isTimeRanged, isValidForAllCustomers, populateFrom, populateFrom, populatePromotionSpecificDataFrom, populatePromotionSpecificDataFrom, 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
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

RLProductLevelPromotion

public RLProductLevelPromotion()
Default constructor of this class
Method Detail

generatePromotionLevelSpecificRuleXML

public final java.lang.String generatePromotionLevelSpecificRuleXML()
Generate promotion level specific rule XML
Specified by:
generatePromotionLevelSpecificRuleXML in class RLPromotion
Returns:
java.lang.String

getMinimumQuantityToQualifyTagName

protected java.lang.String getMinimumQuantityToQualifyTagName()
Return a tag name for minimum product quantity to qualify the discount
Returns:
java.lang.String

getPromotionDisplayLevel

public final java.lang.Integer getPromotionDisplayLevel()
Get product level display flag
Specified by:
getPromotionDisplayLevel in class RLPromotion
Returns:
java.lang.Integer

populatePromotionLevelSpecificDataFrom

public final void populatePromotionLevelSpecificDataFrom(java.lang.String xmlString)
Populate promotion level specific data from XML String to User Interface
Specified by:
populatePromotionLevelSpecificDataFrom in class RLPromotion
Parameters:
xmlString - java.lang.String

populatePromotionLevelSpecificDataFrom

public final void populatePromotionLevelSpecificDataFrom(java.util.Map h)
                                                  throws ParameterNotFoundException
Populate promotion level specific data from User Interface input to this object
Specified by:
populatePromotionLevelSpecificDataFrom in class RLPromotion
Parameters:
h - java.util.Map
Throws:
ParameterNotFoundException

getCatalogEntryIDs

public java.util.Vector getCatalogEntryIDs()
Returns the catalogEntryIDs.
Returns:
Vector

setCatalogEntryIDs

public void setCatalogEntryIDs(java.util.Vector newCatalogEntryIDs)
Sets the catalogEntryIDs.