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.
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
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.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
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
Method Detail

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