JAVA/CORBA CLASSES


remove method
Example

Permanently removes a document from a database, but does a soft deletion if soft deletions are enabled.

Defined in

Document

Syntax

public boolean remove(boolean force)
   throws NotesException

Parameters

boolean force


Return value
Usage

This method does a soft deletion if "Allow soft deletions" is enabled. See removePermanently to do a hard deletion.

A document that is deleted cannot be used as the basis for navigation in a view or document collection.

You cannot use the remove method on a Document object returned by getDocumentContext.

Language cross-reference

Remove method in LotusScript NotesDocument class

@DeleteDocument function in formula language

Example
See Also