Copyright© 2008-2022 Sitevision AB, all rights reserved.
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()
Deprecated.
As of JCR 2.0,
VersionManager.checkin(java.lang.String)
should be used instead. |
Version |
Node.getBaseVersion()
Deprecated.
As of JCR 2.0,
VersionManager.getBaseVersion(java.lang.String)
should be used instead. |
Modifier and Type | Method and Description |
---|---|
void |
Node.cancelMerge(Version version)
Deprecated.
As of JCR 2.0,
VersionManager.cancelMerge(java.lang.String, javax.jcr.version.Version)
should be used instead. |
void |
Node.doneMerge(Version version)
Deprecated.
As of JCR 2.0,
VersionManager.doneMerge(java.lang.String, javax.jcr.version.Version)
should be used instead. |
void |
Workspace.restore(Version[] versions,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Node.restore(Version version,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Node.restore(Version version,
String relPath,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
Modifier and Type | Method and Description |
---|---|
Version |
VersionManager.checkin(String absPath)
Creates for the versionable node at
absPath a new version
with a system generated version name and returns that version (which will
be the new base version of this node). |
Version |
VersionManager.checkpoint(String absPath)
Performs a
checkin() followed by a checkout()
on the versionable node at absPath . |
Version |
VersionManager.getBaseVersion(String absPath)
Returns the current base version of the versionable node at
absPath . |
Version |
Version.getLinearPredecessor()
Assuming that this
Version object was acquired through a
Workspace W and is within the
VersionHistory H , this method returns the
predecessor of this version along the same line of descent as is returned
by H.getAllLinearVersions() where H was also
acquired through W . |
Version |
Version.getLinearSuccessor()
Assuming that this
Version object was acquired through a
Workspace W and is within the
VersionHistory H , this method returns the
successor of this version along the same line of descent as is returned
by H.getAllLinearVersions() where H was also
acquired through W . |
Version[] |
Version.getPredecessors()
In both simple and full versioning repositories, this method 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 |
---|---|
void |
VersionManager.cancelMerge(String absPath,
Version version)
Cancels the merge process with respect to the node at
absPath and the specified version . |
void |
VersionManager.doneMerge(String absPath,
Version version)
Completes the merge process with respect to the node at
absPath and the specified version . |
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 . |
void |
VersionManager.restore(String absPath,
Version version,
boolean removeExisting)
Restores the specified version to
absPath . |
void |
VersionManager.restore(Version[] versions,
boolean removeExisting)
Restores a set of versions at once.
|
void |
VersionManager.restore(Version version,
boolean removeExisting)
Restores the node in the current workspace that is the versionable node of the
specified
version to the state reflected in that version. |
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.