com.ibm.commerce.order.calculation
Class CalculationRegistry
java.lang.Object
|
+--com.ibm.commerce.order.calculation.CalculationRegistry
- All Implemented Interfaces:
- Registry
- public class CalculationRegistry
- extends java.lang.Object
- implements Registry
This registry caches tables referenced by the Calculation Framework. They
include:
- CALUSAGE
- STENCALUSG
- CALMETHOD
- TAXCGRY
- CATENCALCD
- CATGPCALCD
- CALCODE
- CALRULE
- SHPJCRULE
- TAXJCRULE
- CRULESCALE
- CALSCALE
- CALRANGE
- CALRLOOKUP
Field Summary |
static java.lang.String |
COPYRIGHT
|
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.lang.Long[] |
getCodeMemberGroupIds(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)
|
java.lang.Integer |
getUsageFlags(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
|
java.lang.Integer[] |
getUsageIds(java.lang.Integer anStoreId)
|
void |
initialize()
Initialize a registry. |
void |
refresh()
This method refreshed registry entries from the database
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
CalculationRegistry
public CalculationRegistry()
- CalculationRegistry constructor comment.
getApplyCalculationUsageMethod
public CalculationMethodAccessBean getApplyCalculationUsageMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getCode
public CalculationCodeAccessBean getCode(java.lang.Integer anCodeId)
throws ECException
getCodeCombineMethod
public CalculationMethodAccessBean getCodeCombineMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getCodeMemberGroupIds
public java.lang.Long[] getCodeMemberGroupIds(java.lang.Integer anCodeId)
throws ECException
getDefaultCode
public CalculationCodeAccessBean getDefaultCode(java.lang.Integer anStoreId,
java.lang.Integer anUsageId,
java.sql.Timestamp aTimestamp)
throws ECException
getEffectiveRules
public CalculationRuleAccessBean[] getEffectiveRules(java.lang.Integer anCodeId,
java.sql.Timestamp aTimestamp)
throws ECException
getFinalizeCalculationUsageMethod
public CalculationMethodAccessBean getFinalizeCalculationUsageMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getIndirectlyAttachedCodes
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
getInitializeCalculationUsageMethod
public CalculationMethodAccessBean getInitializeCalculationUsageMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getInstance
public static CalculationRegistry getInstance()
- Returns an instance of this class.
getLookupResult
public CalculationRangeLookupResultAccessBean getLookupResult(java.lang.Integer anRangeId,
java.lang.String astrCurrency,
CommandContext commandContext)
throws ECException
getMethod
public CalculationMethodAccessBean getMethod(java.lang.Integer anMethodId)
throws ECException
getRangesInDescendingOrder
public CalculationRangeAccessBean[] getRangesInDescendingOrder(java.lang.Integer anScaleId,
java.math.BigDecimal adLookupNumber)
throws ECException
getRuleCombineMethod
public CalculationMethodAccessBean getRuleCombineMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getRuleMemberGroupIds
public java.lang.Long[] getRuleMemberGroupIds(java.lang.Integer anRuleId)
throws ECException
getScales
public CalculationScaleAccessBean[] getScales(java.lang.Integer anRuleId)
throws ECException
getShippingRules
public ShippingJurisdictionGroupCalculationRuleAccessBean[] getShippingRules(java.lang.Integer anFulfillmentCenterId,
java.lang.Integer[] anJurisdictionIds,
java.lang.Integer anShippingModeId)
throws ECException
getSummarizeCalculationUsageMethod
public CalculationMethodAccessBean getSummarizeCalculationUsageMethod(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getTaxCategoryIds
public java.lang.Integer[] getTaxCategoryIds(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getTaxRules
public TaxJurisdictionGroupCalculationRuleAccessBean[] getTaxRules(java.lang.Integer anFulfillmentCenterId,
java.lang.Integer[] anJurisdictionIds)
throws ECException
getUsageFlags
public java.lang.Integer getUsageFlags(java.lang.Integer anStoreId,
java.lang.Integer anUsageId)
throws ECException
getUsageIds
public java.lang.Integer[] getUsageIds(java.lang.Integer anStoreId)
throws ECException
initialize
public void initialize()
throws java.lang.Exception
- Description copied from interface:
Registry
- Initialize a registry.
- Specified by:
initialize
in interface Registry
refresh
public void refresh()
throws java.lang.Exception
- Description copied from interface:
Registry
- This method refreshed registry entries from the database
- Specified by:
refresh
in interface Registry
- Following copied from interface:
com.ibm.commerce.registry.Registry
- Throws:
-