Package javax.jcr.version
Provides interfaces and classes for content repository versioning functionality.
-
Interface Summary Interface Description Version AVersion
object wraps annt:version
node.VersionHistory AVersionHistory
object wraps annt:versionHistory
node.VersionIterator Allows easy iteration through a list ofVersion
s objects withnextVersion
as well as askip
method inherited fromRangeIterator
.VersionManager TheVersionManager
object is accessed viaWorkspace.getVersionManager()
. -
Class Summary Class Description OnParentVersionAction The possible actions specified by theonParentVersion
attribute in a property definition within a node type definition. -
Exception Summary Exception Description ActivityViolationException Exception will be thrown byNode.checkout
andNode.checkpoint
if 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.addVersionLabel
ifmoveLabel
is set tofalse
and 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.