public class GetOrderItemsTotalAmountCmdImpl extends TaskCommandImpl implements GetOrderItemsTotalAmountCmd
GetOrderItemsTotalAmountCmd
task command. Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
GetOrderItemsTotalAmountCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
OrderItemAccessBean[] |
getOrderItems()
This method gets the order item array object.
|
java.math.BigDecimal |
getTotalAmount()
This method returns the input order item array's total amount.
|
void |
performExecute()
This method executes the main logic of this command.
|
void |
reset()
Resets instance variables to their initial values.
|
void |
setOrderItems(OrderItemAccessBean[] abOrderItems)
This method sets the order item array object.
|
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
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 GetOrderItemsTotalAmountCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public OrderItemAccessBean[] getOrderItems()
getOrderItems
in interface GetOrderItemsTotalAmountCmd
public java.math.BigDecimal getTotalAmount()
getTotalAmount
in interface GetOrderItemsTotalAmountCmd
public void setOrderItems(OrderItemAccessBean[] abOrderItems)
setOrderItems
in interface GetOrderItemsTotalAmountCmd
abOrderItems
-