getAllUnreadDocuments (Database - Java)
Creates a document collection of all unread documents in the database.
Note: This
method is new with Release 8.
Defined in
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
If the database does not track unread marks, all documents are considered read, and this method returns an empty collection.
For more information, see the DocumentCollection class.
Language cross-reference
GetAllUnreadDocuments method in LotusScript® NotesDatabase class