Visit Mozilla.org

nsINavHistoryQueryResultNode

From MDC

This article covers features introduced in Firefox 3

The nsINavHistoryQueryResultNode interface is used for Places queries and as a base for bookmark folders.

Note: If you request that places not be expanded in the options that generated the node, the node will report that it has no children and will never try to populate itself.

Contents

nsINavHistoryQueryResultNode is defined in toolkit/components/places/public/nsINavHistoryService.idl. It is scriptable and unfrozen (hasn't changed since Mozilla 1.9).

Inherits from: nsINavHistoryContainerResultNode

[edit] Method overview

void getQueries(out unsigned long queryCount, [retval,array,size_is(queryCount)] out nsINavHistoryQuery queries);

[edit] Attributes

Attribute Type Description
queryOptions nsINavHistoryQueryOptions The options that group the node's children; only valid for RESULT_TYPE_QUERY nodes. Read-only.

[edit] Methods

[edit] getQueries()

Returns the queries that build the node's children; only valid for RESULT_TYPE_QUERY nodes.

 void getQueries(
   out unsigned long queryCount,
   [retval,array,size_is(queryCount)] out nsINavHistoryQuery queries
 );
[edit] Parameters
queryCount
The number of queries in the queries array.
queries
An array of nsINavHistoryQuery objects describing the set of queries that build the node's children. There are queryCount elements in the array.

[edit] See also

nsINavHistoryContainerResultNode, nsINavHistoryQuery