public class OrderTransferConfirmCmdImpl extends ControllerCommandImpl implements OrderTransferConfirmCmd
OrderTransferConfirmCmd
controller command.
Confirms successful transfer of an order to an external system.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderTransferConfirmCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExternalOrderId()
Gets the external order identifier.
|
java.lang.String |
getExternalOrderReference()
Gets the external order reference.
|
java.lang.Long |
getOrderId()
Gets the order identifier.
|
java.lang.String |
getStatusCode()
Gets the transfer confirmation status code.
|
java.lang.String |
getStatusMessage()
Gets the transfer confirmation status message.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
This method should be called after a command has been executed to reset its states variables.
|
void |
setExternalOrderId(java.lang.String anExternalOrderId)
Sets the external order identifier.
|
void |
setExternalOrderReference(java.lang.String anExternalOrderReference)
Sets the external order reference.
|
void |
setOrderId(java.lang.Long anOrderId)
Sets the order identifier.
|
void |
setRequestProperties(TypedProperty reqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void |
setStatusCode(java.lang.String astrStatusCode)
Sets the transfer confirmation status code.
|
void |
setStatusMessage(java.lang.String astrStatusMessage)
Sets the transfer confirmation status message.
|
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Raised with message _ERR_CREATE_EXCEPTION if there is a javax.ejb.CreateException,
_ERR_FINDER_EXCEPTION if there is a javax.ejb.FinderException, _ERR_NAMING_EXCEPTION if there is a javax.naming.NamingException,
_ERR_REMOTE_EXCEPTION if there is a java.rmi.RemoteException.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- The request propertiesECApplicationException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.String getExternalOrderReference()
public void setExternalOrderReference(java.lang.String anExternalOrderReference)
setExternalOrderReference
in interface OrderTransferConfirmCmd
anExternalOrderReference
- External order referencepublic java.lang.String getExternalOrderId()
public void setExternalOrderId(java.lang.String anExternalOrderId)
setExternalOrderId
in interface OrderTransferConfirmCmd
anExternalOrderId
- External order identifierpublic java.lang.Long getOrderId()
public void setOrderId(java.lang.Long anOrderId)
setOrderId
in interface OrderTransferConfirmCmd
anOrderId
- Order identifierpublic java.lang.String getStatusCode()
public void setStatusCode(java.lang.String astrStatusCode)
setStatusCode
in interface OrderTransferConfirmCmd
astrStatusCode
- The status code to setpublic java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String astrStatusMessage)
setStatusMessage
in interface OrderTransferConfirmCmd
astrStatusMessage
- The status message to set