Interface representing a collection of annotations associated with a bookmark or bookmark folder.
[scriptable, uuid(335c9292-91a1-4ca0-ad0b-07d5f63ed6cd)]
interface fuelIAnnotations : nsISupports
Attributes
Array of the annotation names associated with the owning item
readonly attribute
nsIVariant
names
Methods
Gets the value of an annotation with the given name.
@param aName
The name of the annotation
@returns A variant containing the value of the annotation. Supports
string, boolean and number.
nsIVariant
get(in AString aName)
Determines if an annotation exists with the given name.
@param aName
The name of the annotation
@returns true if an annotation exists with the given name,
false otherwise.
boolean
has(in AString aName)
Removes the named annotation from the owner item.
@param aName
The name of annotation.
void
remove(in AString aName)
Sets the value of an annotation with the given name.
@param aName
The name of the annotation
@param aValue
The new value of the annotation. Supports string, boolean
and number
@param aExpiration
The expiration policy for the annotation.
See nsIAnnotationService.
void
set(in AString aName, in nsIVariant aValue, in PRInt32 aExpiration)
Compare to: