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, setDefaultProperties
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
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
public JurisdictionAccessBean getJurisdiction()
getJurisdiction
in interface ResolveTaxJurisdictionCmd
public java.lang.Integer getJurisdictionId()
getJurisdictionId
in interface ResolveTaxJurisdictionCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setAddress(AddressAccessBean aAddressAB)
setAddress
in interface ResolveTaxJurisdictionCmd
aAddressAB
- the access bean of the address.public void setAddressId(java.lang.Long aAddressId)
setAddressId
in interface ResolveTaxJurisdictionCmd
aAddressId
- the reference number of the address.public void setDisplayOnly(boolean aDisplayOnly)
setDisplayOnly
in interface ResolveTaxJurisdictionCmd
aDisplayOnly
- the product display flag.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException