com.ibm.commerce.ordermanagement.commands

Interface ReturnEditEndCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    ReturnEditEndCmdImpl


    public interface ReturnEditEndCmd
    extends ControllerCommand
    This Order controller controller command is used to bring a RMA into unlock state, which can be edit by other users.

    The ReturnEditEndCmd implementation class and ReturnEditBeginCmd stage a RMA for editing. Between the execution of the ReturnEditBeginCmd and ReturnEndCmd commands, ReturnItem Update can occur.

    To invoke this command, a valid RMA ID has to be passed in from the command context. If an invalid RMA ID is passed, an exception is thrown.

    If the command is successful, the flag "INUSE" of RMA will be set as "N". The status of the RMA will not be changed and the RMA will not be processed by the system until the RMA gets submitted again.

    If unsuccessful, the command throws the ECException.

    The default implementation of this command is ReturnEditEndCmdImpl. The ReturnEditEnd URL is mapped to this command by default.

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
      • EC_RMA_ID

        static final java.lang.String EC_RMA_ID
        The URL parameter constant.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full name of this command.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setRMAId

        void setRMAId(java.lang.String strRMAId)
        This method sets an RMA ID, a required field, for edit.
        Parameters:
        strRMAId - A String of a valid rmaId