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 subtree at the node
srcAbsPath in srcWorkspace to the new location at
destAbsPath in this workspace. |
void |
Workspace.copy(String srcAbsPath,
String destAbsPath)
This method copies the node at
srcAbsPath to the new location at
destAbsPath . |
void |
Workspace.copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath)
This method copies the subtree at
srcAbsPath in srcWorkspace
to destAbsPath in this workspace. |
Item |
Item.getAncestor(int depth)
Returns the ancestor of the specified depth.
|
String |
Node.getCorrespondingNodePath(String workspaceName)
Returns the absolute path of the node in the specified workspace that
corresponds to
this node. |
ContentHandler |
Workspace.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which can be used to push SAX events into the repository. |
Lock |
Node.getLock()
Returns the
Lock object that applies to this node. |
Node |
Item.getParent()
Returns the parent of this
Item . |
void |
Workspace.importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subtree as a child of the node at
parentAbsPath . |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Places a lock on this node.
|
NodeIterator |
Node.merge(String srcWorkspace,
boolean bestEffort)
This method can be thought of as a version-sensitive update (see 7.1.7
Updating and Cloning Nodes across Workspaces in the specification).
|
void |
Workspace.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subtree) to the
new location at destAbsPath . |
void |
NamespaceRegistry.registerNamespace(String prefix,
String uri)
Sets a one-to-one mapping between prefix and URI in the global namespace registry of this repository.
|
void |
Session.save()
Validates all pending changes currently recorded in this
Session . |
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 subtree rooted at this Item). |
void |
Node.unlock()
Removes the lock on this node.
|
void |
NamespaceRegistry.unregisterNamespace(String prefix)
Removes a namespace mapping from the registry.
|
void |
Node.update(String srcWorkspaceName)
If this node does have a corresponding node in the workspace
srcWorkspaceName ,
then this replaces this node and its subtree with a clone of the corresponding node and its
subtree. |
Modifier and Type | Method and Description |
---|---|
void |
VersionHistory.removeVersion(String versionName)
Removes the named version from this version history and automatically
repairs the version graph.
|
Copyright © 2004-2013 Day Management AG. All Rights Reserved.