© 2004 BEA Systems, Inc.

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

public void adjust(List poolObjects,
                   AdjustmentDetail aDetail)

adjust

public void adjust(PoolObject object,
                   AdjustmentDetail aDetail)

getCurrency

public String getCurrency()

getDetail

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

remove

public void remove(Iterator poolObjects)
Returns:
void
See Also:
PoolObject

remove

public void remove(PoolObject anObject)
Returns:
void
See Also:
PoolObject

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved