com.ibm.commerce.inventory.commands
Interface ReturnReasonCodeDeleteCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
ReturnReasonCodeDeleteCmdImpl

public interface ReturnReasonCodeDeleteCmd
extends ToolsControllerCommand

Mark a list of return reasons for deletion.

URL calling syntax

https://host_name/path/ReturnReasonCodeDelete?rtnreasonId=rtnreason_Id_1&rtnreasonId=rtnreason_Id_2&URL=return_url

Parameters

rtnreasonId
The identifier of return reason to be deleted. This parameter can be specified more than once.
URL
The URL to be called when the command completes successfully.

Exceptions

When the required fields are missing or not in the right datatype, this command will throw exception to indicate which field is missing or bad.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
           
 
Method Summary
 void setRequestProperties(TypedProperty reqParms)
          Set request properties.
 void setReturnReasonIds(java.lang.String[] newReturnReasonIds)
          Set the list of return reason identifiers.
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name.

NAME

public static final java.lang.String NAME
Method Detail

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Set request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
reqParms - com.ibm.commerce.datatype.TypedProperty

setReturnReasonIds

public void setReturnReasonIds(java.lang.String[] newReturnReasonIds)
Set the list of return reason identifiers.
Parameters:
newReturnReasonIds - java.lang.String[]