|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lockable
An object that can be locked.
A lock holds a lock owner and lock creation time.
Method Summary | |
---|---|
Lock |
getLock()
Gets the lock key if a lock exists on the current object. |
Lock |
removeLock(String owner)
Removes a lock on the current document. |
Lock |
setLock(Lock lock)
Sets a lock on the current document. |
Method Detail |
---|
Lock setLock(Lock lock) throws DocumentException
lock
- the lock to set
DocumentException
Lock removeLock(String owner) throws DocumentException
the
- owner to check, or null
for no check
null
if there was no lock or if removal succeeded, or a
lock if it blocks removal due to owner mismatch
DocumentException
Lock getLock() throws DocumentException
DocumentException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |