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
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
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.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, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

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
Method Detail

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