com.ibm.commerce.catalogmanagement.commands

Class CatGroupCatEntryRelAddCmdImpl

  • All Implemented Interfaces:
    CatGroupCatEntryRelAddCmd, AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class CatGroupCatEntryRelAddCmdImpl
    extends ControllerCommandImpl
    implements CatGroupCatEntryRelAddCmd
    The CatGroupCatEntryRelAddCmd is a URL and controller command that:
    • Adds a relationship between a catalog group and a catalog entry.
    Parameters:
    • CatalogId, CatGroupId, and CatEntryId
    Access Beans:
    • CatalogGroupCatalogEntryRelationAccessBean
    Task Commands: AddCatgpenrelCmd
    Other Controller Commands: None.
    Mandatory Parameters: catalogId, catgroupId, catentryId, masterCatalog.
    Additional Parameters: None.
    Optional Parameters: rule, seq, URL.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASSNAME
        The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatGroupCatEntryRelAddCmdImpl".
        See Also:
        Constant Field Values
    • Constructor Detail

      • CatGroupCatEntryRelAddCmdImpl

        public CatGroupCatEntryRelAddCmdImpl()
    • Method Detail

      • getCatalogId

        public java.lang.Long getCatalogId()
        Gets the catalog Id for the catalog group catalog entry relationship.
        Specified by:
        getCatalogId in interface CatGroupCatEntryRelAddCmd
        Returns:
        catalog group Id
      • getCatentryId

        public java.lang.Long getCatentryId()
        Gets the catalog entry Id for the catalog group catalog entry relationship.
        Specified by:
        getCatentryId in interface CatGroupCatEntryRelAddCmd
        Returns:
        catalog entry Id
      • getCatgroupId

        public java.lang.Long getCatgroupId()
        Gets the catalog group Id for the catalog group catalog entry relationship.
        Specified by:
        getCatgroupId in interface CatGroupCatEntryRelAddCmd
        Returns:
        catalog group Id
      • getRule

        public java.lang.String getRule()
        Gets the rule.
        Returns:
        rule
      • getSequence

        public java.lang.Double getSequence()
        Gets the sequence number for the relationship.
        Returns:
        sequenced number
      • getURL

        public java.lang.String getURL()
        Gets the redirect URL.
        Returns:
        redirect URL
      • reset

        public void reset()
        Resets all the variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setCatalogId

        public void setCatalogId(java.lang.Long anCatalogId)
        Sets a catalog Id for the catalog group catalog entry relationship.
        Specified by:
        setCatalogId in interface CatGroupCatEntryRelAddCmd
        Parameters:
        anCatalogId - catalog Id
      • setCatentryId

        public void setCatentryId(java.lang.Long anCatentryId)
        Sets a catalog entry Id for the catalog group catalog entry relationship.
        Specified by:
        setCatentryId in interface CatGroupCatEntryRelAddCmd
        Parameters:
        anCatentryId - catalog entry Id
      • setCatgroupId

        public void setCatgroupId(java.lang.Long anCatgroupId)
        Sets a catalog group Id for the catalog group catalog entry relationship.
        Specified by:
        setCatgroupId in interface CatGroupCatEntryRelAddCmd
        Parameters:
        anCatgroupId - java.lang.Long
      • setRule

        public void setRule(java.lang.String astrRule)
        Sets the rule.
        Specified by:
        setRule in interface CatGroupCatEntryRelAddCmd
        Parameters:
        astrRule - rule
      • setSequence

        public void setSequence(java.lang.Double adSequence)
        Sets the sequence number for the relationship.
        Specified by:
        setSequence in interface CatGroupCatEntryRelAddCmd
        Parameters:
        adSequence - sequence for the relationship
      • setURL

        public void setURL(java.lang.String astrURL)
        Sets the redirect URL.
        Specified by:
        setURL in interface CatGroupCatEntryRelAddCmd
        Parameters:
        astrURL - redirect URL
      • productSetSynchronization

        public void productSetSynchronization()
                                       throws ECException
        Product Set Synchronization. When a new relationship is established, the product set will need to be synchronized.
        Throws:
        ECException