public interface Lockable
A lock holds a lock owner and lock creation time.
Lock setLock(Lock lock) throws DocumentException
lock - the lock to setDocumentExceptionLock removeLock(String owner) throws DocumentException
the - owner to check, or null for no checknull if there was no lock or if removal succeeded, or a
lock if it blocks removal due to owner mismatchDocumentExceptionLock getLock() throws DocumentException
DocumentExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.