IDataObjectLock

Represents the entity for a lock of a data object.

Locks can be generated for a data object in onion.net. A lock has the effect that certain procedures cannot be carried out in various workspaces.

Locks are the base for Enterprise ChangeSets for example. If a data object is moved in a ChangeSet, then locks are exerted for the data object itself and the superordinate data object.

The difference between a lock and a modification (ChangeType) of a data object in the ChangeSet lies in the extent of the locks. A lock involves one or more Locks(LockTypes) being exerted by one data object (Source) on another data object (DataObject). In the case of a modification to an aspect of a data object on the other hand, several locks are generated depending on the procedure.

Properties

PropertyDescription
DataObject:IDataObject

Gets the data object on which the lock is exerted.

LockTypes:LockTypes

Sets or gets the types of lock.

Owner:ILockProcess

Gets the Id of the process.

Source:Int32

Gets the Id of the data object that exerts the locks on the data object.

Methods

MethodDescription
Release():Void

Removes all locks for the data object.