com.retek.component.customerorder.impl
Class PromotionItemGroup

java.lang.Object
  extended bycom.retek.component.customerorder.impl.PromotionGroup
      extended bycom.retek.component.customerorder.impl.PromotionItemGroup

public class PromotionItemGroup
extends PromotionGroup


Nested Class Summary
 
Nested classes inherited from class com.retek.component.customerorder.impl.PromotionGroup
PromotionGroup.DistributablePromotionDiscount
 
Constructor Summary
PromotionItemGroup(User user, CustomerOrder order, CustomerOrderApplyPromotionsHelper promotionAnalyzer)
           
 
Method Summary
 void applyItemThresholdPromotions()
           
 void applyOrderThresholdPromotions()
           
protected  void distributeDollarOffBenefits(java.util.Set dollarOffPromotions)
           
protected  void distributePercentOffBenefits(java.util.Set percentOffPromotions)
           
 void doApplyDiscountToOrder(PromotionGroup.DistributablePromotionDiscount distributableDiscount, Money discountableAmount)
           
 CustomerOrderLineImpl getBenefitOrderLine(Promotion promotion)
           
 Money getDiscountableAmount(Promotion promotion)
           
protected  PromotionBenefit getPromotionBenefit(Promotion promotion)
           
 
Methods inherited from class com.retek.component.customerorder.impl.PromotionGroup
addPromotion, applyDiscount, applyDiscountToOrderLine, applyDiscountToServiceLine, buildLinePromotionDiscount, distributeDollarOffAndPercentOffBenefits, getDiscountableOrderLines, getOrder, getPromotions, getPromotionsHelper, getUser, isApplicableForPromotionDiscounts, isDiscountable, reapplyLockedDiscountsForOrderLine, reapplyLockedDiscountsForServiceLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionItemGroup

public PromotionItemGroup(User user,
                          CustomerOrder order,
                          CustomerOrderApplyPromotionsHelper promotionAnalyzer)
Method Detail

applyItemThresholdPromotions

public final void applyItemThresholdPromotions()
                                        throws SystemException,
                                               BusinessException
Throws:
SystemException
BusinessException

applyOrderThresholdPromotions

public final void applyOrderThresholdPromotions()
                                         throws SystemException,
                                                BusinessException
Throws:
SystemException
BusinessException

distributeDollarOffBenefits

protected final void distributeDollarOffBenefits(java.util.Set dollarOffPromotions)
                                          throws SystemException,
                                                 BusinessException
Overrides:
distributeDollarOffBenefits in class PromotionGroup
Throws:
SystemException
BusinessException

distributePercentOffBenefits

protected final void distributePercentOffBenefits(java.util.Set percentOffPromotions)
                                           throws SystemException,
                                                  BusinessException
Overrides:
distributePercentOffBenefits in class PromotionGroup
Throws:
SystemException
BusinessException

doApplyDiscountToOrder

public final void doApplyDiscountToOrder(PromotionGroup.DistributablePromotionDiscount distributableDiscount,
                                         Money discountableAmount)
                                  throws SystemException,
                                         BusinessException
Specified by:
doApplyDiscountToOrder in class PromotionGroup
Throws:
SystemException
BusinessException

getBenefitOrderLine

public final CustomerOrderLineImpl getBenefitOrderLine(Promotion promotion)
                                                throws SystemException,
                                                       BusinessException
Throws:
SystemException
BusinessException

getDiscountableAmount

public final Money getDiscountableAmount(Promotion promotion)
                                  throws SystemException,
                                         BusinessException
Specified by:
getDiscountableAmount in class PromotionGroup
Throws:
SystemException
BusinessException

getPromotionBenefit

protected final PromotionBenefit getPromotionBenefit(Promotion promotion)
                                              throws SystemException,
                                                     BusinessException
Overrides:
getPromotionBenefit in class PromotionGroup
Throws:
SystemException
BusinessException


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