createDocument (Database - Java)

Creates a document in a database and returns a Document object that represents the new document.

Defined in

Database

Syntax

public Document createDocument()
    throws NotesException

Return value


Document

The new document.

Usage

You must call save if you want the new document to be saved.

Example