public class OrderItemAdjustmentCache extends Cache implements com.ibm.commerce.datatype.CustomProperty
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
DEFAULT_MAX_SIZE| Constructor and Description |
|---|
OrderItemAdjustmentCache()
Constructor for CodeCache.
|
OrderItemAdjustmentCache(int anMaxSize)
Constructor for CodeCache.
|
| Modifier and Type | Method and Description |
|---|---|
static OrderItemAdjustmentCache |
getInstance()
Returns the instance of OrderItemAdjustmentCache from the TransactionCache of the CommandContext.
|
OrderItemAdjustmentAccessBean[] |
getOrderItemAdjustmentAccessBeans(java.lang.Long aOrderItemId)
Returns an array of OrderItemAdjustmentAccessBean for specified OrderItemId
|
static void |
releaseInstance()
Releases the instance from the TransactionCache if there is one in the TransactionCache.
|
clear, get, getDefaultMaxSize, getMaxSize, remove, setMaxSize, setSize, toStringpublic static final java.lang.String COPYRIGHT
public OrderItemAdjustmentCache()
public OrderItemAdjustmentCache(int anMaxSize)
anMaxSize - the maximum size of the cache.public static OrderItemAdjustmentCache getInstance()
public static void releaseInstance()
public OrderItemAdjustmentAccessBean[] getOrderItemAdjustmentAccessBeans(java.lang.Long aOrderItemId) throws ECException
aOrderItemId - the OrderItemIdECException