com.ibm.commerce.catalogmanagement.commands

Interface CatGroupRelAddCmd

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


    public interface CatGroupRelAddCmd
    extends ControllerCommand
    The CatGroupRelAddCmd is a URL and controller command that:
    • Adds a relationship between a parent catalog group and a child catalog group
    • Synchronizes product sets only if the synchronizeProductSet parameter is true (default).
    Parameters:
    • CatalogId, CatGroupIdParent, CatGroupIdChild
    Access Beans:
    • CatalogGroupRelationAccessBean
    Task Commands: AddCatgrprelCmd
    Other Controller Commands: None.
    Mandatory Parameters: catalogId, CatgroupIdParent, catgroupIdChild, masterCatalog.
    Additional Parameters: None.
    Optional Parameters: rule, seq, URL, synchronizeProductSet.
    • 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
      • setRule

        void setRule(java.lang.String astrRule)
        Sets the personalization rule for dynamic grouping.
        Parameters:
        astrRule - the rule
      • setSequence

        void setSequence(java.lang.Double adSequence)
        Sets the sequence number for the catalog group to catalog group relationship.
        Parameters:
        adSequence - the sequence number
      • 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