|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.commerce.ebusiness.price.engine.pool.OrderPoolImpl
@Deprecated public class 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 String |
cName
Deprecated |
static int |
LONG
Deprecated |
static int |
SHORT
Deprecated |
Constructor Summary | |
---|---|
OrderPoolImpl()
Deprecated |
|
OrderPoolImpl(com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
Deprecated |
Method Summary | |
---|---|
void |
adjust(List poolObjects,
AdjustmentDetail aDetail)
Deprecated Adjust the price of a List of
PoolObject as specified in the
AdjustmentDetail . |
void |
adjust(PoolObject object,
AdjustmentDetail aDetail)
Deprecated Adjust the price of a PoolObject as specified in the
AdjustmentDetail . |
OrderQuery |
getByPrice(OrderQuery aQuery)
Deprecated Perform the query as specified by the query object passed in and return the query object with the results added. |
String |
getCurrency()
Deprecated |
int |
getCurrentSize()
Deprecated |
AdjustmentDetail |
getDetail(AdjustmentType type,
Money initialPrice,
Money endPrice,
String computation,
String reason,
Object discountID)
Deprecated |
Quote |
getQuote()
Deprecated |
void |
remove(Iterator poolObjects)
Deprecated |
void |
remove(PoolObject anObject)
Deprecated |
void |
set(com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
Deprecated |
String |
toString()
Deprecated |
String |
toString(int type)
Deprecated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final 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)
set
in interface OrderPool
public int getCurrentSize()
getCurrentSize
in interface OrderPool
public Quote getQuote()
getQuote
in interface OrderPool
public String getCurrency()
getCurrency
in interface Pool
public AdjustmentDetail getDetail(AdjustmentType type, Money initialPrice, Money endPrice, String computation, String reason, Object discountID)
getDetail
in interface Pool
public OrderQuery getByPrice(OrderQuery aQuery)
getByPrice
in interface OrderPool
public void adjust(PoolObject object, AdjustmentDetail aDetail)
PoolObject
as specified in the
AdjustmentDetail
.
adjust
in interface Pool
object
- the PoolObject
to adjust the price of.aDetail
- the AdjustmentDetail
to apply to the object.public void adjust(List poolObjects, AdjustmentDetail aDetail)
List
of
PoolObject
as specified in the
AdjustmentDetail
.
adjust
in interface Pool
poolObject
- a List
of PoolObject
s to adjust.aDetail
- the AdjustmentDetail
to apply to the objects.public void remove(PoolObject anObject)
remove
in interface Pool
OrderObject
- the object to be removed from the collection.OrderObject
public void remove(Iterator poolObjects)
remove
in interface Pool
List
- a set of PoolObjects to be removed from the collection.PoolObject
public String toString()
toString
in class Object
public String toString(int type)
toString
in interface OrderPool
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |