Package javax.jcr.version
package javax.jcr.version
Provides interfaces and classes for content repository versioning functionality.
-
ClassDescriptionException will be thrown by
Node.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.Exception thrown byVersionHistory.addVersionLabelifmoveLabelis set tofalseand an attempt is made to add a label that already exists in theVersionHistory.The possible actions specified by theonParentVersionattribute in a property definition within a node type definition.AVersionobject wraps annt:versionnode.Exception thrown by Version.addSuccessor if an invalid version graph operation is attempted.AVersionHistoryobject wraps annt:versionHistorynode.Allows easy iteration through a list ofVersions objects withnextVersionas well as askipmethod inherited fromRangeIterator.TheVersionManagerobject is accessed viaWorkspace.getVersionManager().