com.retek.component.promotion
Interface PromotionThresholdVisitor


public interface PromotionThresholdVisitor

Interface defining operations for a threshold visitor. See GOF Visitor design pattern.


Method Summary
 void visitItemCurrencyAmountThreshold(Promotion promotion, ItemCurrencyAmountThreshold threshold)
          Visit an ItemCurrencyAmountThreshold object.
 void visitItemQuantityThreshold(Promotion promotion, ItemQuantityThreshold threshold)
          Visit an ItemQuantityThreshold object.
 void visitOrderCurrencyAmountThreshold(Promotion promotion, OrderCurrencyAmountThreshold threshold)
          Visit an OrderCurrencyAmountThreshold object.
 void visitOrderQuantityThreshold(Promotion promotion, OrderQuantityThreshold threshold)
          Visit an OrderQuantityThreshold object.
 

Method Detail

visitItemCurrencyAmountThreshold

public void visitItemCurrencyAmountThreshold(Promotion promotion,
                                             ItemCurrencyAmountThreshold threshold)
                                      throws SystemException
Visit an ItemCurrencyAmountThreshold object.

Parameters:
promotion - promotion for the threshold visitee
threshold - item currency threshold visitee
Throws:
SystemException

visitItemQuantityThreshold

public void visitItemQuantityThreshold(Promotion promotion,
                                       ItemQuantityThreshold threshold)
                                throws SystemException
Visit an ItemQuantityThreshold object.

Parameters:
promotion - promotion for the threshold visitee
threshold - item quantity threshold visitee
Throws:
SystemException

visitOrderCurrencyAmountThreshold

public void visitOrderCurrencyAmountThreshold(Promotion promotion,
                                              OrderCurrencyAmountThreshold threshold)
                                       throws SystemException
Visit an OrderCurrencyAmountThreshold object.

Parameters:
promotion - promotion for the threshold visitee
threshold - item currency threshold visitee
Throws:
SystemException

visitOrderQuantityThreshold

public void visitOrderQuantityThreshold(Promotion promotion,
                                        OrderQuantityThreshold threshold)
                                 throws SystemException
Visit an OrderQuantityThreshold object.

Parameters:
promotion - promotion for the threshold visitee
threshold - order quantity threshold visitee
Throws:
SystemException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25