com.ibm.commerce.returns.commands
Class ReturnItemUpdateCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.returns.commands.ReturnItemBaseCmdImpl
                  com.ibm.commerce.returns.commands.ReturnItemUpdateCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, ReturnItemAddCmd, ReturnItemUpdateCmd

public class ReturnItemUpdateCmdImpl
extends ReturnItemBaseCmdImpl
implements ReturnItemUpdateCmd

Default implementation of the controller command ReturnItemUpdateCmd interface. Update the return mechandise authorization (RMA) item. Update information about a returned item. This command can be called for multiple RMA items. If the RMA item has been manually approved, the approval will be removed and auto approval will be re-run on the item.

Each item will be processed in the following way:

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.returns.commands.ReturnItemBaseCmdImpl
ihshAttr_name, ihshAttr_value, ihshCatentry_id, ihshComment, ihshCreditAdjustment, ihshKey, ihshOrderitem_id, ihshQuantity, ihshReason, ihshReasonId, ihshReceive, ihshRMAItem_id, ihshUom, STR_ATTR_NAME, STR_ATTR_VALUE, STR_CATENTRY_ID
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.returns.commands.ReturnItemUpdateCmd
defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.returns.commands.ReturnItemAddCmd
defaultCommandClassName, NAME
Constructor Summary
ReturnItemUpdateCmdImpl()
ReturnItemUpdateCmdImpl constructor.
Method Summary
protected boolean doAdd()
This method is reserved for IBM internal use only.
protected boolean doUpdate()
This method is reserved for IBM internal use only.
protected void extendCommand()
Extend the command here.
protected int getMe()
This method is reserved for IBM internal use only.
AccessVector getResources()
Gets the vector of resources accessed by this command.
Methods inherited from class com.ibm.commerce.returns.commands.ReturnItemBaseCmdImpl
getAttributeNVP, getCatEntryId, getCreditAdjustment, getNormalizedQuantity, getOrderItemAB, getOrderItemId, getOrderList, getQuantity, getReason, getReasonId, getReceive, getRMA, getRMAItemId, getUOM, getUpdateRMA, isAdminCommand, isCatEntryWithoutOrderItemReturnAllowedForShopper, isNewRMA, performExecute, reset, setRequestProperties, validateParameters
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, 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
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, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner

Constructor Detail

ReturnItemUpdateCmdImpl

public ReturnItemUpdateCmdImpl()
ReturnItemUpdateCmdImpl constructor.
Method Detail

doAdd

protected boolean doAdd()
This method is reserved for IBM internal use only.
Specified by:
doAdd in class ReturnItemBaseCmdImpl

doUpdate

protected boolean doUpdate()
This method is reserved for IBM internal use only.
Specified by:
doUpdate in class ReturnItemBaseCmdImpl

extendCommand

protected void extendCommand()
                      throws ECException
Extend the command here. This implementation calls the task command ExtendReturnItemUpdateCmd.
Specified by:
extendCommand in class ReturnItemBaseCmdImpl
Throws:
ECException

getMe

protected int getMe()
This method is reserved for IBM internal use only.
Specified by:
getMe in class ReturnItemBaseCmdImpl

getResources

public AccessVector getResources()
                          throws ECException
Gets the vector of resources accessed by this command.
Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECTargetableCommand
Returns:
The vector of resource action pairs - RMA access bean.
Throws:
ECException

Feedback