public class ApplyShippingCmdImpl extends CalculationCmdImpl implements ApplyShippingCmd
This is the default implementation of ApplyShippingCmd.
Its behaviour is as follows:
ApplyCalculationUsageCmd and its implementations,
ApplyStandardShippingChargeBySellerCmdImpl and
ApplyShippingChargeByCarrierCmdImpl).Commands used:
Access beans used:| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ApplyShippingCmdImpl()
Constructor for ApplyShippingCmdImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkAppliedItems()
Checks if a value has been calculated and applied to each and every item.
|
java.util.Set |
getAppliedItems()
This method returns the items that have been applied to.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
This method resets the variables of the command.
|
void |
setItems(Item[] aItems)
This method sets the items.
|
void |
setTaxCategoryIds(java.lang.Integer[] anTaxCategoryIds)
This method sets the tax categories that should be active during execution.
|
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, 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, waitgetCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, 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, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public ApplyShippingCmdImpl()
public void checkAppliedItems()
throws ECException
checkAppliedItems in interface ApplyCalculationUsageCmdECExceptionpublic java.util.Set getAppliedItems()
getAppliedItems in interface ApplyCalculationUsageCmdItem).public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECCommand.performExecute()public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class CalculationCmdImplCommand.reset()public void setItems(Item[] aItems)
setItems in interface ApplyCalculationUsageCmdaItems - the items.public void setTaxCategoryIds(java.lang.Integer[] anTaxCategoryIds)
setTaxCategoryIds in interface ApplyCalculationUsageCmdanTaxCategoryIds - the tax category IDs.