Interface QuoteSaveCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Implementing Classes:

    public interface QuoteSaveCmd
    extends ControllerCommand
    This Order controller command is used to save a quote after all the updates are complete. It calls the PrepareQuoteCmd command if either the quote is unlocked or the QuoteGoodFor period has expired. Sets the STATUS = RDY for the quote and calls the SetQuoteExpireDateCmd command to determine the expiry date of the quote.


    orderId (mandatory)
    The Id of the quote. This must be a number.
    URL (mandatory)
    The URL to be called when the command completes successfully.
    expireDate (optional)
    The expiry date of the quote. This takes precedence over all possible expiry dates for the quote.
    expirePeriod (optional)
    The expiry period using which the expiry date for a quote can be calculated. This has lower precedence than the expireDate parameter, but higher precedence over the store-based expiry period parameter.
    The default implementation of this command is <>. The <> URL is mapped to this command by default.
    • Field Detail


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

        static final java.lang.String NAME
        The name of this interface. "".
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setUrl

        void setUrl(java.lang.String url)
        Sets the redirection URL after the command completes successfully.
        url -
      • setQuote

        void setQuote(OrderAccessBean abQuote)
        Sets the quote to save.
        abQuote - Quote access bean
      • setQuoteExpireDate

        void setQuoteExpireDate(java.sql.Timestamp expirePeriod)
        Sets the expiry date for the quote.
        expirePeriod - Expire Date for the Quote
      • setQuoteExpirePeriod

        void setQuoteExpirePeriod(java.lang.Long expirePeriod)
        Sets the expiry period for the quote.
        expirePeriod - Expire Period for the Quote