public class TaxCalculationUsageTIKCmdImpl extends CalculationCmdImpl implements TaxCalculationUsageTIKCmd
This is a task command that is invoked from
ORDERPROCESScommand. It sets the audit flag for each order items that are used in the current order preparation.
The input to this command is :
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
TaxCalculationUsageTIKCmdImpl()
TaxCalculationUsageTIKCmdImpl constructor, calls the super.
|
Modifier and Type | Method and Description |
---|---|
OrderAccessBean |
getOrder()
Get the order Ids.
|
OrderItemAccessBean[] |
getOrderItems()
Get the order items.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Resets the command properties.
|
void |
setOrder(OrderAccessBean newOrder)
Set the order.
|
void |
setOrderItems(OrderItemAccessBean[] newOrderItems)
Set the order items.
|
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 TaxCalculationUsageTIKCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class CalculationCmdImpl
Command.reset()
public OrderAccessBean getOrder()
public OrderItemAccessBean[] getOrderItems()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
:
- com.ibm.commerce.exception.ECException.ECException
public void setOrder(OrderAccessBean newOrder)
setOrder
in interface FinalizeCalculationUsageCmd
newOrder
- com.ibm.commerce.order.objects.OrderAccessBeanpublic void setOrderItems(OrderItemAccessBean[] newOrderItems)
setOrderItems
in interface FinalizeCalculationUsageCmd
newOrderItems
- com.ibm.commerce.order.objects.OrderItemAccessBean[]