ILockProcess
Represents the entity for a procedure for locks on data objects.
A LockProcess is a procedure which combines locks for data objects. In a LockProcess, locks for data objects can be generated and released as well as reservations (placeholders) generated.
Actions can be prevented in the data repository through locks or reservations. Locks could lock the execution of actions for existing data objects.
Reservations on the other hand work like placeholders. These take the place for identities or names in order to prevent other procedures from taking this place.
Properties
Property | Description |
---|---|
Creator:IUser | Gets the creator of the procedure. |
DateCreated:DateTime | Gets the date of creation of the procedure. |
Id:Int32 | Gets the Id of the procedure. |
Methods
Method | Description |
---|---|
AcquireLock(IDataObject, Int32, LockTypes):IDataObjectLock | generates a new lock for a data object. |
AcquireReservation(IDataObject, ISchema, String):IDataObjectNameReservation | Creates a reservation for a name. |
AcquireReservation(ISchema):IDataObjectIdentityReservation | Generates a reservation for an Id. |
Delete():Void | Deletes the procedure. |
GetLock(IDataObject, Int32):IDataObjectLock | Calls the locks for a data object exerted on it by another data object. |
GetReservation(Int32):IDataObjectReservation | Calls a reservation. |