com.ibm.commerce.order.commands
Interface OrderUnlockCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- OrderUnlockCmdImpl
- public interface OrderUnlockCmd
- extends ControllerCommand
Unlocks an order that was previously locked by the OrderPrepare command and
calls the specified URL. If the order is not locked, or if the order reference
number is not correct, the command only calls the URL.
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Method Summary |
void |
setOrderId(java.lang.Long anOrderId)
Sets the order to be unlocked. |
void |
setUrl(java.lang.String astrUrl)
Sets the redirection url to be called when the command completes successfully. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
NAME
public static final java.lang.String NAME
setOrderId
public void setOrderId(java.lang.Long anOrderId)
- Sets the order to be unlocked.
- Parameters:
anOrderId
- java.util.Integer - order identifier
setUrl
public void setUrl(java.lang.String astrUrl)
- Sets the redirection url to be called when the command completes successfully.
- Parameters:
astrUrl
- java.lang.String - redirection url string