|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.commerce.ebusiness.price.engine.pool.OrderPoolImpl
Represents a collection of PoolObject(s). The ItemPoolImpl interface provides methods for querying the underlying objects and also to remove objects from the working collection.
Field Summary | |
static java.lang.String |
cName
|
static int |
LONG
|
static int |
SHORT
|
Constructor Summary | |
OrderPoolImpl()
|
|
OrderPoolImpl(com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
|
Method Summary | |
void |
adjust(java.util.List poolObjects,
AdjustmentDetail aDetail)
Adjust the price of a List of
PoolObject as specified in the
AdjustmentDetail . |
void |
adjust(PoolObject object,
AdjustmentDetail aDetail)
Adjust the price of a PoolObject as specified in the
AdjustmentDetail . |
OrderQuery |
getByPrice(OrderQuery aQuery)
Perform the query as specified by the query object passed in and return the query object with the results added. |
java.lang.String |
getCurrency()
|
int |
getCurrentSize()
|
AdjustmentDetail |
getDetail(AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object discountID)
|
Quote |
getQuote()
|
void |
remove(java.util.Iterator poolObjects)
|
void |
remove(PoolObject anObject)
|
void |
set(com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
|
java.lang.String |
toString()
|
java.lang.String |
toString(int type)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String cName
public static final int SHORT
public static final int LONG
Constructor Detail |
public OrderPoolImpl()
public OrderPoolImpl(com.bea.commerce.ebusiness.price.service.internal.PricingContext context, Quote quote)
Method Detail |
public void set(com.bea.commerce.ebusiness.price.service.internal.PricingContext context, Quote quote)
public int getCurrentSize()
public Quote getQuote()
public java.lang.String getCurrency()
public AdjustmentDetail getDetail(AdjustmentType type, Money initialPrice, Money endPrice, java.lang.String computation, java.lang.String reason, java.lang.Object discountID)
public OrderQuery getByPrice(OrderQuery aQuery)
public void adjust(PoolObject object, AdjustmentDetail aDetail)
PoolObject
as specified in the
AdjustmentDetail
.
object
- the PoolObject
to adjust the price of.aDetail
- the AdjustmentDetail
to apply to the object.public void adjust(java.util.List poolObjects, AdjustmentDetail aDetail)
List
of
PoolObject
as specified in the
AdjustmentDetail
.
poolObject
- a List
of PoolObject
s to adjust.aDetail
- the AdjustmentDetail
to apply to the objects.public void remove(PoolObject anObject)
OrderObject
- the object to be removed from the collection.OrderObject
public void remove(java.util.Iterator poolObjects)
List
- a set of PoolObjects to be removed from the collection.PoolObject
public java.lang.String toString()
public java.lang.String toString(int type)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |