|
||||||||||
| 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 |
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. |
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 |
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. |
Lock |
Node.getLock()
Returns the Lock object that applies 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. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Places a lock on this node. |
NodeIterator |
Node.merge(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 |
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. |
void |
Node.unlock()
Removes the lock on this node. |
void |
Node.update(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. |
| 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(String absPath)
Creates a node representing this Query in content. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||