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, 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, 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, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public GetOrderItemsTotalAmountCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic OrderItemAccessBean[] getOrderItems()
getOrderItems in interface GetOrderItemsTotalAmountCmdpublic java.math.BigDecimal getTotalAmount()
getTotalAmount in interface GetOrderItemsTotalAmountCmdpublic void setOrderItems(OrderItemAccessBean[] abOrderItems)
setOrderItems in interface GetOrderItemsTotalAmountCmdabOrderItems -