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

Class ComposeExternalQuoteCmdImpl

  • java.lang.Object
    • com.ibm.commerce.order.facade.server.commands.ComposeExternalQuoteCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd, com.ibm.websphere.command.Command, java.io.Serializable


    public class ComposeExternalQuoteCmdImpl
    extends java.lang.Object
    implements com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
    This compose task command is called from GetQuoteCmdImpl. It's used when access profile is set as IBM_External_Details or IBM_External_Summary. It composes the list of quotes which is retrieved from an external system.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ComposeExternalQuoteCmdImpl

        public ComposeExternalQuoteCmdImpl()
    • Method Detail

      • getPagingParameters

        public ShowType getPagingParameters()
        This method gets the paging parameter
        Specified by:
        getPagingParameters in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
        Returns:
        Returns the paging parameter.
      • setPagingParameters

        public void setPagingParameters(ShowType argPagingParameter)
        This method sets the paging parameter
        Specified by:
        setPagingParameters in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
        Parameters:
        argPagingParameter - The paging parameter to set.
      • execute

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

        public java.util.List getQuotes()
        This method gets the list of quotes.
        Specified by:
        getQuotes in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
        Returns:
        quotes
      • getShowQuote

        public ShowQuoteType getShowQuote()
        This method gets the instance of ShowQuoteType.
        Specified by:
        getShowQuote in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
        Returns:
        the instance value of ShowQuoteType.
      • setQuotes

        public void setQuotes(java.util.List quotes)
        This method sets the list of quotes.
        Specified by:
        setQuotes in interface com.ibm.commerce.order.facade.server.commands.ComposeQuoteCmd
        Parameters:
        quotes -
      • setShowQuote

        public void setShowQuote(ShowQuoteType showQuote)
        This method sets the instance of ShowQuoteType.
        Parameters:
        showQuote - the instance value of ShowQuoteType.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method returns if this command is ready to execute
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Returns:
        boolean
        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()