Interface QuoteCreateCmd

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

    public interface QuoteCreateCmd
    extends ControllerCommand

    This Order controller command is used to create a quote container with no items.

    The new quote is stored in the ORDERS table and is associated with the OrderAccessBean. It has TYPE = QOT and STATUS = NEW. The EDP-Payments container is also initialized.


    URL (optional)
    The URL to be called when the command completes successfully.
    outQuoteName (optional)
    The name of the quote to be created (to be returned in the response). Default: Id of new quote.
    description (optional)
    The description of the quote to be created.
    orderId (response output)
    The Id of the quote created - returned in the response.
    The default implementation of this command is QuoteCreateCmdImpl. The QuoteCreate 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 name.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name.
        See Also:
        Constant Field Values
    • Method Detail

      • setUrl

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

        void setOutputQuoteName(java.lang.String quoteName)
        Sets the quote name as the output.
        quoteName -
      • setDescription

        void setDescription(java.lang.String description)
        Sets the description of the quote.
        description -
      • getOrderId

        java.lang.String getOrderId()
        Returns the orderId of the quote.
        quote orderId.