java.lang.Objectcom.ibm.commerce.order.calculation.CalculationRegistry
This registry caches tables referenced by the Calculation Framework. They include:
Field Summary | |
static java.lang.String | COPYRIGHT The IBM copyright field notice. |
Constructor Summary | |
CalculationRegistry() Constructor for CalculationRegistry. |
Method Summary | |
CalculationMethodAccessBean | getApplyCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
CalculationCodeAccessBean | getCode(java.lang.Integer anCodeId) |
CalculationMethodAccessBean | getCodeCombineMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
java.util.HashMap | getCodeDescriptions(java.lang.Integer anCodeId) |
java.lang.Long[] | getCodeMemberGroupIds(java.lang.Integer anCodeId) |
java.lang.Integer[] | getCodeTaxExemptions(java.lang.Integer anCodeId) |
CalculationCodeAccessBean | getDefaultCode(java.lang.Integer anStoreId, java.lang.Integer anUsageId, java.sql.Timestamp aTimestamp) |
CalculationRuleAccessBean[] | getEffectiveRules(java.lang.Integer anCodeId, java.sql.Timestamp aTimestamp) |
CalculationMethodAccessBean | getFinalizeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
CalculationCodeAccessBean[] | getIndirectlyAttachedCodes(java.lang.Long anCatalogEntryId, java.lang.Long anContractId, java.lang.Integer anStoreId, java.lang.Integer anUsageId, java.sql.Timestamp aTimestamp) |
CalculationMethodAccessBean | getInitializeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
static CalculationRegistry | getInstance() Returns an instance of this class. |
CalculationRangeLookupResultAccessBean | getLookupResult(java.lang.Integer anRangeId, java.lang.String astrCurrency, CommandContext commandContext) |
CalculationMethodAccessBean | getMethod(java.lang.Integer anMethodId) |
CalculationRangeAccessBean[] | getRangesInDescendingOrder(java.lang.Integer anScaleId, java.math.BigDecimal adLookupNumber) |
CalculationMethodAccessBean | getRuleCombineMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
java.lang.Long[] | getRuleMemberGroupIds(java.lang.Integer anRuleId) |
CalculationScaleAccessBean[] | getScales(java.lang.Integer anRuleId) |
ShippingJurisdictionGroupCalculationRuleAccessBean[] | getShippingRules(java.lang.Integer anFulfillmentCenterId, java.lang.Integer[] anJurisdictionIds, java.lang.Integer anShippingModeId) |
CalculationMethodAccessBean | getSummarizeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
java.lang.Integer[] | getTaxCategoryIds(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
TaxJurisdictionGroupCalculationRuleAccessBean[] | getTaxRules(java.lang.Integer anFulfillmentCenterId, java.lang.Integer[] anJurisdictionIds) |
TaxTypeAccessBean | getTaxType(java.lang.Integer anTaxTypeId) |
java.lang.Integer | getUsageFlags(java.lang.Integer anStoreId, java.lang.Integer anUsageId) |
java.lang.Integer[] | getUsageIds(java.lang.Integer anStoreId) |
void | initialize() Initializes a registry. |
void | refresh() Refreshes registry entries from the database |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CalculationRegistry()
Method Detail |
public CalculationMethodAccessBean getApplyCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public CalculationCodeAccessBean getCode(java.lang.Integer anCodeId) throws ECException
public CalculationMethodAccessBean getCodeCombineMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public java.lang.Long[] getCodeMemberGroupIds(java.lang.Integer anCodeId) throws ECException
public CalculationCodeAccessBean getDefaultCode(java.lang.Integer anStoreId, java.lang.Integer anUsageId, java.sql.Timestamp aTimestamp) throws ECException
public CalculationRuleAccessBean[] getEffectiveRules(java.lang.Integer anCodeId, java.sql.Timestamp aTimestamp) throws ECException
public CalculationMethodAccessBean getFinalizeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public CalculationCodeAccessBean[] getIndirectlyAttachedCodes(java.lang.Long anCatalogEntryId, java.lang.Long anContractId, java.lang.Integer anStoreId, java.lang.Integer anUsageId, java.sql.Timestamp aTimestamp) throws ECException
public CalculationMethodAccessBean getInitializeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public static CalculationRegistry getInstance()
public CalculationRangeLookupResultAccessBean getLookupResult(java.lang.Integer anRangeId, java.lang.String astrCurrency, CommandContext commandContext) throws ECException
public CalculationMethodAccessBean getMethod(java.lang.Integer anMethodId) throws ECException
public CalculationRangeAccessBean[] getRangesInDescendingOrder(java.lang.Integer anScaleId, java.math.BigDecimal adLookupNumber) throws ECException
public CalculationMethodAccessBean getRuleCombineMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public java.lang.Long[] getRuleMemberGroupIds(java.lang.Integer anRuleId) throws ECException
public CalculationScaleAccessBean[] getScales(java.lang.Integer anRuleId) throws ECException
public ShippingJurisdictionGroupCalculationRuleAccessBean[] getShippingRules(java.lang.Integer anFulfillmentCenterId, java.lang.Integer[] anJurisdictionIds, java.lang.Integer anShippingModeId) throws ECException
public CalculationMethodAccessBean getSummarizeCalculationUsageMethod(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public java.lang.Integer[] getTaxCategoryIds(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public TaxJurisdictionGroupCalculationRuleAccessBean[] getTaxRules(java.lang.Integer anFulfillmentCenterId, java.lang.Integer[] anJurisdictionIds) throws ECException
public TaxTypeAccessBean getTaxType(java.lang.Integer anTaxTypeId) throws ECException
public java.lang.Integer getUsageFlags(java.lang.Integer anStoreId, java.lang.Integer anUsageId) throws ECException
public java.lang.Integer[] getUsageIds(java.lang.Integer anStoreId) throws ECException
public java.util.HashMap getCodeDescriptions(java.lang.Integer anCodeId) throws ECException
public java.lang.Integer[] getCodeTaxExemptions(java.lang.Integer anCodeId) throws ECException
public void initialize() throws java.lang.Exception
public void refresh() throws java.lang.Exception
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.