public class ProcessOrderCmdImpl extends TaskCommandImpl implements ProcessOrderCmd
ProcessOrderCmd
task command.
composeProcessOrder()
to compose a
ProcessOrder
SDO from the order ID or
order access bean specified.getOrderClientFacadeImpl()
to obtain the
OrderClientFacadeImpl
instance.OrderClientFacadeImpl.processOrder(String, ProcessOrderType)
to make the ProcessOrder
service request with the
invocation service action and ProcessOrder
SDO specified.OrderClientFacadeImpl
,
InvocationService
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
ACTION_TRANSFER_ORDER, defaultCommandClassName, NAME
Constructor and Description |
---|
ProcessOrderCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.order.datatypes.AcknowledgeOrderType |
getAcknowledgeOrder()
Returns the
AcknowledgeOrder SDO. |
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Resets this command instance.
|
void |
setAction(java.lang.String astrAction)
Sets the invocation service action.
|
void |
setOrder(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 setAction(java.lang.String astrAction)
setAction
in interface ProcessOrderCmd
astrAction
- the invocation service action.public void setOrderId(java.lang.Long anOrderId)
setOrderId
in interface ProcessOrderCmd
anOrderId
- the order ID.public void setOrder(OrderAccessBean aabOrder)
setOrder
in interface ProcessOrderCmd
aabOrder
- the order access bean.public com.ibm.commerce.order.datatypes.AcknowledgeOrderType getAcknowledgeOrder()
AcknowledgeOrder
SDO.getAcknowledgeOrder
in interface ProcessOrderCmd
AcknowledgeOrder
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