public class TaxCalculationRuleQualifyCmdImpl extends CalculationCmdImpl implements TaxCalculationRuleQualifyCmd
TaxCalculationRuleQualify
command.TaxCalculationRuleQualifyCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
defaultCommandClassName, NAME
Constructor and Description |
---|
TaxCalculationRuleQualifyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer[] |
getJurisdictionIds(java.lang.Long anAddressId)
This method is called by isQualified() to resolve an address into a list of
shipping jurisdictions.
|
Item[] |
getQualifiedItems()
getQualifiedItems method comment.
|
boolean |
isQualified(Item aItem) |
void |
performExecute()
This method performs the business logic for this command.
|
void |
reset()
Resets the command properties.
|
void |
setItems(Item[] aItems)
setItems method comment.
|
void |
setRule(CalculationRuleAccessBean aabRule)
setRule method comment.
|
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class CalculationCmdImpl
Command.reset()
public java.lang.Integer[] getJurisdictionIds(java.lang.Long anAddressId) throws ECException
ECException
public Item[] getQualifiedItems()
getQualifiedItems
in interface CalculationRuleQualifyCmd
public boolean isQualified(Item aItem) throws ECException
ECException
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setItems(Item[] aItems)
setItems
in interface CalculationRuleQualifyCmd
aItems
- the items.public void setRule(CalculationRuleAccessBean aabRule)
setRule
in interface CalculationRuleQualifyCmd
aabRule
- the calculation rule.