com.ibm.commerce.tools.optools.returns.commands
Interface CSRReturnRestoreCopyCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- CSRReturnRestoreCopyCmdImpl
- public interface CSRReturnRestoreCopyCmd
- extends ToolsControllerCommand
Brief Description:
Restores the return to its original state. This command is called from the edit return notebook
when the user presses the cancel button.
The following access beans representing the the cached return data are restored to the database:
-RMAAccessBean
-RMAItemAcessBean
-RMAItemComponentAccessBean
-RMAChargeAcessBean
-RMAAuthorizationLogAccessBean
-RMATaxAccessBean
-RMAItemDenyReasonAccessBean
-RMAItemAdjustmentCreditAccessBean
Input parameters:
1) XML - An xml input stream representing a list of return items to add to a return.
The following is a sample value for the XML parameter.
<?xml version="1.0" encoding "UTF-8">
<XML>
<returnId>1001</returnId>
</XML>
The mandatory data in the xml stream are the following:
- returnId
2) URL - The URL to redirect to if the command completes successfully.
Output parameters:
None.
Exceptions:
None.
Commands called:
None.
Special behavior:
None.
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class.
NAME
public static final java.lang.String NAME
- Interface name