com.ibm.commerce.returns.commands
Class ExtendReturnProcessCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.returns.commands.ExtendReturnProcessCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, ExtendReturnProcessCmd, TaskCommand

public class ExtendReturnProcessCmdImpl
extends TaskCommandImpl
implements ExtendReturnProcessCmd

Default implementation of the ExtendReturnProcess interface. Task command to extend the ReturnProcessCmd controller command. This implementation does nothing. ReturnProcessCmdImpl.extendCommand will set requestProperties, responseProperties, commandContext and RMA accessbean before executing this command.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.returns.commands. ExtendReturnProcessCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
ExtendReturnProcessCmdImpl()
          ExtendReturnProcessCmdImpl constructor.
 
Method Summary
 void performExecute()
          Execute the command.
 void reset()
          This method should be called after a command has been executed to reset its states variables.
 void setRequestProperties( TypedProperty aRequestProperties)
          Set the caller's request properties.
 void setResponseProperties( TypedProperty aResponseProperties)
          Set the caller's response properties.
 void setRMAAB( RMAAccessBean anRMAAB)
          Set the RMA access bean being processed.
 void validateParameters()
          Performs parameter checking.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendReturnProcessCmdImpl

public ExtendReturnProcessCmdImpl()
ExtendReturnProcessCmdImpl constructor.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Execute the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
ECException

reset

public void reset()
Description copied from class: AbstractECTargetableCommand
This method should be called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
Overrides:
reset in class AbstractECTargetableCommand

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
                          throws ECApplicationException
Set the caller's request properties.
Specified by:
setRequestProperties in interface ExtendReturnProcessCmd
Parameters:
aRequestProperties - The request properties.
ECApplicationException

setResponseProperties

public void setResponseProperties(TypedProperty aResponseProperties)
Set the caller's response properties.
Specified by:
setResponseProperties in interface ExtendReturnProcessCmd
Parameters:
aResponseProperties - The response properties.

setRMAAB

public void setRMAAB(RMAAccessBean anRMAAB)
Set the RMA access bean being processed.
Specified by:
setRMAAB in interface ExtendReturnProcessCmd
Parameters:
anRMAAB - The RMA access bean.

validateParameters

public void validateParameters()
                        throws ECException
Description copied from class: AbstractECTargetableCommand
Performs parameter checking. This method replaces checkParameters() in 5.1. The default implementation of validateParameters() is a no op. It is the responsibility of the command writers to implements this method if they want to perform server side parameter checking.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
ECException