Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.addNode(String relPath)
Creates a new node at
relPath . |
Node |
Node.addNode(String relPath,
String primaryNodeTypeName)
Creates a new node at
relPath of the specified node type. |
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. |
void |
Session.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.
|
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 . |
void |
Session.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subtree) to the new location
at destAbsPath . |
void |
Workspace.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subtree) to the
new location at destAbsPath . |
void |
Node.restore(String versionName,
boolean removeExisting)
Restores
this node to the state defined by the
version with the specified versionName . |
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. |
void |
Node.restoreByLabel(String versionLabel,
boolean removeExisting)
Restores the version of this node with the specified version label.
|
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). |
Modifier and Type | Method and Description |
---|---|
Node |
Query.storeAsNode(String absPath)
Creates a node representing this
Query in content. |
Copyright © 2004–2013 Day Management AG. All rights reserved.