com.ibm.commerce.catalogmanagement.commands

Interface CatalogEntryUpdateCmd

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


    public interface CatalogEntryUpdateCmd
    extends ControllerCommand
    The CatalogEntryUpdateCmd is a URL and controller command that:
    • Updates an existing catalog entry, catalog entry type cannot be changed.
    • Update a catalog entry description.
      • If the catalog entry is a product, then update the base item description.
    • If catalog entry is an item, then update the item specification.
    • If catalog entry is a product, then update the base item.
    • If the catalog entry description does not exists, then a new catalog entry description of the specified language will be created. A new base item description will be created if the catalog entry is a product. Any unspecified fields will be assigned default value, and not copied from the existing description.
    Parameters:
    • All fields in the CATENTRY table, except IBM internal use columns.
    • All fields in the CATENTDESC table
      • No fields required.
    • No fields required.
    • No fields required.
    • catalog entry ID and new language ID.
    Access Beans:
    • CatalogEntryAccessBean
    • CatalogEntryDescriptionAccessBean
      • BaseItemDescriptionAccessBean
    • ItemSpecificationAccessBean
    • BaseItemAccessBean
    • CatalogEntryDescriptionAccessBean, BaseItemDescriptionAccessBean
    Task Commands:
    • UpdateCatalogEntryCmd,
    • UpdateCatalogEntryDescCmd.
    Other Controller Commands
    None
    Mandatory Parameters
    catentryId or partnumber
    Additional Parameters
    none
    Optional Parameters
    buyable, field1, field2, field3, field4, field5, keyword, markForDelete, mfName, mfPartnumber, onAuction, onSpecial, catEntURL, aux1, aux2, available, fImage, descLangId, lDesc, name, published, sDesc, tImage, XML, URL, startDate, endDate, availabilityDate, lastOrderDate, endOfServiceDate, discontinueDate.
    Default Values
    descLangId=language being used, published=0, memeberId = owner ID of store.
    • 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

      • getCatentryId

        java.lang.Long getCatentryId()
        Gets the catalog entry ID.
        Returns:
        the catalog entry ID
      • getPartnumber

        java.lang.String getPartnumber()
        Gets the partnumber of the catalog entry.
        Returns:
        the catalog entry partnumber
      • setAuxdescription1

        void setAuxdescription1(java.lang.String astrAuxdescription1)
        Sets the first language dependent additional description for the catalog entry.
        Parameters:
        astrAuxdescription1 - the first auxiliary description for the catalog entry
      • setAuxdescription2

        void setAuxdescription2(java.lang.String astrAuxdescription2)
        Sets the second language dependent additional description for the catalog entry.
        Parameters:
        astrAuxdescription2 - the second auxiliary description for the catalog entry
      • setAvailabilitydate

        void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
        Sets the availability date for the catalog entry.
        Parameters:
        atmAvailabilitydate - the availability date
      • setAvailable

        void setAvailable(java.lang.Integer anAvailable)
        Sets the length of time to availability of the catalog entry.
        Parameters:
        anAvailable - the time to availability of the catalog entry
      • setBuyable

        void setBuyable(java.lang.Integer anBuyable)
        Sets the buyable option for the catalog entry:
        • 0 = catalog entry is not buyable.
        • 1 = catalog entry is buyable.
        Parameters:
        anBuyable - the buyable option for the catalog entry
      • setCatentryId

        void setCatentryId(java.lang.Long anCatentryId)
        Sets the catalog entry ID.
        Parameters:
        anCatentryId - the catalog entry ID
      • setCatEntURL

        void setCatEntURL(java.lang.String astrCatEntURL)
        Sets the URL path of the catalog entry.
        Parameters:
        astrCatEntURL - the URL for the catalog entry
      • setDescLanguage

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

        void setEndDate(java.sql.Timestamp atmEndDate)
        Sets the end date for the catalog entry.
        Parameters:
        atmEndDate - the end date
      • setExpirationdate

        void setExpirationdate(java.sql.Timestamp atmExpirationdate)
        Sets the expiration date for the catalog entry.
        Parameters:
        atmExpirationdate - the expiration date
      • setField1

        void setField1(java.lang.Integer anField1)
        Sets field 1 of the catalog entry.
        Parameters:
        anField1 - customizable field 1
      • setField2

        void setField2(java.lang.Integer anField2)
        Sets field 2 of the catalog entry.
        Parameters:
        anField2 - customizable field 2
      • setField3

        void setField3(java.math.BigDecimal adField3)
        Sets field 3 of the catalog entry.
        Parameters:
        anField3 - customizable field 3
      • setField4

        void setField4(java.lang.String astrField4)
        Sets field 4 of the catalog entry.
        Parameters:
        astrField4 - customizable field 4
      • setField5

        void setField5(java.lang.String astrField5)
        Sets field 5 of the catalog entry.
        Parameters:
        astrField5 - customizable field 5
      • setFullimage

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

        void setKeyword(java.lang.String astrKeyword)
        Sets the language dependent keyword for the catalog entry.
        Parameters:
        astrKeyword - the catalog entry keyword
      • setLongdescription

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

        void setMarkfordelete(java.lang.Integer anMarkfordelete)
        Sets the mark for delete flag of the catalog entry:
        • 0 = catalog entry not marked for delete.
        • 1 = catalog entry marked for delete.
        Parameters:
        anMarkfordelete - the mark for delete status of the catalog entry
      • setMemberId

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

        void setMfname(java.lang.String astrMfname)
        Sets the manufacturer name of the catalog entry.
        Parameters:
        astrMfname - the manufacturer name
      • setMfpartnumber

        void setMfpartnumber(java.lang.String astrMfpartnumber)
        Sets the partnumber of the catalog entry used by the manufacturer.
        Parameters:
        astrMfpartnumber - the manufacturer partnumber
      • setName

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

        void setOnauction(java.lang.Integer anOnauction)
        Sets the on auction option for the catalog entry:
        • 0 = catalog entry not on auction.
        • 1 = catalog entry on auction.
        Parameters:
        anOnauction - the auction flag for catalog entry
      • setOnspecial

        void setOnspecial(java.lang.Integer anOnspecial)
        Sets the on special option of the catalog entry:
        • 0 = catalog entry not on special.
        • 1 = catalog entry on special.
        Parameters:
        anOnspecial - the special flag for catalog entry
      • setPartnumber

        void setPartnumber(java.lang.String astrPartnumber)
        Sets the partnumber of the catalog entry.
        Parameters:
        astrPartnumber - the catalog entry partnumber
      • setPublished

        void setPublished(java.lang.Integer anPublished)
        Sets the published flag for the catalog entry:
        • 0 = catalog entry not published.
        • 1 = catalog entry published.
        Parameters:
        anPublished - the published flag for the catalog entry
      • setShortdescription

        void setShortdescription(java.lang.String astrShortdescription)
        Sets the language dependent short description of the catalog entry.
        Parameters:
        astrShortdescription - the short description of the catalog entry
      • setStartDate

        void setStartDate(java.sql.Timestamp atmstartDate)
        Sets the start date for the catalog entry.
        Parameters:
        atmStartDate - the start date
      • setAvailabilityDate

        void setAvailabilityDate(java.sql.Timestamp atmavailabilityDate)
        Sets the availability date for the catalog entry.
        Parameters:
        atmAvailabilityDate - the availability date
      • setLastOrderDate

        void setLastOrderDate(java.sql.Timestamp atmlastOrderDate)
        Sets the lastOrder date for the catalog entry.
        Parameters:
        atmLastOrderDate - the lastOrder date
      • setEndOfServiceDate

        void setEndOfServiceDate(java.sql.Timestamp atmendOfServiceDate)
        Sets the endOfService date for the catalog entry.
        Parameters:
        atmEndOfServiceDate - the endOfService date
      • setDiscontinueDate

        void setDiscontinueDate(java.sql.Timestamp atmdiscontinueDate)
        Sets the discontinue date for the catalog entry.
        Parameters:
        atmDiscontinueDate - the discontinue date
      • setThumbnail

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

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

        void setXMLdetail(java.lang.String astrXMLdetail)
        Sets the XML detail of the catalog entry.
        Parameters:
        astrXMLdetail - the XML detail of the catalog entry