getParent (ViewNavigator - Java)

Returns the parent entry of the current or a specified entry in a view navigator.

Defined in

ViewNavigator

Syntax

public ViewEntry getParent()
    throws NotesException
public ViewEntry getParent(ViewEntry entry)
    throws NotesException

Parameters

ViewEntry entry

An entry in the view. Cannot be null.

Return value

ViewEntry

The parent entry of the current or specified entry. Returns null if there is no parent entry.

Usage

This method moves the current pointer to the retrieved entry unless the return value is null.

Example