| 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.exportDocumentView(String absPath,
ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if
noRecurse is false,
the whole subtree) at absPath into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler. |
void |
Session.exportDocumentView(String absPath,
OutputStream out,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if
noRecurse is false,
the whole subtree) at absPath as an XML stream and outputs it to
the supplied OutputStream. |
void |
Session.exportSystemView(String absPath,
ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if
noRecurse is false,
the whole subtree) at absPath into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler. |
void |
Session.exportSystemView(String absPath,
OutputStream out,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if
noRecurse is false,
the whole subtree) at absPath as an XML stream and outputs it to
the supplied OutputStream. |
ContentHandler |
Session.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which can be used to
push SAX events into the repository. |
ContentHandler |
Workspace.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which can be used to push SAX events into the repository. |
Item |
Session.getItem(String absPath)
Returns the item at the specified absolute path in the workspace.
|
Node |
Node.getNode(String relPath)
Returns the node at
relPath relative to this node. |
Property |
Node.getProperty(String relPath)
Returns the property at
relPath relative to this
node. |
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(Version version,
String relPath,
boolean removeExisting)
Restores the specified version to
relPath, relative to this node. |
| 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.