|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use LockException | |
| javax.jcr | Provides interfaces and classes for the Content Repository for Java Technology. |
| javax.jcr.lock | Provides interfaces and classes for content repository locking functionality. |
| javax.jcr.query | Provides interfaces and classes for content repository searching functionality. |
| Uses of LockException in javax.jcr |
| Methods in javax.jcr that throw LockException | |
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 |
Workspace.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 |
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.checkout()
Sets this versionable node to checked-out status by setting its jcr:isCheckedOut property to true and adds to the
jcr:predecessors (multi-value) property a reference to the current
base version (the same value as held in jcr:baseVersion). |
void |
Node.update(java.lang.String srcWorkspaceName)
If this node does have a corresponding node in the workspace srcWorkspaceName,
then this replaces this node and its subtree with a clone of the corresponding node and its
subtree. |
NodeIterator |
Node.merge(java.lang.String srcWorkspace,
boolean bestEffort)
This method can be thought of as a version-sensitive update (see 7.1.7 Updating and Cloning Nodes across Workspaces in the specification). |
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. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Places a lock on this node. |
Lock |
Node.getLock()
Returns the Lock object that applies to this node. |
void |
Node.unlock()
Removes the lock on this node. |
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 LockException in javax.jcr.lock |
| Methods in javax.jcr.lock that throw LockException | |
void |
Lock.refresh()
If this lock's time-to-live is governed by a timer, this method resets that timer so that the lock does not timeout and expire. |
| Uses of LockException in javax.jcr.query |
| Methods in javax.jcr.query that throw LockException | |
Node |
Query.storeAsNode(java.lang.String absPath)
Creates a node representing this Query in content. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||