public interface VersionService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createVersion(javax.jcr.Session session,
java.lang.String absPath)
Explicitly creates a version for the nodes at each path provided.
|
void |
removeVersion(javax.jcr.Session session,
java.lang.String absPath,
java.lang.String label)
Remove a version of a node.
|
void |
revertToVersion(javax.jcr.Session session,
java.lang.String absPath,
java.lang.String label)
Reverts the node to the version identified by the label.
|
java.lang.String createVersion(javax.jcr.Session session,
java.lang.String absPath)
throws javax.jcr.RepositoryException
session - the session in which the node residesabsPath - absolute paths to the nodejavax.jcr.RepositoryExceptionvoid revertToVersion(javax.jcr.Session session,
java.lang.String absPath,
java.lang.String label)
throws javax.jcr.RepositoryException
session - the session in which the node residesabsPath - the path to the node whose version is to be revertedlabel - identifies the historic versionjavax.jcr.RepositoryExceptionvoid removeVersion(javax.jcr.Session session,
java.lang.String absPath,
java.lang.String label)
throws javax.jcr.RepositoryException
session - the session in which the node residesabsPath - the path to the node whose version is to be removedlabel - identifies the historic version by label or idjavax.jcr.RepositoryExceptionCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.