com.ibm.commerce.catalogmanagement.commands

Interface CatalogAddCmd

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


    public interface CatalogAddCmd
    extends ControllerCommand
    The CatalogAddCmd is a URL and controller command that:
    • Adds a new Catalog. If the catalog is new, then the catalog ID cannot be set.
    • Adds a new Catalog description.
    • Adds a relationship between the new Catalog and the Store.
    Parameters:
    • MemberId, Identifier, and all fields in the Catalog.
    • All fields in the CatalogDsc table.
    Access Beans:
    • CatalogAccessBean,
    • CatalogDescriptionAccessBean,
    • StoreCatalogAccessBean.
    Task Commands:
    • AddCatalogCmd,
    • AddCatalogDescCmd
    Other Controller commands: CatalogStoreRelAddCmd
    Mandatory Parameters: identifier, or catalogId (if adding catalog description)
    Additional Parameters: none
    Optional Parameters: desc, fImage, tImage, sDesc, lDesc, name, descLangId, 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

      • getCatalogId

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

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

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

        void setIdentifier(java.lang.String astrIdentifier)
        Sets the identifier of the catalog.
        Parameters:
        astrIdentifier - the catalog identifier
      • 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
      • setDescLanguage

        void setDescLanguage(java.lang.Integer anDescLang)
        Sets the language ID for the catalog description.
        Parameters:
        anDescLang - the language for the catalog description
      • 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 for the catalog description.
        Parameters:
        astrFullimage - the path to the full image
      • setLongdescription

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

        void setMemberId(java.lang.Long anMemberId)
        Set the owner ID of the 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 name of the catalog
      • 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
      • setURL

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