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 |
---|---|
void |
Node.addMixin(String mixinName)
Adds the specified mixin node type to this node.
|
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. |
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. |
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.orderBefore(String srcChildRelPath,
String destChildRelPath)
If this node supports child node ordering, this method inserts the child node at
srcChildRelPath before its sibling, the child node at destChildRelPath ,
in the child node list. |
void |
Item.remove()
Removes
this item (and its subtree). |
void |
Node.removeMixin(String mixinName)
Removes the specified mixin node type from this node.
|
void |
Node.restore(Version version,
String relPath,
boolean removeExisting)
Restores the specified version to
relPath , relative to this node. |
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). |
Property |
Node.setProperty(String name,
boolean value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
Calendar value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
double value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
InputStream value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
long value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
Node value)
Sets the specified (
REFERENCE )property
to refer to the specified Node . |
Property |
Node.setProperty(String name,
String value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
String[] values)
Sets the specified property to the specified array of values.
|
Property |
Node.setProperty(String name,
String[] values,
int type)
Sets the specified property to the specified array of values and to the specified type.
|
Property |
Node.setProperty(String name,
String value,
int type)
Sets the specified (single-value) property to the specified value.
|
Property |
Node.setProperty(String name,
Value value)
Sets the specified (single-value) property of this node to the specified
value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the specified (multi-value) property to the specified array of values.
|
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the specified (multi-value) property to the specified array of values.
|
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the specified (single-value) property to the specified value.
|
void |
Property.setValue(boolean value)
Sets the value of this property to
value . |
void |
Property.setValue(Calendar value)
Sets the value of this property to
value . |
void |
Property.setValue(double value)
Sets the value of this property to
value . |
void |
Property.setValue(InputStream value)
Sets the value of this property to
value . |
void |
Property.setValue(long value)
Sets the value of this property to
value . |
void |
Property.setValue(Node value)
Sets this REFERENCE property to refer to the specified node.
|
void |
Property.setValue(String value)
Sets the value of this property to
value . |
void |
Property.setValue(String[] values)
Sets the value of this property to the
values array. |
void |
Property.setValue(Value value)
Sets the value of this property to
value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the
values array. |
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.