com.ibm.commerce.returns.commands

Class AdminReturnApproveCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, AdminReturnApproveCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class AdminReturnApproveCmdImpl
    extends ReturnBaseCmdImpl
    implements AdminReturnApproveCmd
    This is the default implementation of the controller command AdminReturnApproveCmd interface.

    Input parameters:

    Name Description
    RMAId the RMA ID
    storeId the store ID

    Output parameters:

    None

    Behaviour

    • The RMA must be in status 'PND' to be approved. If not, an ECApplicationException exception is generated with message _ERR_RMA_IN_INVALID_STATE_FOR_COMMAND.
    • If an RMA item has not already been approved (either in status 'APP' or 'MAN') then the item is moved to status 'MAN'.
    • After all items have been marked as approved, the RMA is changed to status 'APP'.
    • The URL is setup for redirection.
    • The task command ExtendAdminReturnApproveCmd is called.

    Utilizes these access beans

    See Also:
    Serialized Form