Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
Modifier and Type | Method and Description |
---|---|
Version |
Node.checkin()
Creates a new version with a system generated version name and returns that version
(which will be the new base version of this node).
|
Version |
Node.getBaseVersion()
Returns the current base version of this versionable node.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.cancelMerge(Version version)
Cancels the merge process with respect to this node and specified
version . |
void |
Node.doneMerge(Version version)
Completes the merge process with respect to this node and the specified
version . |
void |
Workspace.restore(Version[] versions,
boolean removeExisting)
Restores a set of versions at once.
|
void |
Node.restore(Version version,
boolean removeExisting)
Restores
this node to the state defined by the specified
version . |
void |
Node.restore(Version version,
String relPath,
boolean removeExisting)
Restores the specified version to
relPath , relative to this node. |
Modifier and Type | Method and Description |
---|---|
Version[] |
Version.getPredecessors()
Returns the predecessor versions of this version.
|
Version |
VersionHistory.getRootVersion()
Returns the root version of this version history.
|
Version[] |
Version.getSuccessors()
Returns the successor versions of this version.
|
Version |
VersionHistory.getVersion(String versionName)
Retrieves a particular version from this version history by version name.
|
Version |
VersionHistory.getVersionByLabel(String label)
Retrieves a particular version from this version history by version label.
|
Version |
VersionIterator.nextVersion()
Returns the next
Version in the iteration. |
Modifier and Type | Method and Description |
---|---|
String[] |
VersionHistory.getVersionLabels(Version version)
Returns all version labels of the given
version - empty array if none. |
boolean |
VersionHistory.hasVersionLabel(Version version,
String label)
Returns true if the given version has the given
label . |
Copyright © 2004–2013 Day Management AG. All rights reserved.