|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use VersionException | |
|---|---|
| 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. |
| javax.jcr.version | Provides interfaces and classes for content repository versioning functionality. |
| Uses of VersionException in javax.jcr |
|---|
| Methods in javax.jcr that throw VersionException | |
|---|---|
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 |
Node.cancelMerge(Version version)
Cancels the merge process with respect to this node and specified version. |
Version |
Node.checkin()
Creates a new version with a system generated version name and returns that version (which will be the new base version of this node). |
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 |
Node.doneMerge(Version version)
Completes the merge process with respect to this node and the specified version. |
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 |
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(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). |
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. |
| Uses of VersionException in javax.jcr.query |
|---|
| Methods in javax.jcr.query that throw VersionException | |
|---|---|
Node |
Query.storeAsNode(String absPath)
Creates a node representing this Query in content. |
| Uses of VersionException in javax.jcr.version |
|---|
| Methods in javax.jcr.version that throw VersionException | |
|---|---|
void |
VersionHistory.addVersionLabel(String versionName,
String label,
boolean moveLabel)
Adds the specified label to the specified version. |
Version |
VersionHistory.getVersion(String versionName)
Retrieves a particular version from this version history by version name. |
String[] |
VersionHistory.getVersionLabels(Version version)
Returns all version labels of the given version - empty array if none. |
boolean |
VersionHistory.hasVersionLabel(Version version,
String label)
Returns true if the given version has the given label. |
void |
VersionHistory.removeVersion(String versionName)
Removes the named version from this version history and automatically repairs the version graph. |
void |
VersionHistory.removeVersionLabel(String label)
Removes the specified label from among the labels of this version history. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||