com.ibm.commerce.returns.commands

Class ReturnItemBaseCmdImpl

    • Method Detail

      • reset

        public void reset()
        This method resets the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • validateParameters

        public void validateParameters()
                                throws ECException
        This method checks the mandatory parameters. It checks the following parameters:

        Parameters

        • storeid
          • the store id
        • catEntryId
          • catalog entry id
        • orderItem
          • order Item id
        • RMAid
          • RMA id
        • RMAitemId
          • RMA item ID

        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class AbstractECTargetableCommand
        Throws:
        ECApplicationException - If parameters passed are not valid or there are updates but no RMAitemid, throws com.ibm.commerce.exception.ECApplicationException with ECMessage._ERR_BAD_MISSING_CMD_PARAMETER
        ECException
      • getActiveOrganizationId

        public java.lang.Long getActiveOrganizationId()
        This method gets the organization id that the customer is shopping under.
        Returns:
        the organization id that the customer is shopping under.
      • setActiveOrganizationId

        public void setActiveOrganizationId(java.lang.Long long1)
        This method sets the active organization id for this command.
        Parameters:
        long1 - the organization id that the customer is shopping under.