.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

JAVA/CORBA CLASSES


lock method
Example

Locks a form.

Note This method is new with Release 6.5.

Defined in

Form

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 provisionalok Return value

boolean

Usage

IsDesignLockingEnabled in Database must be true or this method throws an exception.

This method:


The following actions occur depending on the current lock status:
If the form is modified by another user before the lock can be placed, this method throws an exception.

Language cross-reference

Lock method in LotusScript NotesForm class

Example
See Also