markAllUnread (DocumentCollection - Java)

Marks all the documents in a collection unread.

Note: This method is new with Release 8.

Defined in

DocumentCollection

Syntax

public void markAllUnread([String user-name])
    throws NotesException

Parameters

String user-name

Optional. If present, the method marks all the documents in the collection as unread on behalf of the given name. If omitted then the method marks the notes as unread 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.