com.ibm.commerce.order.commands
Interface OrderCancelCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- OrderCancelCmdImpl
- public interface OrderCancelCmd
- extends ControllerCommand
Cancels the specified order. This controller command is intended to be used by a user to cancel one of its Orders.
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Method Summary |
void |
setOrderId(java.lang.Long anOrderId)
Sets the id of the order to cancel. |
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
-
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
-
- See Also:
- Constant Field Values
setOrderId
public void setOrderId(java.lang.Long anOrderId)
- Sets the id of the order to cancel.
-
- Parameters:
- anOrderId - the Order identifier.
setUrl
public void setUrl(java.lang.String astrUrl)
- Sets the redirection URL to be called when the command completes successfully.
-
- Parameters:
- astrUrl - the redirection URL string.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.