com.ibm.commerce.order.calculation
Class CodeTaxExemptionCache

java.lang.Object
  |
  +--com.ibm.commerce.order.calculation.Cache
        |
        +--com.ibm.commerce.order.calculation.CodeTaxExemptionCache

public class CodeTaxExemptionCache
extends Cache

A class that caches exempted tax category IDs by calculation code ID. This class essentially caches the CALCODTXEX table, with CALCODE_ID as the index.


Field Summary
static java.lang.String COPYRIGHT
          The IBM copyright notice field.
 
Fields inherited from class com.ibm.commerce.order.calculation. Cache
DEFAULT_MAX_SIZE
 
Constructor Summary
CodeTaxExemptionCache()
          Constructor for CodeTaxExemptionCache.
CodeTaxExemptionCache(int anMaxSize)
          Constructor for CodeTaxExemptionCache.
 
Method Summary
protected  java.lang.Object miss(java.lang.Object aKey)
          Returns exempted tax categories of a calculation code.
 
Methods inherited from class com.ibm.commerce.order.calculation. Cache
clear, get, getSize, remove, setMaxSize, setSize, toString
 
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 COPYRIGHT
The IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

CodeTaxExemptionCache

public CodeTaxExemptionCache()
Constructor for CodeTaxExemptionCache.

CodeTaxExemptionCache

public CodeTaxExemptionCache(int anMaxSize)
Constructor for CodeTaxExemptionCache.
Parameters:
anMaxSize - the maximum size of the cache.
Method Detail

miss

protected java.lang.Object miss(java.lang.Object aKey)
                         throws ECException
Returns exempted tax categories of a calculation code.
Specified by:
miss in class Cache
Parameters:
aKey - the calculation code ID.
Returns:
the exempted TaxCategory IDs.
Throws:
ECException