Package javax.jcr.version
Provides interfaces and classes for content repository versioning functionality.
-
Interface Summary Interface Description Version AVersionobject wraps annt:versionnode.VersionHistory AVersionHistoryobject wraps annt:versionHistorynode.VersionIterator Allows easy iteration through a list ofVersions objects withnextVersionas well as askipmethod inherited fromRangeIterator.VersionManager TheVersionManagerobject is accessed viaWorkspace.getVersionManager(). -
Class Summary Class Description OnParentVersionAction The possible actions specified by theonParentVersionattribute in a property definition within a node type definition. -
Exception Summary Exception Description ActivityViolationException Exception will be thrown byNode.checkoutandNode.checkpointif an activity A is present on the current session and any of the following conditions is met: There already is a node in another workspace that has a checked-out node for the version history of N whose jcr:activity references A. There is a version in the version history of N that is not a predecessor of N but whose jcr:activity references A.LabelExistsVersionException Exception thrown byVersionHistory.addVersionLabelifmoveLabelis set tofalseand an attempt is made to add a label that already exists in theVersionHistory.VersionException Exception thrown by Version.addSuccessor if an invalid version graph operation is attempted.