Uses of Class
javax.jcr.version.VersionException

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 Workspace.copy(java.lang.String srcAbsPath, java.lang.String destAbsPath)
          This method copies the node at srcAbsPath to the new location at destAbsPath.
 void Workspace.copy(java.lang.String srcWorkspace, java.lang.String srcAbsPath, java.lang.String destAbsPath)
          This method copies the subtree at srcAbsPath in srcWorkspace to destAbsPath in this workspace.
 void Workspace.clone(java.lang.String srcWorkspace, java.lang.String srcAbsPath, java.lang.String destAbsPath, boolean removeExisting)
          Clones the subtree at the node srcAbsPath in srcWorkspace to the new location at destAbsPath in this workspace.
 void Workspace.move(java.lang.String srcAbsPath, java.lang.String destAbsPath)
          Moves the node at srcAbsPath (and its entire subtree) to the new location at destAbsPath.
 void Workspace.restore(Version[] versions, boolean removeExisting)
          Restores a set of versions at once.
 org.xml.sax.ContentHandler Workspace.getImportContentHandler(java.lang.String parentAbsPath, int uuidBehavior)
          Returns an org.xml.sax.ContentHandler which can be used to push SAX events into the repository.
 void Session.move(java.lang.String srcAbsPath, java.lang.String destAbsPath)
          Moves the node at srcAbsPath (and its entire subtree) to the new location at destAbsPath.
 void Session.save()
          Validates all pending changes currently recorded in this Session.
 org.xml.sax.ContentHandler Session.getImportContentHandler(java.lang.String parentAbsPath, int uuidBehavior)
          Returns an org.xml.sax.ContentHandler which can be used to push SAX events into the repository.
 void Session.importXML(java.lang.String parentAbsPath, java.io.InputStream in, int uuidBehavior)
          Deserializes an XML document and adds the resulting item subtree as a child of the node at parentAbsPath.
 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.
 void Property.setValue(java.lang.String value)
          Sets the value of this property to value.
 void Property.setValue(java.lang.String[] values)
          Sets the value of this property to the values array.
 void Property.setValue(java.io.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(double value)
          Sets the value of this property to value.
 void Property.setValue(java.util.Calendar value)
          Sets the value of this property to value.
 void Property.setValue(boolean value)
          Sets the value of this property to value.
 void Property.setValue(Node value)
          Sets this REFERENCE property to refer to the specified node.
 Node Node.addNode(java.lang.String relPath)
          Creates a new node at relPath.
 Node Node.addNode(java.lang.String relPath, java.lang.String primaryNodeTypeName)
          Creates a new node at relPath of the specified node type.
 void Node.orderBefore(java.lang.String srcChildRelPath, java.lang.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.
 Property Node.setProperty(java.lang.String name, Value value)
          Sets the specified (single-value) property of this node to the specified value.
 Property Node.setProperty(java.lang.String name, Value value, int type)
          Sets the specified (single-value) property to the specified value.
 Property Node.setProperty(java.lang.String name, Value[] values)
          Sets the specified (multi-value) property to the specified array of values.
 Property Node.setProperty(java.lang.String name, Value[] values, int type)
          Sets the specified (multi-value) property to the specified array of values.
 Property Node.setProperty(java.lang.String name, java.lang.String[] values)
          Sets the specified property to the specified array of values.
 Property Node.setProperty(java.lang.String name, java.lang.String[] values, int type)
          Sets the specified property to the specified array of values and to the specified type.
 Property Node.setProperty(java.lang.String name, java.lang.String value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, java.lang.String value, int type)
          Sets the specified (single-value) property to the specified value.
 Property Node.setProperty(java.lang.String name, java.io.InputStream value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, boolean value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, double value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, long value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, java.util.Calendar value)
          Sets the specified property to the specified value.
 Property Node.setProperty(java.lang.String name, Node value)
          Sets the specified (REFERENCE)property to refer to the specified Node.
 void Node.addMixin(java.lang.String mixinName)
          Adds the specified mixin node type to this node.
 void Node.removeMixin(java.lang.String mixinName)
          Removes the specified mixin node type from this node.
 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 Node.doneMerge(Version version)
          Completes the merge process with respect to this node and the specified version.
 void Node.cancelMerge(Version version)
          Cancels the merge process with respect to this node and specified version.
 void Node.restore(java.lang.String versionName, boolean removeExisting)
          Restores this node to the state defined by the version with the specified versionName.
 void Node.restore(Version version, boolean removeExisting)
          Restores this node to the state defined by the specified version.
 void Node.restore(Version version, java.lang.String relPath, boolean removeExisting)
          Restores the specified version to relPath, relative to this node.
 void Node.restoreByLabel(java.lang.String versionLabel, boolean removeExisting)
          Restores the version of this node with the specified version label.
 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 Item.remove()
          Removes this item (and its subtree).
 

Uses of VersionException in javax.jcr.query
 

Methods in javax.jcr.query that throw VersionException
 Node Query.storeAsNode(java.lang.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
 Version VersionHistory.getVersion(java.lang.String versionName)
          Retrieves a particular version from this version history by version name.
 void VersionHistory.addVersionLabel(java.lang.String versionName, java.lang.String label, boolean moveLabel)
          Adds the specified label to the specified version.
 void VersionHistory.removeVersionLabel(java.lang.String label)
          Removes the specified label from among the labels of this version history.
 boolean VersionHistory.hasVersionLabel(Version version, java.lang.String label)
          Returns true if the given version has the given label.
 java.lang.String[] VersionHistory.getVersionLabels(Version version)
          Returns all version labels of the given version - empty array if none.
 void VersionHistory.removeVersion(java.lang.String versionName)
          Removes the named version from this version history and automatically repairs the version graph.
 



Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.