com.ibm.commerce.catalogmanagement.commands

Interface CatGroupRelDeleteCmd

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


    public interface CatGroupRelDeleteCmd
    extends ControllerCommand
    The CatGroupRelDeleteCmd is a URL and controller command that:
    • Deletes a relationship between a parent catalog group and a child catalog group.
    • If the parent catatlog group is generic, then deletes all the catalog group relationships with the specified child catalog group ID.
    • If the child catatlog group is generic, then deletes all the catalog group relationships with the specified parent catalog group ID.
    • Synchronizes product sets only if the synchronizeProductSet parameter is true (default).
    Parameters:
    • CatalogId, CatGroupIdParent, CatGroupIdChild
    • CatalogId, CatGroupIdParent=*, CatGroupIdChild
    • CatalogId, CatGroupIdParent, CatGroupIdChild=*
    Access Beans:
    • CatalogGroupRelationshipAccessBean
    • CatalogGroupRelationshipAccessBean
    • CatalogGroupRelationshipAccessBean
    Task Commands: DeleteCatgrprelCmd
    Other Controller Commands: None.
    Mandatory Parameters: catalogId, catgroupIdParent, catgroupIdChild, 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 group relationship.
        Parameters:
        anCatalogId - the catalog ID
      • setCatgroupIdChild

        void setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
        Sets the child catalog group ID for the catalog group to catalog group relationship.
        Parameters:
        anCatgroupIdChild - the child catalog group ID
      • setCatgroupIdParent

        void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
        Sets the parent catalog group ID for the catalog group to catalog group relationship.
        Parameters:
        anCatgroupIdParent - the parent catalog group ID
      • setURL

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

        void setSynchronizeProductSets(boolean synchronizeProductSets)
        Sets the synchronize attribute for product set synchronization
        Parameters:
        true - or false
      • getCatalogId

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

        java.lang.Long getCatgroupIdChild()
        Gets the child catalog group ID for the catalog group to catalog group relationship.
        Returns:
        the child catalog group ID
      • getCatgroupIdParent

        java.lang.Long getCatgroupIdParent()
        Gets the parent catalog group ID for the catalog group to catalog group relationship.
        Returns:
        the parent catalog group ID
      • getSynchronizeProductSets

        boolean getSynchronizeProductSets()
        Gets the synchronize attribute for product set synchronization
        Returns:
        true or false