AllDocuments (Database - Java)

Read-only. An unsorted collection containing all the documents in a database.

Defined in

Database

Data type

DocumentCollection

Syntax

public DocumentCollection getAllDocuments()
    throws NotesException

Usage

The FTSearch and search methods return smaller collections of documents that meet specific criteria.

Using the AllDocuments property is more efficient than using the search method with an @All formula.

The database must be open to use this property.

Example