public class GetOrderTotalAmountCmdImpl extends TaskCommandImpl implements GetOrderTotalAmountCmd
GetOrderTotalAmountCmd task command. | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
GetOrderTotalAmountCmdImpl()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OrderAccessBean |
getOrder()
This method gets the order object.
|
java.math.BigDecimal |
getTotalAmount()
This method returns the input order' total amount.
|
void |
performExecute()
This method executes the main logic of this command.
|
void |
reset()
Resets instance variables to their initial values.
|
void |
setOrder(OrderAccessBean aabOrder)
This method sets the order 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 GetOrderTotalAmountCmdImpl()
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 OrderAccessBean getOrder()
getOrder in interface GetOrderTotalAmountCmdpublic java.math.BigDecimal getTotalAmount()
getTotalAmount in interface GetOrderTotalAmountCmdpublic void setOrder(OrderAccessBean aabOrder)
setOrder in interface GetOrderTotalAmountCmdaabOrder -