public abstract class RLOrderLevelPromotion extends RLPromotion
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
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_STATE, 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, RLPRODPROMO_TYPEALIAS, RLPROMOTION, RLPROMOTION_ADJUSTMENT_TYPE, RLPROMOTION_ASSIGNEDSEGMENTIDS, 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_CODE_REQUIRED, RLPROMOTION_COUPON_EFFECTIVE_DAYS, RLPROMOTION_COUPON_EXPIRATION_DAYS, 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_EXCLUSIVENESS, RLPROMOTION_FRIDAY, RLPROMOTION_GROUP_NAME, RLPROMOTION_GWP_CATENTRY_ID, RLPROMOTION_INCOMBINATIONWITH, RLPROMOTION_ISCOUPON, RLPROMOTION_ISEVERYDAYFLAG, RLPROMOTION_ITEMLEVELBUYXGETYFREE, RLPROMOTION_ITEMLEVELPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_ITEMLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELVALUEDISCOUNT, RLPROMOTION_LAST_UPDATE_TIME, RLPROMOTION_LAST_UPDATE_USER, RLPROMOTION_LIST_ALL, RLPROMOTION_LIST_ORDERLEVEL, RLPROMOTION_LIST_PRODUCTLEVEL, RLPROMOTION_MAX_DISCOUNT_ITEM_QTY, RLPROMOTION_MERCHANDISE_TYPE, RLPROMOTION_MONDAY, RLPROMOTION_NAME, RLPROMOTION_ORDER_GROUP, RLPROMOTION_ORDERLEVELFIXEDSHIPPINGDISCOUNT, RLPROMOTION_ORDERLEVELFREEGIFT, RLPROMOTION_ORDERLEVELPERCENTDISCOUNT, RLPROMOTION_ORDERLEVELVALUEDISCOUNT, RLPROMOTION_ORIGINAL_STORE, RLPROMOTION_PER_ORDER_LIMIT, RLPROMOTION_PER_SHOPPER_LIMIT, RLPROMOTION_PRIORITY, RLPROMOTION_PROD_SEARCH_PAGE, RLPROMOTION_PRODUCT_GROUP, RLPROMOTION_PRODUCT_SKU, RLPROMOTION_PRODUCTLEVELBUYXGETYFREE, RLPROMOTION_PRODUCTLEVELPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_PRODUCTLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELVALUEDISCOUNT, RLPROMOTION_PROMOGROUP, RLPROMOTION_PROMOTION_CODE, RLPROMOTION_RANGES, RLPROMOTION_RELATED_STORE, RLPROMOTION_REQUIRED_QTY, RLPROMOTION_RESOURCES, RLPROMOTION_REVISION, RLPROMOTION_SATURDAY, RLPROMOTION_SHIPMODEID, RLPROMOTION_SHIPPING_GROUP, RLPROMOTION_STARTDAY, RLPROMOTION_STARTHOUR, RLPROMOTION_STARTMONTH, RLPROMOTION_STARTYEAR, RLPROMOTION_STATUS, RLPROMOTION_SUNDAY, RLPROMOTION_TARGETSALES, RLPROMOTION_THURSDAY, RLPROMOTION_TIMERANGED, RLPROMOTION_TOTAL_LIMIT, RLPROMOTION_TUESDAY, RLPROMOTION_TYPE, RLPROMOTION_VALIDFORALLCUSTOMERS, RLPROMOTION_VALUE, RLPROMOTION_VALUES, RLPROMOTION_VERSION, RLPROMOTION_WEDNESDAY, ZERO_STRING
Constructor and Description |
---|
RLOrderLevelPromotion()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generatePromotionLevelSpecificRuleXML()
Generate promotion level specific rule XML.
|
java.lang.Integer |
getPromotionDisplayLevel()
Displaying for order level promotion, return Order Level.
|
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.
|
fromXML, getAllowCouponTransfer, getAssignedSegmentIds, getAssignedSegments, getCodeRequired, getCouponEffectiveDays, getCouponExpirationDays, getCurrency, getDateRanged, getDayInWeek, getDaysInWeek, getDescription, getDescriptionLongNL, getDescriptionNL, getEndTimeStamp, getExclusive, getGroupName, getIsAdjustmentBasedOnStandardOfferPrice, getIsCoupon, getLanguageId, getLastUpdate, getLastUpdateUserId, getName, getPerOrderLimit, getPerShopperLimit, getPriority, getPromotionCode, getRevision, getRLPromotionType, getStartTimeStamp, getStatus, getStoreId, getTargetSalesFigure, getTimeRanged, getTotalLimit, getValidForAllCustomers, getVersion, setAllowCouponTransfer, setAssignedSegmentIds, setAssignedSegments, setCodeRequired, setCouponEffectiveDays, setCouponExpirationDays, setCurrency, setDaysInWeek, setDescription, setDescriptionLongNL, setDescriptionNL, setEndTimeStamp, setExclusive, setGroupName, setIsCoupon, setLanguageId, setLastUpdate, setLastUpdateUserId, setName, setPerOrderLimit, setPerShopperLimit, setPriority, setPromotionCode, setRevision, setRLPromotionType, setStartTimeStamp, setStatus, setStoreId, setTargetSalesFigure, setTotalLimit, setVersion, toXML
public static final java.lang.String COPYRIGHT
public final java.lang.String generatePromotionLevelSpecificRuleXML()
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)
xmlString
- the String used to populate the promotion level specific data.public final void populatePromotionLevelSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionLevelSpecificDataFrom
in class RLPromotion
h
- java.util.MapParameterNotFoundException
public void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionSpecificDataFrom
in class RLPromotion
h
- the map object used to get the data.ParameterNotFoundException
- when a parameter to populate cannont be found in the map object.public void setRanges(java.util.Vector newRanges)
ranges
- The ranges to setpublic void setValues(java.util.Vector newValues)
values
- The values to set