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.
|
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
|
protected int | getSize(java.lang.Object aValue)
Returns a number of OrderItemAdjustments in the specified array.
|
protected java.lang.Object | miss(java.lang.Object aKey)
Returns the OrderItemAdjustments for the specified OrderItemId.
|
static void | releaseInstance()
Releases the instance from the TransactionCache if there is one in the TransactionCache.
|
public static final java.lang.String COPYRIGHT
public OrderItemAdjustmentCache()
public OrderItemAdjustmentCache(int anMaxSize)
public static OrderItemAdjustmentCache getInstance()
public static void releaseInstance()
protected java.lang.Object miss(java.lang.Object aKey) throws ECException
protected int getSize(java.lang.Object aValue)
public OrderItemAdjustmentAccessBean[] getOrderItemAdjustmentAccessBeans(java.lang.Long aOrderItemId) throws ECException