Interface AttributeValueDeleteCmd

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

    public interface AttributeValueDeleteCmd
    extends ControllerCommand
    The AttributeValueDeleteCmd is a URL and Controller Command that:
    • If the attribute value ID is supplied:
      • delete an existing attribute value
      • calls CatalogEntryDeleteCmd for all the items associated with the deleting attribute value.
    • If the catalog entry ID of an item is supplied:
      • delete all attribute values related to that catalog entry
      • calls the CatalogEntryDeleteCmd to delete the item
    • attribute value ID
    • catalog entry ID
    Access Beans:
    • AttributeValue
    Task Commands: DeleteAttributeValueCmd
    Other Controller Commands: None
    Mandatory Parameters: attrvalueId, or catentryId
    Additional Parameters: none
    Optional Parameters: force, descLangId, URL
    • 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
      • getAttrvalueId

        java.lang.Long getAttrvalueId()
        Gets the attribute value ID.
        the attribute value 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
      • setAttrvalueId

        void setAttrvalueId(java.lang.Long anAttrvalueId)
        Sets the attribute value ID.
        anAttrvalueId - the attribute value ID
      • setCatentryId

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

        void setDescLanguage(java.lang.Integer anDescLanguage)
        Sets the language ID for the attribute value.
        anDescLanguage - the language ID
      • setForce

        void setForce(java.lang.Integer anForce)
        Sets the force delete option for the attribute value. The force delete option is used to determine if the catalog entry associated with the attribute value is to be deleted or marked for deletion:
        • 0 = catalog entry associated with the attribute value will be marked for deletion,
        • 1 = catalog entry associated with the attribute value will be deleted.
        anForce - the force delete option for deleting the catalog entry
      • setURL

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