public class CreateOrderOnSuccessStatusUpdateCmdImpl extends ControllerCommandImpl implements CreateOrderOnSuccessStatusUpdateCmd
CreateOrderOnSuccessStatusUpdateCmd
controller command.
Name | Description |
---|---|
inOrderId |
required, specifies the order Id to update status |
inExternalOrderId |
required, specifies the external order Id which will be update to ORDSTAT table |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
The name of the Command class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CreateOrderOnSuccessStatusUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalOrderId()
This method returns the external order id.
|
OrderAccessBean |
getOrder()
This method returns the Order.
|
java.lang.Long |
getOrderId()
This method returns the identifier of the Order to update.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
setExternalOrderId(java.lang.String anExternalOrderId)
This method sets the external order id.
|
void |
setOrderId(java.lang.Long anOrderId)
This method sets the identifier of the Order to update.
|
void |
setRequestProperties(TypedProperty aReqParms)
The WebController calls the setRequestProperties method before invoking
the execute method in this command.
|
void |
validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
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, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, 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
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public CreateOrderOnSuccessStatusUpdateCmdImpl()
public void setOrderId(java.lang.Long anOrderId)
anOrderId
- The long that specifies the Order identifier.public java.lang.Long getOrderId()
public void setExternalOrderId(java.lang.String anExternalOrderId)
anExternalOrderId
- The string that specifies the external order id.public java.lang.String getExternalOrderId()
public OrderAccessBean getOrder()
getOrder
in interface CreateOrderOnSuccessStatusUpdateCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aReqParms
- A Typed Property that represents the details of request properties.ECException
ControllerCommand#setRequestProperties(TypedProperty)
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECCommand#validateParameters()