softLock_api

Mixin. Pessimistic Lock implementation

Methods

# isLocked (ctxobject) static

Check record is locked

Arguments:

# lock (ctxobject) static

Lock record. If record is not locked then update & delete operation are not permitted

Arguments:

# renewLock (ctxobject) static

Renew existed lock

Arguments:

# unlock (ctxobject) static

Unlock record

Arguments: