com.ibm.commerce.returns.commands
Class ExtendReturnItemDeleteCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.returns.commands.ExtendReturnItemDeleteCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, ExtendReturnItemDeleteCmd, TaskCommand

public class ExtendReturnItemDeleteCmdImpl
extends TaskCommandImpl
implements ExtendReturnItemDeleteCmd

Default implementation of the ExtendReturnItemDelete interface. Task command to extend the ReturnItemDeleteCmd controller command. This implementation does nothing. Before executing this command, ReturnItemDeleteCmdImpl.extendCommand sets requestProperties, responseProperties, commandContext and a list of return items which were deleted. Typically extend commands are passed access beans. In this case, the return item has already been deleted before this command is called so referencing the access bean is not appropriate.

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.ExtendReturnItemDeleteCmd
defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
ExtendReturnItemDeleteCmdImpl()
ExtendReturnItemDeleteCmdImpl constructor.
Method Summary
void performExecute()
Execute the command.
void reset()
Reset the command.
void setRequestProperties(TypedProperty aRequestProperties)
Set the caller's request properties.
void setResponseProperties(TypedProperty aResponseProperties)
Set the caller's response properties.
void setRMAItemIds(java.lang.Long[] rmaItemIds)
Sets identifiers for the RMA items deleted.
void validateParameters()
Check mandatory parameters.
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

ExtendReturnItemDeleteCmdImpl

public ExtendReturnItemDeleteCmdImpl()
ExtendReturnItemDeleteCmdImpl constructor.
Method Detail

performExecute

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

reset

public void reset()
Reset the command.
Overrides:
reset in class AbstractECTargetableCommand

setRequestProperties

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

setResponseProperties

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

validateParameters

public void validateParameters()
                        throws ECException
Check mandatory parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException

setRMAItemIds

public void setRMAItemIds(java.lang.Long[] rmaItemIds)
Description copied from interface: ExtendReturnItemDeleteCmd
Sets identifiers for the RMA items deleted.
Specified by:
setRMAItemIds in interface ExtendReturnItemDeleteCmd

Feedback