Subclasses

Returns

From nsIRDFContainer

 Remove the element at the specified index. If aRenumber is 'true', then
 the underlying RDF graph will be 're-numbered' to account for the
 removal.

 @return the element that was removed.
nsIRDFNode RemoveElementAt(in long aIndex, in boolean aRenumber)

From nsIRDFDataSource

 Find a child of that is related to the source by the given arc
 arc and truth value

 @return NS_RDF_NO_VALUE if there is no target accessable from the
 source via the specified property.
nsIRDFNode GetTarget(in nsIRDFResource aSource, in nsIRDFResource aProperty, in boolean aTruthValue)

Parameters

From nsIBookmarkTransactionManager

 Performs a new transaction according to the specified parameters

 @param aType         the type of transaction being performed.  Must be one
                      of the three constants defined below
 @param aAction       the action to be performed.  Expected values are:
                          import, insert, move, and remove (see bookmarks.js)
 @param aItem         the rdf node the transaction is being performed on
 @param aIndex        the index of the item in its RDF Container
 @param aParent       the rdf-parent of aItem, that is, the folder it
                      should be inserted into.
 @param aRemovedProps properties removed from the item in question
 
void createAndCommitTxn(in unsigned long aType, in AString aAction, in nsIRDFNode aItem, in long aIndex, in nsIRDFResource aParent, in unsigned long aPropCount, [array, size_is(aPropCount)] in nsIRDFLiteral aRemovedProps)

From nsIRDFContainer

 Append an element to the container, assigning it the next
 available ordinal.
void AppendElement(in nsIRDFNode aElement)
 Determine the index of an element in the container.

 @return The index of the specified element in the container. If
 the element is not contained in the container, this function
 returns '-1'.
long IndexOf(in nsIRDFNode aElement)
 Insert aElement at the specified index. If aRenumber is 'true', then
 the underlying RDF graph will be 're-numbered' to accomodate the new
 element.
void InsertElementAt(in nsIRDFNode aElement, in long aIndex, in boolean aRenumber)
 Remove the first occurence of the specified element from the
 container. If aRenumber is 'true', then the underlying RDF graph
 will be 're-numbered' to account for the removal.
void RemoveElement(in nsIRDFNode aElement, in boolean aRenumber)

From nsIRDFContainerUtils

 Retrieve the index of element in the container. Returns -1 if
 the element is not in the container.
long indexOf(in nsIRDFDataSource aDataSource, in nsIRDFResource aContainer, in nsIRDFNode aElement)

From nsIRDFDataSource

 Change an assertion from

   [aSource]--[aProperty]-->[aOldTarget]

 to
 
   [aSource]--[aProperty]-->[aNewTarget]
void Change(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget)
 Get a cursor to iterate over all the arcs that point into a node.

 @return NS_OK unless a catastrophic error occurs. If the method
 returns NS_OK, you may assume that labels points to a valid (but
 possible empty) nsISimpleEnumerator object.
nsISimpleEnumerator ArcLabelsIn(in nsIRDFNode aNode)
 Returns true if the specified node is pointed to by the specified arc.
 Equivalent to enumerating ArcLabelsIn and comparing for the specified arc.
boolean hasArcIn(in nsIRDFNode aNode, in nsIRDFResource aArc)
 Change an assertion from

   [aSource]--[aProperty]-->[aOldTarget]

 to
 
   [aSource]--[aProperty]-->[aNewTarget]
void Change(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget)
 Add an assertion to the graph.
void Assert(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
 Find an RDF resource that points to a given node over the
 specified arc & truth value

 @return NS_RDF_NO_VALUE if there is no source that leads
 to the target with the specified property.
nsIRDFResource GetSource(in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
 Find all RDF resources that point to a given node over the
 specified arc & truth value

 @return NS_OK unless a catastrophic error occurs. If the
 method returns NS_OK, you may assume that nsISimpleEnumerator points
 to a valid (but possibly empty) cursor.
nsISimpleEnumerator GetSources(in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
 Query whether an assertion exists in this graph.
boolean HasAssertion(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
 'Move' an assertion from

   [aOldSource]--[aProperty]-->[aTarget]

 to
 
   [aNewSource]--[aProperty]-->[aTarget]
void Move(in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget)
 Remove an assertion from the graph.
void Unassert(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget)

From nsIRDFNode


          
boolean EqualsNode(in nsIRDFNode aNode)

From nsIRDFObserver

 This method is called when the object of an assertion
 changes from one value to another.
 @param aDataSource the datasource that is issuing
   the notification.
 @param aSource the subject of the assertion
 @param aProperty the predicate of the assertion
 @param aOldTarget the old object of the assertion
 @param aNewTarget the new object of the assertion
void onChange(in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget)
 This method is called when the object of an assertion
 changes from one value to another.
 @param aDataSource the datasource that is issuing
   the notification.
 @param aSource the subject of the assertion
 @param aProperty the predicate of the assertion
 @param aOldTarget the old object of the assertion
 @param aNewTarget the new object of the assertion
void onChange(in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget)
 This method is called whenever a new assertion is made
 in the data source
 @param aDataSource the datasource that is issuing
   the notification.
 @param aSource the subject of the assertion
 @param aProperty the predicate of the assertion
 @param aTarget the object of the assertion
void onAssert(in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget)
 This method is called when the subject of an assertion
 changes from one value to another.
 @param aDataSource the datasource that is issuing
   the notification.
 @param aOldSource the old subject of the assertion
 @param aNewSource the new subject of the assertion
 @param aProperty the predicate of the assertion
 @param aTarget the object of the assertion
void onMove(in nsIRDFDataSource aDataSource, in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget)
 This method is called whenever an assertion is removed
 from the data source
 @param aDataSource the datasource that is issuing
   the notification.
 @param aSource the subject of the assertion
 @param aProperty the predicate of the assertion
 @param aTarget the object of the assertion
void onUnassert(in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget)

From nsIRDFPurgeableDataSource


          
boolean Mark(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)

From rdfITripleVisitor

 Callback function for returning query results.

 @param aSubject, aPredicate, aObject describe the (sub-)arc
 @returnCode NS_RDF_STOP_VISIT to stop iterating over the query result.
             Any error code will stop the iteration as well.
void visit(in nsIRDFNode aSubject, in nsIRDFResource aPredicate, in nsIRDFNode aObject, in boolean aTruthValue)
 Callback function for returning query results.

 @param aSubject, aPredicate, aObject describe the (sub-)arc
 @returnCode NS_RDF_STOP_VISIT to stop iterating over the query result.
             Any error code will stop the iteration as well.
void visit(in nsIRDFNode aSubject, in nsIRDFResource aPredicate, in nsIRDFNode aObject, in boolean aTruthValue)