nsIAbDirectoryQuery
IID: | 4241C46E-1DD2-11B2-978D-A2FBD0A72AC2 |
Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
PRInt32 doQuery ( nsIAbDirectoryQueryArguments arguments , nsIAbDirectoryQueryResultListener listener , PRInt32 resultLimit , PRInt32 timeOut )
void stopQuery ( PRInt32 contextID )
PRInt32 doQuery ( nsIAbDirectoryQueryArguments arguments , nsIAbDirectoryQueryResultListener listener , PRInt32 resultLimit , PRInt32 timeOut )
Initiates a query on a directory and sub-directories for properties on cards
- Arguments:
- arguments: The properties and values to match Value could of type nsIAbDirectoryQueryMatchItem for matches other than ?contains?
- listener: The listener which will obtain individual query results
- resultLimit: Limits the results returned to a specifed maximum value
- timeOut
- Returns:
- Unique number representing the context ID of the query
void stopQuery ( PRInt32 contextID )
Stops an existing query operation if query operation is asynchronous
The nsIAbDirectoryQueryResultListener will be notified when query has stopped
It is implementation specific if notification synchronous or asynchronous
- Arguments:
- contextID: The unique number returned from the doQuery methods
Reference documentation is generated from Mozilla's source.