|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JcrVersion
Handle node stream versions.
| Method Summary | |
|---|---|
Node |
getNode(java.lang.Number version)
Searchs in current node the version node in the
version history. |
JcrStream |
getStream(java.lang.Number version)
Returns the saved stream in the version node. |
JcrStream |
getStream(java.lang.Number version,
boolean data)
Returns the saved stream in the version node. |
java.lang.Number |
last()
Searchs in node version history the last version ID. |
EntityResult |
list(java.lang.Number version,
java.util.List keys,
java.util.Map alias)
Version information on the current node. |
java.lang.Number |
next()
Calculates the next version ID. |
JcrNode |
remove(java.lang.Number version)
Removes a existing version of the current node, or current node if version is null. |
java.lang.Number |
size()
Count saved versions on this node. |
| Methods inherited from interface com.ontimize.dms.jcr.JcrWrapperProperty |
|---|
getProperty, hasProperty, setProperty |
| Methods inherited from interface com.ontimize.dms.jcr.JcrWrapper |
|---|
getInnerSession, getInternal, getSession, getWrapper, save |
| Method Detail |
|---|
Node getNode(java.lang.Number version)
throws RepositoryException
Searchs in current node the version node in the
version history.
version - Version number ID
RepositoryException - if JCR exception ocurrs.
JcrStream getStream(java.lang.Number version)
throws RepositoryException
Returns the saved stream in the version node.
version - Version number ID.
version is null.
RepositoryException - if JCR exception ocurrs.
JcrStream getStream(java.lang.Number version,
boolean data)
throws RepositoryException
Returns the saved stream in the version node.
version - Version number ID.data - True returns the stream data and related properties.version is null.
RepositoryException - if JCR exception ocurrs.
EntityResult list(java.lang.Number version,
java.util.List keys,
java.util.Map alias)
throws RepositoryException
Version information on the current node.
alias Map can be null.
version - Version number ID.keys - List with keys to return.alias - Map with keys conversion rules.
RepositoryException - if JCR exception ocurrs.
java.lang.Number last()
throws RepositoryException
Searchs in node version history the last version ID.
node - Where to search the version ID.
RepositoryException - if JCR exception ocurrs.
java.lang.Number next()
throws RepositoryException
Calculates the next version ID. Searchs the last saved ID and increments a unit.
RepositoryException
java.lang.Number size()
throws RepositoryException
Count saved versions on this node.
RepositoryException - if JCR exception ocurrs.
JcrNode remove(java.lang.Number version)
throws LockException,
RepositoryException
Removes a existing version of the current node, or current node if version is null.
version - To delete.
LockException - if the current node is locked.
RepositoryException - if JCR exception ocurrs.
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||