JAVA/CORBA CLASSES


getModifiedDocuments method
Example

Gets the documents in a database that are modified since a specified time.

Note This method is new with Release 7.

Defined in

Database

Syntax

public DocumentCollection getModifiedDocuments()
   throws NotesException

public DocumentCollection getModifiedDocuments(DateTime since)
   throws NotesException

public DocumentCollection getModifiedDocuments(DateTime since, int noteClass)
   throws NotesException

Parameters

DateTime since


int noteClass Return value

DocumentCollection


Usage

The end time for the collection is the current database time, which is posted to the UntilTime property of the returned DocumentCollection object. This time should be specified as the "since" time in a subsequent call to getModifiedDocuments where you want to get all modified documents since the most recent call. Do not rely on the system time, which may differ from the database time.

This method throws NotesError.NOTES_NOSUCH_DBGETMODDOCS (4698) "Not a valid GetModifiedDocuments constant" if the noteClass parameter is invalid.

Language cross-reference

GetModifiedDocuments in LotusScript NotesDatabase class

Example
See Also