| 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.
|
| javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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.doneMerge(Version version)
Completes the merge process with respect to this node and the specified
version. |
Version |
Node.getBaseVersion()
Returns the current base version of this versionable node.
|
Lock |
Node.getLock()
Returns the
Lock object that applies to this node. |
ObservationManager |
Workspace.getObservationManager()
If the the implementation supports observation
this method returns the
ObservationManager object;
otherwise it throws an UnsupportedRepositoryOperationException. |
String |
Node.getUUID()
Returns the UUID of this node as recorded in this node's
jcr:uuid
property. |
ValueFactory |
Session.getValueFactory()
This method returns a
ValueFactory that is used to create Value objects
for use when setting repository properties. |
VersionHistory |
Node.getVersionHistory()
Returns the
VersionHistory object of this node. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Places a lock on this node.
|
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 |
NamespaceRegistry.registerNamespace(String prefix,
String uri)
Sets a one-to-one mapping between prefix and URI in the global namespace registry of this repository.
|
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 |
Node.unlock()
Removes the lock on this node.
|
void |
NamespaceRegistry.unregisterNamespace(String prefix)
Removes a namespace mapping from the registry.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Query.storeAsNode(String absPath)
Creates a node representing this
Query in content. |
| Modifier and Type | Method and Description |
|---|---|
void |
VersionHistory.removeVersion(String versionName)
Removes the named version from this version history and automatically
repairs the version graph.
|
Copyright © 2004-2013 Day Management AG. All Rights Reserved.