createViewNavMaxLevel (View - Java)

Creates a view navigator for all entries in a view down to a specified level.

Defined in

View

Syntax

public ViewNavigator createViewNavMaxLevel(int level)
    throws NotesException
public ViewNavigator createViewNavMaxLevel(int level, int cacheSize)
    throws NotesException

Parameters

int level

The maximum level of navigation 0 (top level) through 30 (default).

int cacheSize

The size of the navigator cache in view entries. Legal values are 0 (no cache) through 128 (default). Applies only to remote (IIOP) operations.

Return value


ViewNavigator

The new view navigator.

Usage

The entries in the navigator are all the entries in the view at levels 0 through the specified level.

An empty view results in an empty navigator. All navigation methods return null.

The cache enhances performance for iterative processing of entries using the navigation methods that do not take a parameter.

Example