markAllRead (View - Java)

Marks all documents in the view as read.

Note: This method is new with Release 8.

Defined in

View

Syntax

public void markAllRead([user-name])
    throws NotesException

Parameters

String user-name

Optional. If present, the method marks all of the documents in the view read on behalf of the given name. If omitted then the method marks all of the documents in the view read on behalf of the current user ID.

Usage

If the database does not track unread marks, all documents are considered read, and this method has no effect.

Example