com.ibm.commerce.quote.commands

Interface QuoteItemDeleteCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    QuoteItemDeleteCmdImpl


    public interface QuoteItemDeleteCmd
    extends ControllerCommand
    This Order controller command is used to delete an item from a quote. This is similar in functionality to the OrderItemDeleteCmd. The related quote must be in STATUS = NEW state for this command to function.

    Parameters

    orderItemId (mandatory)
    The Id of the item to be deleted.
    URL (mandatory)
    The URL to be called when the command completes successfully.
    The default implementation of this command is QuoteItemDeleteCmdImpl. The QuoteItemDelete URL is mapped to this command by default.
    • Field Detail

      • COPYRIGHT

        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 command.
      • defaultCommandClassName

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

      • setCatEntryId

        void setCatEntryId(java.lang.String[] ids)
        Sets a list of catalog entry ids to be deleted from the pending orders specified by orderId. This parameter is mandatory if orderItemId is not set. This parameter is ignored if orderItemId is set.
        Parameters:
        ids - an array of catalog entry ids.
      • setOrderId

        void setOrderId(java.lang.String[] ids)
        Specifies zero or more orders, using order ids or one of the special abbreviations ".", "*", ".t", "*t". See OrderItem Commands for a description of these abbreviations. If this parameter is omitted, then it defaults to "."
        Parameters:
        ids - an array of order ids.
      • setOrderItemId

        void setOrderItemId(java.lang.String[] numbers)
        Sets an array of ids for order items that are to be deleted.
        Parameters:
        numbers - an array of order item ids.
      • setOutOrderName

        void setOutOrderName(java.lang.String[] outOrderName)
        Sets the output name of the quote (optional).
        Parameters:
        outOrderName -