com.ibm.commerce.catalogmanagement.commands

Interface CatGroupCatEntryRelDeleteCmd

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


    public interface CatGroupCatEntryRelDeleteCmd
    extends ControllerCommand
    The CatGroupCatEntryRelDeleteCmd is a URL and controller command that:
    • Deletes a relationship between a catalog group and a catalog entry.
    • If the catalog group is generic, then deletes all the catalog group to catalog entry relationship with the specified catalog entry ID.
    • If the catalog entry is generic, then deletes all the catalog group to catalog entry relationship with the specified catalog group ID.
    Parameters:
    • CatalogId, CatGroupId, CatEntryId
    • CatalogId, CatGroupId=*, CatEntryId
    • CatalogId, CatGroupId, CatEntryId=*
    Access Beans:
    • CatalogGroupCatalogEntryRelationAccessBean
    • CatalogGroupCatalogEntryRelationAccessBean
    • CatalogGroupCatalogEntryRelationAccessBean
    Task Commands: DeleteCatgpenrelCmd
    Other Controller Commands: None.
    Mandatory Parameters: catalogId, catgroupId, catentryId, masterCatalog.
    Additional Parameters: None.
    Optional Parameters: URL.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String CLASSNAME
        Defines the CLASSNAME.
        See Also:
        Constant Field Values
    • Method Detail

      • setCatalogId

        void setCatalogId(java.lang.Long anCatalogId)
        Sets the catalog ID for the catalog group to catalog entry relationship. Catalog ID must be supplied for the command.
        Parameters:
        anCatalogId - the catalog ID
      • setCatentryId

        void setCatentryId(java.lang.Long anCatentryId)
        Sets the catalog entry ID for the catalog group to catalog entry relationship. Catalog entry ID can be generic (*).
        Parameters:
        anCatentryId - the catalog entry ID
      • setCatgroupId

        void setCatgroupId(java.lang.Long anCatgroupId)
        Sets the catalog group ID for the catalog group to catalog entry relationship. Catalog group ID can be generic (*).
        Parameters:
        anCatgroupId - the catalog group ID
      • setRule

        void setRule(java.lang.String astrRule)
        Sets the personalization rule for dynamic grouping. This is not used to determine which relationship to delete.
        Parameters:
        astrRule - the rule
      • setSequence

        void setSequence(java.lang.Double adSequence)
        Sets the sequence number. This is not used to determine which relationship to delete.
        Parameters:
        adSequence - the sequence number of the relationship
      • setURL

        void setURL(java.lang.String astrURL)
        Sets the redirect URL.
        Parameters:
        astrURL - the redirect URL
      • getCatalogId

        java.lang.Long getCatalogId()
        Gets the catalog ID for the catalog group to catalog entry relationship.
        Returns:
        the catalog ID
      • getCatentryId

        java.lang.Long getCatentryId()
        Gets the catalog entry ID for the catalog group to catalog entry relationship.
        Returns:
        the catalog entry ID
      • getCatgroupId

        java.lang.Long getCatgroupId()
        Gets the catalog group ID for the catalog group to catalog entry relationship.
        Returns:
        the catalog group ID