com.ibm.commerce.returns.commands
Interface AdminReturnApproveCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
AdminReturnApproveCmdImpl

public interface AdminReturnApproveCmd
extends ControllerCommand

This controller command approves a return mechandise authorization (RMA) by changing its status to 'APP'.

Controller command URL calling syntax

https://host_name/path/AdminReturnApprove?RMAId=RMAId_value&URL=redirect_url&storeId=storeId_value

Parameters

RMAId (mandatory)
Identifier of the RMA that is to be approved.
URL (mandatory)
URL to redirect to.
storeId (mandatory)
Identifier of the store that owns the RMA.

Exceptions

The RMA must be in status 'PND' to be approved. If not, an ECApplicationException exception is generated with message _ERR_RMA_IN_INVALID_STATE_FOR_COMMAND.


Field Summary
static java.lang.String COPYRIGHT
static java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.returns.commands.AdminReturnApproveCmdImpl" .
static java.lang.String NAME
The name of this interface is "com.ibm.commerce.returns.commands.AdminReturnApproveCmd".
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
The name of this interface is "com.ibm.commerce.returns.commands.AdminReturnApproveCmd".

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.returns.commands.AdminReturnApproveCmdImpl" .
See Also:
Constant Field Values

Feedback