Attributes
From nsIDOMXULElement
From nsIRDFContainer
Returns
From nsIBookmarksService
nsIRDFResource
createBookmark(in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in wstring aPostData)
nsIRDFResource
createBookmarkInContainer(in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in wstring aPostData, in nsIRDFResource aFolder, in long aIndex)
nsIRDFResource
createFolderInContainer(in wstring aName, in nsIRDFResource aParentFolder, in long aIndex)
nsIRDFResource
createLivemark(in wstring aName, in wstring aURL, in wstring aRSSURL, in wstring aDescription)
nsIRDFResource
createLivemarkInContainer(in wstring aName, in wstring aURL, in wstring aRSSURL, in wstring aDescription, in nsIRDFResource aFolder, in long aIndex)
From nsIBookmarksService_MOZILLA_1_8_BRANCH
From nsIInternetSearchContext
From nsIRDFContainerUtils
Convert the specified index to an ordinal property.
From nsIRDFDataSource
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)
From nsIRDFService
From nsIXULTreeBuilder
Retrieve the RDF resource associated with the specified row.
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 nsIBookmarksService
nsIRDFResource
createBookmarkInContainer(in wstring aName, in wstring aURL, in wstring aShortcutURL, in wstring aDescription, in wstring aDocCharSet, in wstring aPostData, in nsIRDFResource aFolder, in long aIndex)
nsIRDFResource
createLivemarkInContainer(in wstring aName, in wstring aURL, in wstring aRSSURL, in wstring aDescription, in nsIRDFResource aFolder, in long aIndex)
nsIRDFResource
createFolderInContainer(in wstring aName, in nsIRDFResource aParentFolder, in long aIndex)
From nsIBookmarksService_MOZILLA_1_8_BRANCH
From nsIRDFContainer
Initialize the container wrapper to the specified resource using the specified datasource for context.
From nsIRDFContainerUtils
Retrieve the index of element in the container. Returns -1 if the element is not in the container.
Convert the specified ordinal property into an index
Returns 'true' if the property is an RDF ordinal property.
Return 'true' if the specified resource is an alternation
Return 'true' if the specified resource is a bag
Return 'true' if the specified resource is a container
Return 'true' if the specified resource is a container and it is empty
Return 'true' if the specified resource is a sequence
Decorates the specified resource appropriately to make it usable as an empty alternation in the specified data source.
Decorates the specified resource appropriately to make it usable as an empty bag in the specified data source.
Decorates the specified resource appropriately to make it usable as an empty sequence in the specified data source.
From nsIRDFDataSource
Returns true if the specified node is pointed to by the specified arc. Equivalent to enumerating ArcLabelsIn and comparing for the specified arc.
Returns true if the specified node has the specified outward arc. Equivalent to enumerating ArcLabelsOut and comparing for the specified arc.
Perform the specified command on set of sources.
void
DoCommand(in nsISupportsArray aSources, in nsIRDFResource aCommand, in nsISupportsArray aArguments)
Returns whether a given command is enabled for a set of sources.
boolean
IsCommandEnabled(in nsISupportsArray aSources, in nsIRDFResource aCommand, in nsISupportsArray aArguments)
'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)
'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)
Add an assertion to the graph.
void
Assert(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
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)
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)
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)
Find all children of that are related to the source by the given arc arc and 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
GetTargets(in nsIRDFResource aSource, in nsIRDFResource aProperty, 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.
Get a cursor to iterate over all the arcs that originate in a resource. @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.
Add an assertion to the graph.
void
Assert(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
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)
Returns the set of all commands defined for a given source.
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)
Find all children of that are related to the source by the given arc arc and 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
GetTargets(in nsIRDFResource aSource, in nsIRDFResource aProperty, 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)
Remove an assertion from the graph.
Returns true if the specified node has the specified outward arc. Equivalent to enumerating ArcLabelsOut and comparing for the specified arc.
From nsIRDFDelegateFactory
Create a delegate for the specified RDF resource. The created delegate should forward AddRef() and Release() calls to the aOuter object.
void
CreateDelegate(in nsIRDFResource aOuter, in string aKey, in nsIIDRef aIID, [retval, iid_is(aIID)] out nsQIResult aResult)
From nsIRDFInMemoryDataSource
From nsIRDFObserver
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 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 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 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 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)
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 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 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)
boolean
Mark(in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget, in boolean aTruthValue)
From nsIRDFService
From nsIXULTreeBuilder
Retrieve the index associated with specified RDF resource.
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)