@API(src=PRIVATE,
type=NOT_EXTENDABLE)
public abstract class WebappLockManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCKED_BY_SOMEONE_ELSE_REASON_CODE
Reason code for the editor being read-only because is locked by someone else.
|
Constructor and Description |
---|
WebappLockManager() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isEnabled() |
abstract void |
unlock()
Releases lock associated with the corresponding document.
|
abstract void |
updateLock()
Updates the lock associated with the corresponding document.
|
public static final java.lang.String LOCKED_BY_SOMEONE_ELSE_REASON_CODE
public abstract void updateLock() throws LockException
LockException
- An exception thrown if the lock could not be updated.public abstract void unlock()
public abstract boolean isEnabled()
true
if locking is enabled for the current document.© Copyright Syncro Soft SRL 2002 - 2022. All rights reserved.