java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.order.commands.OrderTransferConfirmCmdImpl
Confirms successful transfer of an order to an external system.
Behaviour
The behaviour of the command is:
Update the OrderRelease record with an external reference string and external order identifier if specified.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright statement. |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands. OrderTransferConfirmCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
OrderTransferConfirmCmdImpl() |
Method Summary | |
---|---|
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() Contains the actual business logic of the command. |
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 |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public OrderTransferConfirmCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
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
- request properties
ECApplicationException
public void reset()
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
public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String astrStatusMessage)
setStatusMessage
in interface
OrderTransferConfirmCmd