com.ibm.commerce.catalogmanagement.commands

Interface CatalogUpdateCmd

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


    public interface CatalogUpdateCmd
    extends ControllerCommand
    The CatalogUpdateCmd is a URL and controller command that:
    • Updates a catalog.
    • Updates a catalog description. If the catalog description does not exist in the given language, it will be created.
    Parameters:
    • All fields in the CATALOG table.
    • All fields in the CATALOGDSC table.
    Access Beans:
    • CatalogAccessBean
    • CatalogDescriptionAccessBean
    Task Commands:
    • UpdateCatalogCmd
    • UpdateCatalogDescCmd
    Other Controller Commands: None.
    Mandatory Parameters: catalogId, or identifier.
    Additional Parameters: None.
    Optional Parameters: fImage, tImage, sDesc, lDesc, Desc, descLangId, name, URL.
    Default Value: descLangId = language ID from command context.
    • 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

      • getCatalogId

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

        java.lang.String getIdentifier()
        Gets the catalog identifier.
        Returns:
        the catalog identifier
      • setCatalogId

        void setCatalogId(java.lang.Long anCatalogId)
        Sets the catalog ID.
        Parameters:
        the - catalog ID
      • setDescLanguage

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

        void setDescription(java.lang.String astrDescription)
        Sets the description of the catalog.
        Parameters:
        astrDescription - the catalog description
      • setFullimage

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

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

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

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

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

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

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

        void setTPCLevel(java.lang.Integer anTPCLevel)
        Sets the trading position container level of the catalog.
        Parameters:
        anTPCLevel - the trading position container level of the catalog
      • setURL

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