@mozilla.org/messenger/searchSession;1

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
PRInt32 nsIMsgSearchSession.BooleanOR = 0
PRInt32 nsIMsgSearchSession.BooleanAND = 1

Properties

readonly PRInt32 nsIMsgSearchSession.numResults

readonly PRUint32 nsIMsgSearchSession.numSearchTerms

readonly nsIMsgSearchAdapter nsIMsgSearchSession.runningAdapter

readonly voidPtr* nsIMsgSearchSession.searchParam

readonly nsISupportsArray nsIMsgSearchSession.searchTerms

readonly nsMsgSearchType* nsIMsgSearchSession.searchType

nsIMsgWindow nsIMsgSearchSession.window

Methods

InterfaceMethod
nsIMsgSearchSession void AddAllScopes ( nsMsgSearchScopeValue attrib )
nsIMsgSearchSession void addDirectoryScopeTerm ( nsMsgSearchScopeValue scope )
nsIMsgSearchSession [noscript] void AddResultElement ( nsMsgResultElement* element )
nsIMsgSearchSession void addScopeTerm ( nsMsgSearchScopeValue scope , nsIMsgFolder folder )
nsIMsgSearchSession void addSearchHit ( nsIMsgDBHdr header , nsIMsgFolder folder )
nsIMsgSearchSession void addSearchTerm ( nsMsgSearchAttribValue attrib , nsMsgSearchOpValue op , nsIMsgSearchValue value , PRBool BooleanAND , char* arbitraryHeader )
nsIMsgSearchSession void appendTerm ( nsIMsgSearchTerm term )
nsIMsgSearchSession void clearScopes ( )
nsIMsgSearchSession PRInt32 countSearchScopes ( )
nsIMsgSearchSession nsIMsgSearchTerm createTerm ( )
nsIMsgSearchSession void getNthSearchScope ( PRInt32 which , out nsMsgSearchScopeValue scopeId , out nsIMsgFolder folder )
nsIMsgSearchSession void getNthSearchTerm ( PRInt32 whichTerm , nsMsgSearchAttribValue attrib , nsMsgSearchOpValue op , nsIMsgSearchValue value )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIMsgSearchSession void interruptSearch ( )
nsIMsgSearchSession PRBool IsStringAttribute ( nsMsgSearchAttribValue attrib )
nsIMsgSearchSession PRBool MatchHdr ( nsIMsgDBHdr msgHdr , nsIMsgDatabase database )
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 )
nsIUrlListener void OnStartRunningUrl ( nsIURI url )
nsIUrlListener void OnStopRunningUrl ( nsIURI url , nsresult exitCode )
nsIMsgSearchSession void pauseSearch ( )
nsIMsgSearchSession void registerListener ( nsIMsgSearchNotify listener )
nsIMsgSearchSession void resumeSearch ( )
nsIMsgSearchSession [noscript] PRBool ScopeUsesCustomHeaders ( nsMsgSearchScopeValue scope , voidPtr* selection , PRBool forFilters )
nsIMsgSearchSession void search ( nsIMsgWindow window )
nsIMsgSearchSession [noscript] nsMsgSearchType* SetSearchParam ( nsMsgSearchType* type , voidPtr* param )
nsIMsgSearchSession void unregisterListener ( nsIMsgSearchNotify listener )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com