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.lock |
Provides interfaces and classes for content repository locking functionality.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
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. |
Version |
Node.checkin()
Deprecated.
As of JCR 2.0,
VersionManager.checkin(java.lang.String)
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. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Deprecated.
As of JCR 2.0,
LockManager.lock(String, boolean,
boolean, long, String) should be used instead. |
NodeIterator |
Node.merge(String srcWorkspace,
boolean bestEffort)
Deprecated.
As of JCR 2.0,
VersionManager.merge(java.lang.String, java.lang.String, boolean)
should be used instead. |
void |
Item.refresh(boolean keepChanges)
If
keepChanges is false , this method discards
all pending changes currently recorded in this Session that
apply to this Item or any of its descendants (that is, the subgraph
rooted at this Item)and returns all items to reflect the current saved
state. |
void |
Node.restore(String versionName,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
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. |
void |
Node.restoreByLabel(String versionLabel,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restoreByLabel(java.lang.String, java.lang.String, boolean)
should be used instead. |
void |
Item.save()
Validates all pending changes currently recorded in this
Session that apply to this Item or any of its
descendants (that is, the subgraph rooted at this Item). |
void |
Session.save()
Validates all pending changes currently recorded in this
Session . |
void |
Node.unlock()
Deprecated.
As of JCR 2.0,
LockManager.unlock(String) should be
used instead. |
void |
Node.update(String srcWorkspace)
If this node does have a corresponding node in the workspace
srcWorkspace , then this replaces this node and its subgraph
with a clone of the corresponding node and its subgraph. |
Modifier and Type | Method and Description |
---|---|
Lock |
LockManager.lock(String absPath,
boolean isDeep,
boolean isSessionScoped,
long timeoutHint,
String ownerInfo)
Places a lock on the node at
absPath . |
void |
LockManager.unlock(String absPath)
Removes the lock on the node at
absPath . |
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 . |
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 . |
void |
VersionManager.doneMerge(String absPath,
Version version)
Completes the merge process with respect to the node at
absPath and the specified version . |
NodeIterator |
VersionManager.merge(Node activityNode)
This method merges the changes that were made under the specified
activity into the current workspace.
|
NodeIterator |
VersionManager.merge(String absPath,
String srcWorkspace,
boolean bestEffort)
This method recursively tests each versionable node in the subgraph of
the node at
absPath against its corresponding node in
srcWorkspace with respect to the relation between their
respective base versions and either updates the node in question or not,
depending on the outcome of the test. |
NodeIterator |
VersionManager.merge(String absPath,
String srcWorkspace,
boolean bestEffort,
boolean isShallow)
Same as
VersionManager.merge(String absPath, String srcWorkspace, boolean
bestEffort) except that an option exists to make the merge
shallow. |
void |
VersionManager.restore(String absPath,
String versionName,
boolean removeExisting)
Restores the node at
absPath to the state defined by the
version with the specified versionName . |
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. |
void |
VersionManager.restoreByLabel(String absPath,
String versionLabel,
boolean removeExisting)
Restores the version of the node at
absPath with the
specified version label. |
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.