org.nuxeo.cm.cases
Interface LockableAdapter
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- LockableAdapterImpl
public interface LockableAdapter
- extends Serializable
Method Summary |
boolean |
isLocked(org.nuxeo.ecm.core.api.CoreSession documentManager)
|
boolean |
isLockedByCurrentUser(org.nuxeo.ecm.core.api.CoreSession documentManager)
Returns true if doc is locked by current user. |
org.nuxeo.ecm.core.api.Lock |
lockDocument(org.nuxeo.ecm.core.api.CoreSession documentManager)
|
void |
unlockDocument(org.nuxeo.ecm.core.api.CoreSession documentManager)
|
lockDocument
org.nuxeo.ecm.core.api.Lock lockDocument(org.nuxeo.ecm.core.api.CoreSession documentManager)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
unlockDocument
void unlockDocument(org.nuxeo.ecm.core.api.CoreSession documentManager)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isLocked
boolean isLocked(org.nuxeo.ecm.core.api.CoreSession documentManager)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isLockedByCurrentUser
boolean isLockedByCurrentUser(org.nuxeo.ecm.core.api.CoreSession documentManager)
throws org.nuxeo.ecm.core.api.ClientException
- Returns true if doc is locked by current user.
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.