com.ibm.commerce.catalogmanagement.commands

Interface CatalogGroupUpdateCmd

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


    public interface CatalogGroupUpdateCmd
    extends ControllerCommand
    The CatalogGroupUpdateCmd is a URL and controller command that:
    • Updates a catalog group.
    • Updates a catalog group description. If an entry does not exist in the specified language, the catalog group description will be created.
    Parameters:
    • All fields in the CATALOG table.
    • All fields in the CATGRPDESC table.
    Access Beans:
    • CatalogGroupAccessBean
    • CatalogGroupDescriptionAccessBean
    Task Commands:
    • UpdateCatalogGroupCmd
    • UpdateCatalogGroupDescCmd
    Other Controller Commands: None.
    Mandatory Parameters: catgroupId, or identifier.
    Additional Parameters: masterCatalog, catalogId, enableContract.
    Optional Parameters: field1, field2, markForDelete, display, fImage, descLangId, keyword, lDesc, name, published, sDesc, tImage, URL.
    Default Value: descLangId = language ID from command context. published = 0.
    • 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

      • getCatgroupId

        java.lang.Long getCatgroupId()
        Gets the catalog group ID.
        Returns:
        the catalog group ID
      • getIdentifier

        java.lang.String getIdentifier()
        Gets the identifier of the catalog group.
        Returns:
        the catalog group identifier
      • setCatgroupId

        void setCatgroupId(java.lang.Long anCatgroupId)
        Sets the catalog group ID.
        Parameters:
        anCatgroupId - the catalog group ID
      • setDescLanguage

        void setDescLanguage(java.lang.Integer anDescLang)
        Sets the language ID used for the catalog group description.
        Parameters:
        anDescLang - the language ID
      • setDisplay

        void setDisplay(java.lang.String astrDisplay)
        Sets the display for the catalog group.
        Parameters:
        astrDisplay - the catalog group display
      • setField1

        void setField1(java.lang.String astrField1)
        Sets field 1 of the catalog group.
        Parameters:
        astrField1 - customizable field 1
      • setField2

        void setField2(java.lang.String astrField2)
        Sets field 2 of the catalog group.
        Parameters:
        astrField2 - customizable field 2
      • setFullimage

        void setFullimage(java.lang.String astrFullimage)
        Sets the path of the full image of the catalog group.
        Parameters:
        astrFullimage - the full image path of the catalog group
      • setIdentifier

        void setIdentifier(java.lang.String astrIdentifier)
        Sets the identifier of the catalog group.
        Parameters:
        astrIdentifier - the catalog group identifier
      • setKeyword

        void setKeyword(java.lang.String astrKeyword)
        Sets the keyword for the catalog group.
        Parameters:
        astrKeyword - the catalog group keyword
      • setLastupdate

        void setLastupdate(java.sql.Timestamp atmLastupdate)
        Sets the date and time the catalog group was updated. If not set, the time the command was called will be used.
        Parameters:
        atmLastupdate - the last time the catalog group was updated
      • setLongdescription

        void setLongdescription(java.lang.String astrLongdescription)
        Sets a long description of the catalog group.
        Parameters:
        astrLongdescription - the long description of the catalog group
      • setMarkfordelete

        void setMarkfordelete(java.lang.Integer anMarkfordelete)
        Sets the mark for delete flag of the catalog group:
        • 0 or null = catalog group not marked for delete.
        • 1 = catalog group will be marked for delete.
        Parameters:
        anMarkfordelete - whether the catalog is marked for deletion
      • setMemberId

        void setMemberId(java.lang.Long anMemberId)
        Sets the owner ID of the catalog group.
        Parameters:
        anMemberId - the owner of the catalog group
      • setName

        void setName(java.lang.String astrName)
        Sets the language dependent name of the catalog group.
        Parameters:
        astrName - the name of the catalog group
      • setOID

        void setOID(java.lang.String astrOID)
        Sets the object identifier of the catalog group.
        Parameters:
        astrOID - the catalog group object identifier
      • setPublished

        void setPublished(java.lang.Integer anPublished)
        Sets whether or not the catalog group description is published:
        • 0 = Not published.
        • 1 = Published.
        Parameters:
        anPublished - the published flag of the catalog group description
      • setShortdescription

        void setShortdescription(java.lang.String astrShortdescription)
        Sets the short description of the catalog group.
        Parameters:
        astrShortdescription - the catalog group short description
      • setThumbnail

        void setThumbnail(java.lang.String astrThumbnail)
        Sets the path of the thumbnail image of the catalog group.
        Parameters:
        astrThumbnail - the thumbnail image of the catalog group
      • setNote

        void setNote(java.lang.String astrNote)
        Set the footnote of the catalog group description
        Parameters:
        astrNote - Footnote of the catalog group
      • setURL

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