JAVA/CORBA CLASSES


createViewNavFromCategory method
Example

Creates a view navigator for all entries in a view under a specified category.

Defined in

View

Syntax

public ViewNavigator createViewNavFromCategory(String categoryName)
   throws NotesException

public ViewNavigator createViewNavFromCategory(String categoryName, int cacheSize)
   throws NotesException

Parameters

String categoryName


int cacheSize
Return value

ViewNavigator


Usage

The entries in the navigator are all the entries in the view under the specified category. The category entry itself is excluded.

If the category does not exist, the result is an empty navigator. All navigation methods return null.

Subcategories can be specified using backslash notation (don't forget to escape the backslashes), for example, "Asia\\Korea" means the subcategory "Korea" under the main category "Asia."

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

Language cross-reference

CreateViewNavFromCategory method in LotusScript NotesView class

Example
See Also