com.ibm.commerce.quote.commands

Class QuoteCancelCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, QuoteCancelCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class QuoteCancelCmdImpl
    extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
    implements QuoteCancelCmd
    This is the default implementation of the QuoteCancelCmd controller Command.

    Behaviour

    1. Sets STATUS of the quote to "CAN" .
    2. Calls the CancelOrderCmd to cancel the quote in EDP.
    3. Uses the OrderAccessBean to process the quote.
      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

        • QuoteCancelCmdImpl

          public QuoteCancelCmdImpl()
      • Method Detail

        • setQuote

          public void setQuote(OrderAccessBean abQuote)
          Sets the quote to be saved and adds it to the list of quotes to be processed.
          Specified by:
          setQuote in interface QuoteCancelCmd
          Parameters:
          abQuote - access bean.
        • performExecute

          public void performExecute()
                              throws ECException
          Performs the main business logic.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface com.ibm.websphere.command.TargetableCommand
          Specified by:
          performExecute in class com.ibm.commerce.quote.commands.QuoteBaseCmdImpl
          Throws:
          ECException