JAVA/CORBA CLASSES


Locking documents and design elements
Locks permit you to synchronize multi-user access to documents and the following design elements: agents, forms, and views.

To permit locking in a database:

The following methods manipulate locks:
DocumentAgentFormView
getLockHoldersgetLockHoldersgetLockHoldersgetLockHolders
locklocklocklock
lockProvisionallockProvisionallockProvisionallockProvisional
unLockunLockunLockunLock
To apply a lock, call lock or lockProvisional. The first parameter specifies the lock holder or holders, and defaults to the effective user. The lockHolders property returns the current lock holders.

A lock is:


To serialize or otherwise limit access to a document or design element, apply lock or lockProvisional and examine the return status:
The typical protocol is to proceed on true, and to exit or wait on false.

Locks are not supported in Web applications.