com.retek.component.promotion.impl
Class PromotionManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.promotion.impl.PromotionManagerImpl
All Implemented Interfaces:
DistributedObjectManager, PromotionManager

public class PromotionManagerImpl
extends DistributedObjectManagerImpl
implements PromotionManager


Constructor Summary
PromotionManagerImpl(DistributedContext context)
           
 
Method Summary
 GiftCertificateBenefit buildGiftCertificateBenefitInstance()
           
 ItemBenefit buildItemBenefitInstance()
           
 ItemCurrencyAmountThreshold buildItemCurrencyAmountThresholdInstance()
           
 ItemQuantityThreshold buildItemQuantityThresholdInstance()
           
 LineMerchAmountBenefit buildLineMerchAmountBenefitInstance()
           
 OrderCurrencyAmountThreshold buildOrderCurrencyAmountThresholdInstance()
           
 OrderMerchAmountBenefit buildOrderMerchAmountBenefitInstance()
           
 OrderQuantityThreshold buildOrderQuantityThresholdInstance()
           
 OrderServiceAmountBenefit buildOrderServiceAmountBenefitInstance()
           
 PlanCodeBenefit buildPlanCodeBenefitInstance()
           
 Promotion buildPromotionInstance()
           
 SellingListItemBenefit buildSellingListItemBenefitInstance()
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set findActivePromotionsForAltSellingList(PromotionSearchCriteria criteria)
           
 java.util.Set findActivePromotionsForOfferCode(DistributedReference offerCodeRef)
           
 java.util.Set findActivePromotionsForSourceCode(DistributedReference sourceCodeRef)
           
 java.util.Set findAllPromotions()
           
 java.util.Set findPromotions(DistributedReference sourceCodeRef, RDate promoAppliedDate)
           
 java.util.Set findPromotions(PromotionSearchCriteria criteria)
           
 Promotion readPromotion(DistributedReference ref)
           
 ReceivableItem readReceivableItem(DistributedReference ref)
           
 ThresholdableItem readThresholdableItem(DistributedReference ref)
           
 void updateSellingListPromotion(SellingList sellingList, User user)
           
 void validatePromotionAltSellingList(PromotionSearchCriteria criteria, java.util.List sellingLists)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Constructor Detail

PromotionManagerImpl

public PromotionManagerImpl(DistributedContext context)
Method Detail

buildOrderMerchAmountBenefitInstance

public OrderMerchAmountBenefit buildOrderMerchAmountBenefitInstance()
                                                             throws SystemException
Specified by:
buildOrderMerchAmountBenefitInstance in interface PromotionManager
Throws:
SystemException

buildLineMerchAmountBenefitInstance

public LineMerchAmountBenefit buildLineMerchAmountBenefitInstance()
                                                           throws SystemException
Specified by:
buildLineMerchAmountBenefitInstance in interface PromotionManager
Throws:
SystemException

buildOrderServiceAmountBenefitInstance

public OrderServiceAmountBenefit buildOrderServiceAmountBenefitInstance()
                                                                 throws SystemException
Specified by:
buildOrderServiceAmountBenefitInstance in interface PromotionManager
Throws:
SystemException

buildItemBenefitInstance

public ItemBenefit buildItemBenefitInstance()
                                     throws SystemException
Specified by:
buildItemBenefitInstance in interface PromotionManager
Throws:
SystemException

buildSellingListItemBenefitInstance

public SellingListItemBenefit buildSellingListItemBenefitInstance()
                                                           throws SystemException
Specified by:
buildSellingListItemBenefitInstance in interface PromotionManager
Throws:
SystemException

buildGiftCertificateBenefitInstance

public GiftCertificateBenefit buildGiftCertificateBenefitInstance()
                                                           throws SystemException
Specified by:
buildGiftCertificateBenefitInstance in interface PromotionManager
Throws:
SystemException

buildPlanCodeBenefitInstance

public PlanCodeBenefit buildPlanCodeBenefitInstance()
                                             throws SystemException
Specified by:
buildPlanCodeBenefitInstance in interface PromotionManager
Throws:
SystemException

buildOrderCurrencyAmountThresholdInstance

public OrderCurrencyAmountThreshold buildOrderCurrencyAmountThresholdInstance()
                                                                       throws SystemException
Specified by:
buildOrderCurrencyAmountThresholdInstance in interface PromotionManager
Throws:
SystemException

buildOrderQuantityThresholdInstance

public OrderQuantityThreshold buildOrderQuantityThresholdInstance()
                                                           throws SystemException
Specified by:
buildOrderQuantityThresholdInstance in interface PromotionManager
Throws:
SystemException

buildItemCurrencyAmountThresholdInstance

public ItemCurrencyAmountThreshold buildItemCurrencyAmountThresholdInstance()
                                                                     throws SystemException
Specified by:
buildItemCurrencyAmountThresholdInstance in interface PromotionManager
Throws:
SystemException

buildItemQuantityThresholdInstance

public ItemQuantityThreshold buildItemQuantityThresholdInstance()
                                                         throws SystemException
Specified by:
buildItemQuantityThresholdInstance in interface PromotionManager
Throws:
SystemException

readPromotion

public Promotion readPromotion(DistributedReference ref)
                        throws SystemException
Specified by:
readPromotion in interface PromotionManager
Throws:
SystemException

readReceivableItem

public ReceivableItem readReceivableItem(DistributedReference ref)
                                  throws SystemException
Specified by:
readReceivableItem in interface PromotionManager
Throws:
SystemException

readThresholdableItem

public ThresholdableItem readThresholdableItem(DistributedReference ref)
                                        throws SystemException
Specified by:
readThresholdableItem in interface PromotionManager
Throws:
SystemException

findAllPromotions

public java.util.Set findAllPromotions()
                                throws SystemException
Specified by:
findAllPromotions in interface PromotionManager
Throws:
SystemException

findPromotions

public java.util.Set findPromotions(PromotionSearchCriteria criteria)
                             throws SystemException
Specified by:
findPromotions in interface PromotionManager
Throws:
SystemException

findActivePromotionsForSourceCode

public java.util.Set findActivePromotionsForSourceCode(DistributedReference sourceCodeRef)
                                                throws SystemException
Specified by:
findActivePromotionsForSourceCode in interface PromotionManager
Throws:
SystemException

findActivePromotionsForAltSellingList

public java.util.Set findActivePromotionsForAltSellingList(PromotionSearchCriteria criteria)
                                                    throws SystemException
Specified by:
findActivePromotionsForAltSellingList in interface PromotionManager
Throws:
SystemException

findActivePromotionsForOfferCode

public java.util.Set findActivePromotionsForOfferCode(DistributedReference offerCodeRef)
                                               throws SystemException
Specified by:
findActivePromotionsForOfferCode in interface PromotionManager
Throws:
SystemException

validatePromotionAltSellingList

public void validatePromotionAltSellingList(PromotionSearchCriteria criteria,
                                            java.util.List sellingLists)
                                     throws SystemException,
                                            BusinessException
Specified by:
validatePromotionAltSellingList in interface PromotionManager
Throws:
SystemException
BusinessException

findPromotions

public java.util.Set findPromotions(DistributedReference sourceCodeRef,
                                    RDate promoAppliedDate)
                             throws SystemException,
                                    BusinessException
Throws:
SystemException
BusinessException

buildPromotionInstance

public Promotion buildPromotionInstance()
                                 throws SystemException
Specified by:
buildPromotionInstance in interface PromotionManager
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException

updateSellingListPromotion

public void updateSellingListPromotion(SellingList sellingList,
                                       User user)
                                throws SystemException,
                                       BusinessException
Specified by:
updateSellingListPromotion in interface PromotionManager
Throws:
SystemException
BusinessException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28