|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.priha.version.VersionManager
public class VersionManager
Constructor Summary | |
---|---|
VersionManager()
|
Method Summary | |
---|---|
static void |
createVersionHistory(NodeImpl nd)
Makes sure that a VersionHistory exists for a new, versionable Node. |
static Path |
getVersionStoragePath(java.lang.String uuid)
Returns the location where the version storage is for a given UUID. |
static boolean |
isVersionHistoryPath(Path p)
Returns true, if the path refers to a versioned object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionManager()
Method Detail |
---|
public static boolean isVersionHistoryPath(Path p)
p
-
public static Path getVersionStoragePath(java.lang.String uuid) throws javax.jcr.NamespaceException, javax.jcr.RepositoryException
uuid
-
javax.jcr.RepositoryException
javax.jcr.NamespaceException
public static void createVersionHistory(NodeImpl nd) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
nd
-
javax.jcr.RepositoryException
javax.jcr.UnsupportedRepositoryOperationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |