com.ibm.commerce.tools.optools.returns.commands
Interface CSRReturnProcessCmd

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

public interface CSRReturnProcessCmd
extends ToolsControllerCommand

Wrapper for the ReturnProcessCmd command.

Parameters:

XML
String, in XML format, which contains all the required data. ReturnId, customerId and refundPolicyId are required. The edit node is used to denote whether the return is a new one (false) or an existing one (true).
Example xml_string:
<?xml version="1.0" encoding "UTF-8">
       <XML>
         <returnId>1001</returnId>
         <customerId>1234</customerId>
         <refundPolicyId>5678</refundPolicyId>
         <edit>false</edit>
       </XML>
URL
URL to be called when the command completes successfully.

Output parameters: None.

Exceptions: ECApplicationException - if ReturnCancelCmd throws an exception

Special behavior: When the ReturnItemAddCmd command is called the forUserId paremeter is set in the request properties to the value in the <customerId> xml tag. Sets the INUSE column on the rma/return to 'N' to mark that the return is not being edited. This is done here because this command should be the last command to be called when the return is being worked on.

See Also:
ReturnProcessCmd

Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
static java.lang.String defaultCommandClassName
Default implementation class.
static java.lang.String NAME
Interface name
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
Interface name
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
Default implementation class.
See Also:
Constant Field Values

Feedback