com.ibm.commerce.returns.commands
Class ExtendReturnPrepareCmdImpl

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

public class ExtendReturnPrepareCmdImpl
extends TaskCommandImpl
implements ExtendReturnPrepareCmd

Default implementation of the ExtendReturnPrepareCmd interface. Task command to extend the ReturnPrepare controller command. This implementation does nothing. ReturnPrepareCmdImpl.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. ExtendReturnPrepareCmd
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
ExtendReturnPrepareCmdImpl()
          ExtendReturnPrepareCmdImpl 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

ExtendReturnPrepareCmdImpl

public ExtendReturnPrepareCmdImpl()
ExtendReturnPrepareCmdImpl 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
Description copied from interface: ExtendReturnPrepareCmd
Set the caller's request properties.
Specified by:
setRequestProperties in interface ExtendReturnPrepareCmd
Parameters:
aRequestProperties - The request properties.
ECApplicationException

setResponseProperties

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

setRMAAB

public void setRMAAB(RMAAccessBean anRMAAB)
Description copied from interface: ExtendReturnPrepareCmd
Set the RMA access bean being processed.
Specified by:
setRMAAB in interface ExtendReturnPrepareCmd
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