Provides interfaces and classes for content repository versioning functionality.
Interface Summary Interface Description VersionA
Versionobject wraps an
VersionHistoryobject wraps an
VersionIteratorAllows easy iteration through a list of
Versions objects with
nextVersionas well as a
skipmethod inherited from
VersionManagerobject is accessed via
Class Summary Class Description OnParentVersionActionThe possible actions specified by the
onParentVersionattribute in a property definition within a node type definition.
Exception Summary Exception Description ActivityViolationExceptionException will be thrown by
Node.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.
LabelExistsVersionExceptionException thrown by
moveLabelis set to
falseand an attempt is made to add a label that already exists in the
VersionExceptionException thrown by Version.addSuccessor if an invalid version graph operation is attempted.