java.lang.ObjectCalculationCmdImpl
com.ibm.commerce.taxation.commands.TaxCalculationRuleQualifyCmdImpl
The default implementation for the task command returns several lists of OrderItems whose shipping addresses as well as the fulfillment centre match one of the rule's associated TaxJurisdictionCalculationRules (a match is implied if there are none). The shipping addresses within each list are the same.
Field Summary | |
static java.lang.String | COPYRIGHT |
Fields inherited from interface com.ibm.commerce.taxation.commands.TaxCalculationRuleQualifyCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
TaxCalculationRuleQualifyCmdImpl() |
Method Summary | |
protected java.util.Hashtable | createAddressIdHash(java.util.Hashtable orderItemABHash) Creates the address ids list. |
java.util.Hashtable | getAddressIdHash() Gets the list of address ids. |
java.util.Hashtable | getApplicableCache() |
java.util.Vector | getOrderItemABHashVector() Gets the list of orderitem access bean hashtables. |
protected boolean | isRelated(java.lang.Integer calculationRuleId, java.lang.Integer fulfillmentCenterId, java.lang.Integer jurisdictionId) Verifies if the calculation rule is for the jurisdiction. |
void | performExecute() Executes main business logic of the command. |
void | setAddressIdHash(java.util.Hashtable addressIdHash) Sets the list of address ids. |
void | setApplicableCache(java.util.Hashtable applicableCache) |
void | setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB) |
void | setOrderItemABHash(java.util.Hashtable orderItemABHash) |
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 TaxCalculationRuleQualifyCmdImpl()
Method Detail |
protected java.util.Hashtable createAddressIdHash(java.util.Hashtable orderItemABHash) throws ECException
public java.util.Hashtable getAddressIdHash()
public java.util.Hashtable getApplicableCache()
public java.util.Vector getOrderItemABHashVector()
protected boolean isRelated(java.lang.Integer calculationRuleId, java.lang.Integer fulfillmentCenterId, java.lang.Integer jurisdictionId) throws ECException
public void performExecute() throws ECException
public void setAddressIdHash(java.util.Hashtable addressIdHash)
public void setApplicableCache(java.util.Hashtable applicableCache)
public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
public void setOrderItemABHash(java.util.Hashtable orderItemABHash)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.