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 |
---|---|
void |
Workspace.clone(String srcWorkspace,
String srcAbsPath,
String destAbsPath,
boolean removeExisting)
Clones the subgraph at the node
srcAbsPath in
srcWorkspace to the new location at destAbsPath
in this workspace. |
void |
Workspace.copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath)
This method copies the subgraph at
srcAbsPath in
srcWorkspace to destAbsPath in
this workspace. |
void |
Workspace.createWorkspace(String name,
String srcWorkspace)
Creates a new
Workspace with the specified name
initialized with a clone of the content of the workspace
srcWorkspace . |
void |
Workspace.deleteWorkspace(String name)
Deletes the workspace with the specified
name from the
repository, deleting all content within it. |
String |
Node.getCorrespondingNodePath(String workspaceName)
Returns the absolute path of the node in the specified workspace that
corresponds to
this node. |
Session |
Repository.login(Credentials credentials,
String workspaceName)
Authenticates the user using the supplied
credentials . |
Session |
Repository.login(String workspaceName)
Equivalent to
login(null, workspaceName) . |
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 |
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 |
---|---|
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. |
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.