Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






lockProvisional method

Locks a view provisionally.

Note This method is new with Release 6.5.

Defined in

View

Syntax

public boolean lockProvisional()

throws NotesException
public boolean lockProvisional(String name)

throws NotesException
public boolean lockProvisional(java.util.Vector names)

throws NotesException

Parameters

String name
java.util.Vector names

The names of the lock holders. Each lock holder must be a user or group. Defaults to one lock holder: the effective user. The empty string ("") is not permitted.

Return value

boolean

Usage

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

The following actions occur depending on the current lock status:

If the view is modified by another user before the lock can be placed, this method throws an exception.

Language cross-reference

LockProvisional method in LotusScript NotesView class

See examples

Examples: lockProvisional method
Related topics
Locking documents and design elements




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009