java.lang.ObjectCacheableCommandImpl
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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public OrderTransferConfirmCmdImpl()
Method Detail |
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void reset()
public java.lang.String getExternalOrderReference()
public void setExternalOrderReference(java.lang.String anExternalOrderReference)
public java.lang.String getExternalOrderId()
public void setExternalOrderId(java.lang.String anExternalOrderId)
public java.lang.Long getOrderId()
public void setOrderId(java.lang.Long anOrderId)
public java.lang.String getStatusCode()
public void setStatusCode(java.lang.String astrStatusCode)
public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String astrStatusMessage)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.