|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JcrLockable
Implements this interface to allow a lock management over a JCR element.
| Method Summary | |
|---|---|
JcrLock |
isLocked()
Check if the current node is locked (directory or file). |
JcrLock |
lock(Status status)
Tags the current element as locked with the Status. |
JcrLock |
unlock()
|
JcrLock |
unlock(boolean emptyLength)
|
JcrLock |
unlock(Status status)
|
JcrLock |
unlock(Status[] status)
|
| Method Detail |
|---|
JcrLock isLocked()
throws RepositoryException
Check if the current node is locked (directory or file).
Directory is locked if any of this children is locked.
File is locked if STREAM_STATUS exists.
RepositoryException - if JCR exception ocurrs.
JcrLock lock(Status status)
throws RepositoryException
Tags the current element as locked with the Status.
status - New status.
RepositoryException - if JCR exception ocurrs.
JcrLock unlock()
throws RepositoryException
RepositoryException
JcrLock unlock(boolean emptyLength)
throws RepositoryException
emptyLength - Allows to set a zero length to reset status.
RepositoryException
JcrLock unlock(Status status)
throws RepositoryException
RepositoryException
JcrLock unlock(Status[] status)
throws RepositoryException
RepositoryException
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||