getAllUnreadDocuments (Database - Java)

Creates a document collection of all unread documents in the database.

Note: This method is new with Release 8.

Defined in

Database

Syntax

public DocumentCollection getAllReadDocuments()
    throws NotesException
public DocumentCollection getAllReadDocuments(string userid)
    throws NotesException

Parameters

string userid

Optional. If present, the method returns unread documents on behalf of the given name. If omitted, the method returns unread documents on behalf of the current user ID.

Return value

DocumentCollection

The new document collection.

Usage