com.ibm.commerce.catalogmanagement.commands

Interface AttributeValueDeleteCmd

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


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

      • COPYRIGHT

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

        static final java.lang.String CLASSNAME
        The name of this interface is "com.ibm.commerce.catalogmanagement.commands.AttributeValueDeleteCmd".
        See Also:
        Constant Field Values
    • Method Detail

      • getAttributeId

        java.lang.Long getAttributeId()
        Gets the attribute ID.
        Returns:
        the attribute ID
      • getAttrvalueId

        java.lang.Long getAttrvalueId()
        Gets the attribute value ID.
        Returns:
        the attribute value ID
      • getCatentryId

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

        void setAttributeId(java.lang.Long anAttributeId)
        Sets the attribute ID.
        Parameters:
        anAttributeId - the attribute ID
      • setAttrvalueId

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

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

        void setDescLanguage(java.lang.Integer anDescLanguage)
        Sets the language ID for the attribute value.
        Parameters:
        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.
        Parameters:
        anForce - the force delete option for deleting the catalog entry
      • setURL

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