com.ibm.commerce.order.facade.server.commands

Class OrderResponseBuildBaseCmdImpl

  • java.lang.Object
    • com.ibm.commerce.order.facade.server.commands.OrderResponseBuildBaseCmdImpl
    • Constructor Detail

      • OrderResponseBuildBaseCmdImpl

        public OrderResponseBuildBaseCmdImpl()
        This is the constructor of the class.
    • Method Detail

      • createResponseBusinessOjectDocument

        public abstract BusinessObjectDocumentType createResponseBusinessOjectDocument()
        This method returns the business object document type.
        Returns:
        the instance of BusinessObjectDocumentType
      • setControllerCommand

        public void setControllerCommand(ControllerCommand controllerCommand)
        This method sets the controller command.
        Specified by:
        setControllerCommand in interface MessageMappingResponseCmd
        Parameters:
        controllerCommand -
        See Also:
        com.ibm.commerce.order.server.commands.ChangeOrderCmd#setChangeOrder(com.ibm.commerce.order.facade.datatypes.ChangeOrderType)
      • setException

        public void setException(java.lang.Exception exception)
        This method sets the exception.
        Specified by:
        setException in interface MessageMappingResponseCmd
        Parameters:
        exception -
      • performExecute

        public abstract void performExecute()
                                     throws ECException
        This method executes the main logic.
        Throws:
        ECException
      • execute

        public void execute()
                     throws com.ibm.websphere.command.CommandException
        This method executes the whole logic of this command.
        Specified by:
        execute in interface com.ibm.websphere.command.Command
        Throws:
        com.ibm.websphere.command.CommandException
        See Also:
        Command.execute()
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method returns if this command is ready to execute.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        See Also:
        Command.isReadyToCallExecute()
      • reset

        public void reset()
        This method resets this command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        See Also:
        Command.reset()
      • getCommandContext

        public CommandContext getCommandContext()
        This method gets the command context.
        Returns:
        CommandContext
      • getControllerCommand

        public ControllerCommand getControllerCommand()
        This method returns the controller command.
        Returns:
        ControllerCommand the iControllerCommand.
      • getException

        public java.lang.Exception getException()
        This method returns the exception.
        Returns:
        This method returns the iException.