Holds the status of the locking, the user id and the session id
that currently holds the lock.
The possible statuses are:
- NEW_LOCK - The resource was locked with a new lock.
The editor framework register this lock, and the editor will be opened for
edit (if no other veto will be raised)
- EXISTING_LOCK - The resource was alredy locked by this user and session,
so no special treatment should be made, and the editor will be opened for
edit (if no other veto will be raised), no registration is needed.
- RESOURCE_IS_LOCKED - The resource was locked by other entity.
The editor framework opens the editor in read only mode, and an end user
message is presented.
- RESOURCE_IN_HOLD - The resource is locked. However, it can be taken if the
current user wants. The editor framework presents a question, and if the user will
choose yes- to enforce the lcok, the editor framework will operate the
get lock with enforce flag.