getAllUnreadEntries (View - Java)

The method returns all entries associated with documents that have not been read.

Note: This method is new with Release 8.

Defined in

View

Syntax

public ViewEntryCollection getAllUnreadEntries([String user-name])
    throws NotesException

Parameters

String user-name

Optional. If present the method returns a ViewEntryCollection containing all unread entries on behalf of the given name. If omitted the method returns a ViewEntryCollection containing all unread entries on behalf of the current user ID.

Return value

ViewEntryCollection

All unread entries. If no entries are unread, the collection is empty and the count is zero. If the database does not track unread marks, all entries are considered read.

Example