com.bea.commerce.ebusiness.price.engine.pool
Interface Pool

All Known Subinterfaces:
ItemPool, OrderPool
All Known Implementing Classes:
ItemPoolImpl, OrderPoolImpl

public interface Pool

Represents a collection of PoolObject(s). The Pool interface provides methods for adjusting the price of the pool objects and also to remove the objects from the collection.


Method Summary
 void adjust(List poolObjects, AdjustmentDetail aDetail)
           
 void adjust(PoolObject object, AdjustmentDetail aDetail)
           
 String getCurrency()
           
 AdjustmentDetail getDetail(AdjustmentType type, Money initialPrice, Money endPrice, String computation, String reason, Object discountID)
           
 void remove(Iterator poolObjects)
           
 void remove(PoolObject anObject)
           
 

Method Detail

adjust

void adjust(List poolObjects,
            AdjustmentDetail aDetail)

adjust

void adjust(PoolObject object,
            AdjustmentDetail aDetail)

remove

void remove(PoolObject anObject)
Parameters
PoolObject - the object to be removed from the collection.
See Also
PoolObject

remove

void remove(Iterator poolObjects)
Parameters
List - a set of ItemPoolObjects to be removed from the collection.
See Also
PoolObject

getDetail

AdjustmentDetail getDetail(AdjustmentType type,
                           Money initialPrice,
                           Money endPrice,
                           String computation,
                           String reason,
                           Object discountID)

getCurrency

String getCurrency()


Copyright © 2006 BEA Systems, Inc. All Rights Reserved