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, setDefaultProperties
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
public static final java.lang.String COPYRIGHT
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setOrderId(java.lang.Long anOrderId)
setOrderId
in interface ComposeOrderCmd
anOrderId
- the order ID.public void setOrderAccessBean(OrderAccessBean aabOrder)
setOrderAccessBean
in interface ComposeOrderCmd
aabOrder
- the order access bean.public void setIncludeOrderItems(boolean abIncludeOrderItems)
Order
SDO.setIncludeOrderItems
in interface ComposeOrderCmd
abIncludeOrderItems
- true
if order items
should be included in the Order
SDO.public com.ibm.commerce.order.datatypes.OrderType getOrder()
Order
SDO.getOrder
in interface ComposeOrderCmd
Order
SDO.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException