Interface ProductAttributeUpdateCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Implementing Classes:

    public interface ProductAttributeUpdateCmd
    extends ControllerCommand
    The ProductAttributeUpdateCmd is a URL and controller command that:
    • Updates an existing attribute. Note that attribute type cannot be changed.
    • If a new language ID is supplied, then ProductAttributeAddCmd will be called to create the attribute in the secondary language.
    • Most fields in the ATTRIBUTE table except for Market Place Edition related columns and IBM internal use columns.
    • Most fields in the ATTRIBUTE table except for Market Place Edition related columns and IBM internal use columns.
    Access Beans:
    • AttributeAccessBean
    • AttributeAccessBean
    Task Commands: UpdateAttributeCmd
    Other Controller Commands: None.
    Mandatory Parameters: attributeId, or catentryId and name.
    Additional Parameters: None.
    Optional Parameters: attrtypeId, desc, desc2, field1, descLangId, seq, URL.
    Default Value: descLangId = language ID from command context.
    • Field Detail


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

        static final java.lang.String CLASSNAME
        The name of this interface is "".
        See Also:
        Constant Field Values
    • Method Detail

      • getAttributeId

        java.lang.Long getAttributeId()
        Gets the attribute ID.
        the attribute ID
      • getCatentryId

        java.lang.Long getCatentryId()
        Gets the catalog entry ID.
        the catalog entry ID
      • setAttributeId

        void setAttributeId(java.lang.Long anAttributeId)
        Sets the attribute ID.
        anAttributeId - the attribute ID
      • setAttrLangId

        void setAttrLangId(java.lang.Integer anAttrLangId)
        Sets the language ID of the attribute.
        anAttrLangId - the language ID
      • setCatentryId

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

        void setDescription(java.lang.String astrDescription)
        Sets the description of the attribute.
        astrDescription - the description of the attribute
      • setDescription2

        void setDescription2(java.lang.String astrDescription2)
        Sets the second description of the attribute.
        astrDescription2 - the second description of the attribute
      • setField1

        void setField1(java.lang.String astrField1)
        Sets field 1 of the attribute.
        astrField1 - customizable field 1
      • setName

        void setName(java.lang.String astrName)
        Sets the attribute name.
        astrName - the attribute name
      • setOID

        void setOID(java.lang.String astrOID)
        Sets the object identifier of the attribute.
        astrOID - the attribute object identifier
      • setSequence

        void setSequence(java.lang.Double anSequence)
        Sets the sequence number of the attribute.
        anSequence - the sequence number
      • setURL

        void setURL(java.lang.String astrURL)
        Sets the redirect URL.
        astrURL - the redirect URL
      • setUsage

        void setUsage(java.lang.String astrUsage)
        Sets the usage of the attribute:
        • NULL or "1" indicates SKU-resolution. A defining attribute.
        • "2" or any other characters indicates a descriptive attribute and will not be used to resolve SKUs.
        astrUsage - the attribute usage