getAllReadDocuments (Database - Java)

Creates a document collection of all read 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 read documents on behalf of the given name. If omitted, the method returns read documents on behalf of the current user ID.

Return value

DocumentCollection

The new document collection.

Usage

If the database does not track unread marks, all documents are considered read.