com.retek.component.promotion
Interface Promotion
- All Superinterfaces:
- BusinessObject, DistributedObject
- All Known Implementing Classes:
- PromotionImpl
- public interface Promotion
- extends DistributedObject
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
START_DATE
public static final java.lang.String START_DATE
- See Also:
- Constant Field Values
END_DATE
public static final java.lang.String END_DATE
- See Also:
- Constant Field Values
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
BANNER
public static final java.lang.String BANNER
- See Also:
- Constant Field Values
CHANNELTYPE
public static final java.lang.String CHANNELTYPE
- See Also:
- Constant Field Values
PROMOTION_FORMAT_TYPE
public static final java.lang.String PROMOTION_FORMAT_TYPE
- See Also:
- Constant Field Values
PROMOTION_TRIGGER_TYPE
public static final java.lang.String PROMOTION_TRIGGER_TYPE
- See Also:
- Constant Field Values
DOLLAR_OR_PERCENTOFF
public static final java.lang.String DOLLAR_OR_PERCENTOFF
- See Also:
- Constant Field Values
PROMOTION_DISCOUNT_AMOUNT
public static final java.lang.String PROMOTION_DISCOUNT_AMOUNT
- See Also:
- Constant Field Values
PROMOTION_DETAIL_TYPE
public static final java.lang.String PROMOTION_DETAIL_TYPE
- See Also:
- Constant Field Values
PROMOTION_SOURCE_CODE
public static final java.lang.String PROMOTION_SOURCE_CODE
- See Also:
- Constant Field Values
PROMOTION_BENEFITS
public static final java.lang.String PROMOTION_BENEFITS
- See Also:
- Constant Field Values
PROMOTION_THRESHOLD_ITEM
public static final java.lang.String PROMOTION_THRESHOLD_ITEM
- See Also:
- Constant Field Values
PROMOTION_QUANTITY
public static final java.lang.String PROMOTION_QUANTITY
- See Also:
- Constant Field Values
getBanner
public Banner getBanner()
throws SystemException
- Throws:
SystemException
getChannelType
public ChannelType getChannelType()
throws SystemException
- Throws:
SystemException
getStartDate
public RDate getStartDate()
throws SystemException
- Throws:
SystemException
getEndDate
public RDate getEndDate()
throws SystemException
- Throws:
SystemException
getStatus
public PromotionStatus getStatus()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getPromotionName
public java.lang.String getPromotionName()
throws SystemException
- Throws:
SystemException
getDescription
public java.lang.String getDescription()
throws SystemException
- Throws:
SystemException
getPromotionId
public java.lang.String getPromotionId()
throws SystemException
- Throws:
SystemException
getLastUpdatedByUser
public User getLastUpdatedByUser()
throws SystemException
- Throws:
SystemException
getCreatedByUser
public User getCreatedByUser()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getLastUpdatedDate
public RDate getLastUpdatedDate()
throws SystemException
- Throws:
SystemException
getPromotionTriggerType
public PromotionTriggerType getPromotionTriggerType()
throws SystemException
- Throws:
SystemException
getPromotionFormatType
public PromotionFormatType getPromotionFormatType()
throws SystemException
- Throws:
SystemException
getSourceCodes
public java.util.Set getSourceCodes()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getSellingLists
public java.util.Set getSellingLists()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
setPromotionName
public void setPromotionName(java.lang.String name)
throws SystemException
- Throws:
SystemException
setBanner
public void setBanner(Banner banner)
throws SystemException
- Throws:
SystemException
setChannelType
public void setChannelType(ChannelType channelType)
throws SystemException
- Throws:
SystemException
setStartDate
public void setStartDate(RDate startDate)
throws SystemException
- Throws:
SystemException
setEndDate
public void setEndDate(RDate endDate)
throws SystemException
- Throws:
SystemException
setPromotionTriggerType
public void setPromotionTriggerType(PromotionTriggerType promotionTriggerType)
throws SystemException
- Throws:
SystemException
addSourceCode
public void addSourceCode(SourceCode sourceCode)
throws SystemException
- Throws:
SystemException
removeSourceCode
public void removeSourceCode(SourceCode sourceCode)
throws SystemException
- Throws:
SystemException
removeAllSourceCodes
public void removeAllSourceCodes()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
removeOfferCode
public void removeOfferCode(OfferCode offerCode)
throws SystemException
- Throws:
SystemException
removeAllOfferCodes
public void removeAllOfferCodes()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
addSellingList
public void addSellingList(SellingList sellingList)
throws SystemException
- Throws:
SystemException
removeSellingList
public void removeSellingList(SellingList sellingList)
throws SystemException
- Throws:
SystemException
removeAllSellingLists
public void removeAllSellingLists()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
isPercentOffBenefits
public boolean isPercentOffBenefits()
throws SystemException
- Throws:
SystemException
isDollarOffBenefits
public boolean isDollarOffBenefits()
throws SystemException
- Throws:
SystemException
getTotalDollarOffForBenefits
public Money getTotalDollarOffForBenefits()
throws SystemException
- Throws:
SystemException
setBenefit
public void setBenefit(PromotionBenefit promoBenefit)
throws SystemException
- Throws:
SystemException
setBenefits
public void setBenefits(java.util.Set newBenefits)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
setSellingListItemBenefits
public void setSellingListItemBenefits(java.util.Set newBenefits)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
getBenefits
public java.util.Set getBenefits()
throws SystemException
- Throws:
SystemException
getThresholds
public java.util.Set getThresholds()
throws SystemException
- Throws:
SystemException
setThreshold
public void setThreshold(PromotionThreshold threshold)
throws SystemException
- Throws:
SystemException
setThresholds
public void setThresholds(java.util.Set newThresholds)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
submit
public void submit(User user)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
hasOrderBenefits
public boolean hasOrderBenefits()
throws SystemException
- Throws:
SystemException
hasItemBenefits
public boolean hasItemBenefits()
throws SystemException
- Throws:
SystemException
hasServiceBenefits
public boolean hasServiceBenefits()
throws SystemException
- Throws:
SystemException
setThreshold
public void setThreshold(boolean threshold)
isThreshold
public boolean isThreshold()
addOfferCode
public void addOfferCode(OfferCode offerCode)
throws SystemException
- Throws:
SystemException
addTenderType
public void addTenderType(TenderType tenderType)
throws SystemException
- Throws:
SystemException
removeTenderType
public void removeTenderType(TenderType tenderType)
throws SystemException
- Throws:
SystemException
removeAllTenderTypes
public void removeAllTenderTypes()
throws SystemException
- Throws:
SystemException
getOfferCodes
public java.util.Set getOfferCodes()
throws SystemException
- Throws:
SystemException
getTenderTypes
public java.util.Set getTenderTypes()
throws SystemException
- Throws:
SystemException
isTriggerTenderType
public boolean isTriggerTenderType()
throws SystemException
- Throws:
SystemException
addBenefit
public void addBenefit(PromotionBenefit benefit)
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
removeBenefit
public void removeBenefit(PromotionBenefit benefit)
throws SystemException
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28