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
IBM copyright notice field. |
static java.lang.String |
NAME
The name of the Command Interface class. |
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 |
checkPermission, 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, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- The name of the Command Interface class.
- See Also:
- Constant Field Values
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
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.