|
© 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.ItemPoolImpl
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 int |
INIT_MAP_SIZE
|
static int |
LONG
|
static int |
SHORT
|
Constructor Summary | |
ItemPoolImpl(ItemObjectFactory factory)
|
|
ItemPoolImpl(ItemObjectFactory factory,
com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
|
Method Summary | |
void |
adjust(java.util.List poolObjects,
AdjustmentDetail aDetail)
|
void |
adjust(PoolObject object,
AdjustmentDetail aDetail)
|
static java.lang.String |
catMapToString(java.util.Map map,
int size,
int type)
|
PoolQuery |
getByPrice(PoolQuery query)
Perform the query as specified by the query object passed in and return the query object with the results added. |
java.lang.String |
getCurrency()
|
java.util.Map |
getCurrentMap()
|
int |
getCurrentSize()
|
AdjustmentDetail |
getDetail(AdjustmentType type,
Money initialPrice,
Money endPrice,
java.lang.String computation,
java.lang.String reason,
java.lang.Object discountID)
|
Quote |
getQuote()
|
static java.lang.String |
itemMapToString(java.util.Map map)
|
static java.lang.String |
mapToString(java.util.Map map)
|
static java.lang.String |
productItemListToString(java.util.List list)
|
void |
remove(java.util.Iterator poolObjects)
|
void |
remove(PoolObject poolObject)
|
void |
set(ItemObjectFactory factory,
com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
|
void |
set(com.bea.commerce.ebusiness.price.service.internal.PricingContext context,
Quote quote)
|
static java.lang.String |
skuMapToString(java.util.Map map,
int size,
int type)
|
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 int SHORT
public static final int LONG
public static final int INIT_MAP_SIZE
Constructor Detail |
public ItemPoolImpl(ItemObjectFactory factory)
public ItemPoolImpl(ItemObjectFactory factory, com.bea.commerce.ebusiness.price.service.internal.PricingContext context, Quote quote) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
Method Detail |
public void set(com.bea.commerce.ebusiness.price.service.internal.PricingContext context, Quote quote) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
public void set(ItemObjectFactory factory, com.bea.commerce.ebusiness.price.service.internal.PricingContext context, Quote quote) throws java.rmi.RemoteException, CatalogFinderException, CatalogException
public void remove(java.util.Iterator poolObjects)
List
- a set of PoolObjects to be removed from the collection.PoolObject
public void remove(PoolObject poolObject)
PoolObject
- the object to be removed from the collection.PoolObject
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 PoolQuery getByPrice(PoolQuery query)
public void adjust(PoolObject object, AdjustmentDetail aDetail)
public void adjust(java.util.List poolObjects, AdjustmentDetail aDetail)
public java.util.Map getCurrentMap()
public java.lang.String toString()
public java.lang.String toString(int type)
public static java.lang.String mapToString(java.util.Map map)
public static java.lang.String itemMapToString(java.util.Map map)
public static java.lang.String skuMapToString(java.util.Map map, int size, int type)
public static java.lang.String catMapToString(java.util.Map map, int size, int type)
public static java.lang.String productItemListToString(java.util.List list)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |