openDatabaseIfModified (DbDirectory - Java)

Opens a database if it has been modified since a specified date.

Defined in

DbDirectory

Syntax

public Database openDatabaseIfModified(String dbfile, DateTime date)
    throws NotesException

Parameters

String dbfile

The file name of the database.

DateTime date

A cutoff date. If one or more documents in the database were modified since this date, the database is opened; if not, it is not opened. Cannot be null.

Return value

Database

The opened database, or null if the database is not opened.

Example