com.ibm.commerce.interestitems.commands

Interface InterestItemDeleteCmd

  • 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:
    InterestItemDeleteCmdImpl


    public interface InterestItemDeleteCmd
    extends ControllerCommand
    The InterestItemDeleteCmd is a controller command that deletes items from one or more interest item lists. The interest items are stored in the IITEM table.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmd".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmdImpl".
        See Also:
        Constant Field Values
    • Method Detail

      • setCatEntryId

        void setCatEntryId(java.lang.String[] asaCatEntryId)
        Sets the catentry ID parameters (optional).
        Parameters:
        asaCatEntryId - the catalog entry IDs
      • setListId

        void setListId(java.lang.String[] asaListId)
        Sets the interest item list ID parameters (optional with default "."). If "." is specified, the GetCurrentIILists process task is invoked to obtain the shopper's current interest item lists. Then the command behaves as if the current interest item lists were specified. If GetCurrentIILists process task determines that there are no current interest item lists, the most recently updated item interest item list is used. If there is no interest item list at all, a new interest item list will be created. If "*" is specified, the command behaves as if all shopper's interest item lists were specified. If a specified interest item list no longer exists, it is not added. If this parameter is missing, this command behaves as if "." were specified.
        Parameters:
        asaListId - the interest item list IDs
      • setListIdName

        void setListIdName(java.lang.String[] asaListIdName)
        Sets the names of the name-value pairs to be added to the redirection URL (optional). The values of the added name-value pairs are the reference number of the interest item lists specified by listId. This is provided to make it possible to obtain the reference numbers of the interest item lists when listId is not explicitly specified.
        Parameters:
        asaListIdName - the list ID names