public class OrderStatusServiceCmdImpl extends OrderStatusCmdImpl implements OrderStatusServiceCmd
OrderStatusService differs from the OrderStatus command as this command will return a view command name after the successful update of the order status. The OrderStatus command will not return any view name, but invokes the messaging subsystem to send a response back to the client.
Parameters
This command accepts the same set of parameters as the parent command OrderStatusCmdImpl. See the online help for OrderStatusCmdImpl for a description of the parameters.
Behavior
OSVERNBR
) will be set to the maximum number of existing versions +1. A new row
will be created containing all provided information with its OSVERNBR
Exception Conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
CONFIG_GROUPING_SYNC_ORDER, CONFIG_PROPERTY_FINALIZE_PAYMENT, EMPTY_STRING, UPDATEMODE_COMPLETE, UPDATEMODE_PARTIAL
defaultCommandClassName, NAME
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderStatusServiceCmdImpl()
The default constructor for OrderStatusServiceCmdImpl calls its parents constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
The business logic of this command.
|
checkOrderStatusSequence, createOrderStatus, doDOMPostProcess, doDOMPreProcess, doPostProcess, doPreProcess, doProcess, getIAccessVector, getIMerchantOrderNumber, getInventorySystem, getIOrderId, getOsItems, getOsProp, getResources, isReadyToCallExecute, isSyncWCSOrderStatusEnabled, propertySet, reset, setRequestProperties, updateOrder, validateParameters
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, 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
doPostProcess, doPreProcess, doProcess
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public OrderStatusServiceCmdImpl()
public void performExecute() throws ECException
It invokes the performExecute() of the parent OrderStatus command and then return the unique identifier for the new OrderStatus created. Also returns a view name so that a synchronous response message is sent to the client.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class OrderStatusCmdImpl
ECException
- if the
OrderStatus information cannot be updated.