public class ResolveTaxJurisdictionCmdImpl extends TaskCommandImpl implements ResolveTaxJurisdictionCmd
ResolveTaxJurisdictionCmd task commands.
An address is said to fall in a jurisdiction if its zipcode falls in the zipcode range
of the jurisdiction. The two have the same city, state, and country. Geocodetoo!
A NULL jurisdiction field is wildcard
.
COPYRIGHT, defaultCommandClassName, NAME| Constructor and Description |
|---|
ResolveTaxJurisdictionCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
JurisdictionAccessBean |
getJurisdiction()
Returns the jurisdiction access bean.
|
java.lang.Integer |
getJurisdictionId()
Returns the reference number of the jurisdiction.
|
void |
performExecute()
Executes main business logic of the command.
|
void |
setAddress(AddressAccessBean aAddressAB)
Sets the address access bean.
|
void |
setAddressId(java.lang.Long aAddressId)
Sets the address id.
|
void |
setDisplayOnly(boolean aDisplayOnly)
Sets the display flag to indicate that it is for product display.
|
void |
validateParameters()
Checks mandatory parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic JurisdictionAccessBean getJurisdiction()
getJurisdiction in interface ResolveTaxJurisdictionCmdpublic java.lang.Integer getJurisdictionId()
getJurisdictionId in interface ResolveTaxJurisdictionCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setAddress(AddressAccessBean aAddressAB)
setAddress in interface ResolveTaxJurisdictionCmdaAddressAB - the access bean of the address.public void setAddressId(java.lang.Long aAddressId)
setAddressId in interface ResolveTaxJurisdictionCmdaAddressId - the reference number of the address.public void setDisplayOnly(boolean aDisplayOnly)
setDisplayOnly in interface ResolveTaxJurisdictionCmdaDisplayOnly - the product display flag.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException