IsNewNote (Document - Java)

Read-only. Indicates whether a document is new. A document is new if it has not been saved.

Defined in

Document

Data type

boolean

Syntax

public boolean isNewNote()
    throws NotesException

Legal values

  • true if the document was created, but has not been saved
  • false if the document has been saved
Note: If getNamedDocument is used to return a named document, IsNewNote returns true if the named document did not exist and was created or false if the named document existed.

Example