com.retek.component.customerorder.impl
Interface PromotionDiscountable

All Known Implementing Classes:
CustomerOrderImpl, CustomerOrderLineImpl, CustomerOrderServiceLineImpl

public interface PromotionDiscountable

Interface defining responsibilities of a business object which is discountable for promotions within the customer order component. This interface is a special purpose interface for use only in the implementation package within customer order.


Method Summary
 void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
          Add a promotion discount to the business object.
 void clearPromotionDiscounts()
          Clear all non-locked promotion discounts on the business object.
 java.util.Collection getPromotionDiscounts()
          Return the promotion discounts for the business object.
 

Method Detail

getPromotionDiscounts

public java.util.Collection getPromotionDiscounts()
                                           throws SystemException
Return the promotion discounts for the business object.

Returns:
Collection CustomerOrderPromotionDiscount objects
Throws:
SystemException

addPromotionDiscount

public void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
                          throws SystemException
Add a promotion discount to the business object.

Parameters:
discount - customer order promotion discount
Throws:
SystemException

clearPromotionDiscounts

public void clearPromotionDiscounts()
                             throws SystemException
Clear all non-locked promotion discounts on the business object.

Throws:
SystemException


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