Class QuoteDisplayCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, QuoteDisplayCmd, Protectable,,,,,,

    public class QuoteDisplayCmdImpl
    implements QuoteDisplayCmd
    This is the default implementation of the QuoteDisplayCmd controller Command.


    1. Calls the QuotePrepareCmd for any quote that is unlocked.
    2. Adds the list of quotes to be displayed to the response.
    3. Uses the OrderAccessBean to process the quotes.
      See Also:
      Serialized Form
      • Field Detail

        • COPYRIGHT

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

        • QuoteDisplayCmdImpl

          public QuoteDisplayCmdImpl()
      • Method Detail

        • setQuote

          public void setQuote(OrderAccessBean abQuote)
          Sets the quote to be displayed and adds it to the list of quotes to be processed.
          Specified by:
          setQuote in interface QuoteDisplayCmd
          abQuote - Quote access bean.
        • getUnlockedQuotes

          public java.util.ArrayList getUnlockedQuotes()
          Gets the unlocked quote access beans to prepare.
          List of Quotes access beans
        • setUnlockedQuotes

          public void setUnlockedQuotes(java.util.ArrayList newQuotes)
          Sets the unlocked quote access beans to prepare.
          newQuotes - Quote AccessBeans
        • performExecute

          public void performExecute()
                              throws ECException
          Performs the main business logic. First retrieves the set of unlocked quotes from the specified list. Then invokes QuotePrepare on this set of unlocked quotes. Adds all the specified Ids of the quotes to the response.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface
          Specified by:
          performExecute in class