WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/rdf/datasource;1?name=mailnewsfolders

This component implements the following interfaces:

Constants

folderListenerNotifyFlagValue nsIFolderListener.added = 1
folderListenerNotifyFlagValue nsIFolderListener.removed = 2
folderListenerNotifyFlagValue nsIFolderListener.propertyChanged = 4
folderListenerNotifyFlagValue nsIFolderListener.intPropertyChanged = 8
folderListenerNotifyFlagValue nsIFolderListener.boolPropertyChanged = 16
folderListenerNotifyFlagValue nsIFolderListener.unicharPropertyChanged = 32
folderListenerNotifyFlagValue nsIFolderListener.propertyFlagChanged = 64
folderListenerNotifyFlagValue nsIFolderListener.event = 128
folderListenerNotifyFlagValue nsIFolderListener.all = -1

Properties

readonly char* nsIRDFDataSource.URI

The "URI" of the data source. This used by the RDF service's GetDataSource() method to cache datasources.

nsIMsgWindow nsIMsgRDFDataSource.window

Methods

InterfaceMethod
nsIRDFDataSource void AddObserver ( nsIRDFObserver observer )
nsIRDFDataSource nsISimpleEnumerator ArcLabelsIn ( nsIRDFNode node )
nsIRDFDataSource nsISimpleEnumerator ArcLabelsOut ( nsIRDFResource source )
nsIRDFDataSource void Assert ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource void beginUpdateBatch ( )
nsIRDFDataSource void Change ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode oldTarget , nsIRDFNode newTarget )
nsIRDFDataSource void DoCommand ( nsISupportsArray sources , nsIRDFResource command , nsISupportsArray arguments )
nsIRDFDataSource void endUpdateBatch ( )
nsIRDFDataSource nsISimpleEnumerator GetAllCmds ( nsIRDFResource source )
nsIRDFDataSource nsISimpleEnumerator GetAllResources ( )
nsIRDFDataSource nsIRDFResource GetSource ( nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource nsISimpleEnumerator GetSources ( nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource nsIRDFNode GetTarget ( nsIRDFResource source , nsIRDFResource property , PRBool truthValue )
nsIRDFDataSource nsISimpleEnumerator GetTargets ( nsIRDFResource source , nsIRDFResource property , PRBool truthValue )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIRDFDataSource PRBool hasArcIn ( nsIRDFNode node , nsIRDFResource arc )
nsIRDFDataSource PRBool hasArcOut ( nsIRDFResource source , nsIRDFResource arc )
nsIRDFDataSource PRBool HasAssertion ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource PRBool IsCommandEnabled ( nsISupportsArray sources , nsIRDFResource command , nsISupportsArray arguments )
nsIRDFDataSource void Move ( nsIRDFResource oldSource , nsIRDFResource newSource , nsIRDFResource property , nsIRDFNode target )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIFolderListener void OnItemAdded ( nsIRDFResource parentItem , nsISupports item )
nsIFolderListener void OnItemBoolPropertyChanged ( nsIRDFResource item , nsIAtom property , PRBool oldValue , PRBool newValue )
nsIFolderListener void OnItemEvent ( nsIMsgFolder item , nsIAtom event )
nsIFolderListener void OnItemIntPropertyChanged ( nsIRDFResource item , nsIAtom property , PRInt32 oldValue , PRInt32 newValue )
nsIFolderListener void OnItemPropertyChanged ( nsIRDFResource item , nsIAtom property , char* oldValue , char* newValue )
nsIFolderListener void OnItemPropertyFlagChanged ( nsIMsgDBHdr item , nsIAtom property , PRUint32 oldFlag , PRUint32 newFlag )
nsIFolderListener void OnItemRemoved ( nsIRDFResource parentItem , nsISupports item )
nsIFolderListener void OnItemUnicharPropertyChanged ( nsIRDFResource item , nsIAtom property , PRUnichar* oldValue , PRUnichar* newValue )
nsIRDFDataSource void RemoveObserver ( nsIRDFObserver observer )
nsIRDFDataSource void Unassert ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )

Reference documentation is generated from Mozilla's source.