IsValid (ViewEntry - Java)

Read-only. Indicates whether a view entry is a valid entry and not a deletion stub.

Defined in

ViewEntry

Data type

boolean

Syntax

public boolean isValid()
    throws NotesException

Legal values

  • true if the entry is valid
  • false if the entry is not valid

Usage

If a document is removed after a view entry collection containing it is created, you can use the corresponding view entry for navigation but cannot access the document. If the possibility of removal exists, you should check isValid before attempting to access the document.

Example