public class ComposeOrderCmdImpl extends TaskCommandImpl implements ComposeOrderCmd
ComposeOrderCmd
task command.
composeOrder(OrderAccessBean, boolean) to
compose an Order SDO from the order ID or
order access bean specified.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ComposeOrderCmdImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.order.datatypes.OrderType |
getOrder()
Returns the
Order SDO. |
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Resets this command instance.
|
void |
setIncludeOrderItems(boolean abIncludeOrderItems)
Sets whether to include order items in the
Order SDO. |
void |
setOrderAccessBean(OrderAccessBean aabOrder)
Sets the order access bean.
|
void |
setOrderId(java.lang.Long anOrderId)
Sets the order ID.
|
void |
validateParameters()
Extracts and validates the input parameters of this command
implementation.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, 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, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setOrderId(java.lang.Long anOrderId)
setOrderId in interface ComposeOrderCmdanOrderId - the order ID.public void setOrderAccessBean(OrderAccessBean aabOrder)
setOrderAccessBean in interface ComposeOrderCmdaabOrder - the order access bean.public void setIncludeOrderItems(boolean abIncludeOrderItems)
Order SDO.setIncludeOrderItems in interface ComposeOrderCmdabIncludeOrderItems - true if order items
should be included in the Order SDO.public com.ibm.commerce.order.datatypes.OrderType getOrder()
Order SDO.getOrder in interface ComposeOrderCmdOrder SDO.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException