JAVA/CORBA CLASSES
Locks a document.
Note This method is new with Release 6.5.
Defined in
Document
Syntax
public boolean lock() throws NotesException
public boolean lock(String name) throws NotesException
public boolean lock(String name, boolean provisionalok) throws NotesException
public boolean lock(java.util.Vector names) throws NotesException
public boolean lock(java.util.Vector names, boolean provisionalok) throws NotesException
Parameters
String name
java.util.Vector names
boolean
IsDocumentLockingEnabled in Database must be true or this method throws an exception.
This method:
Language cross-reference
Lock method in LotusScript NotesDocument class
@DocLock function in formula language
Example See Also