| Modifier and Type | Method and Description |
|---|---|
NodeId |
RepositoryService.checkin(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkin for the
Node identified by the given
NodeId. |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkpoint for the
Node identified by the given
NodeId. |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkpoint for the
Node identified by the given
NodeId. |
NodeId |
RepositoryService.createActivity(SessionInfo sessionInfo,
String title)
Create a new activity.
|
NodeId |
RepositoryService.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
NodeId |
IdFactory.createNodeId(NodeId parentId,
Path path)
Creates a new
NodeId from the given parent id and
the given Path object. |
NodeId |
IdFactory.createNodeId(String uniqueID)
Creates a new
NodeId from the given unique id. |
NodeId |
IdFactory.createNodeId(String uniqueID,
Path path)
Creates a new
NodeId from the given unique id (which identifies
an ancestor Node) and the given Path object. |
NodeId |
IdFactory.fromJcrIdentifier(String jcrIdentifier)
Create a new
NodeId from the given JCR string representation. |
NodeId |
NodeInfo.getId()
Returns the
NodeId for the node that is based on this info
object. |
NodeId |
LockInfo.getNodeId()
Returns the
NodeId of the lock-holding Node. |
NodeId |
QueryResultRow.getNodeId(String selectorName)
Returns
NodeId of node for a given selectorname this
result row represents. |
NodeId |
PropertyId.getParentId()
Returns the
NodeId of the parent. |
NodeId |
Event.getParentId() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName. |
Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName. |
Iterator<NodeId> |
RepositoryService.mergeActivity(SessionInfo sessionInfo,
NodeId activityId)
Merges the activity identified by the given
activityId into
the workspace the specified sessionInfo has been created for. |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
Add a new node to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Add a new property to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Add a new multi-valued property to the persistent layer.
|
void |
RepositoryService.addVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label,
boolean moveLabel)
Add the given version label in the persistent layer.
|
NodeId |
RepositoryService.checkin(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkin for the
Node identified by the given
NodeId. |
void |
RepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkout for the
Node identified by the given
NodeId. |
void |
RepositoryService.checkout(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkout for the
Node identified by the given
NodeId and for activity identified by the specified
activityId. |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId)
Performs a checkpoint for the
Node identified by the given
NodeId. |
NodeId |
RepositoryService.checkpoint(SessionInfo sessionInfo,
NodeId nodeId,
NodeId activityId)
Performs a checkpoint for the
Node identified by the given
NodeId. |
void |
RepositoryService.clone(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName,
boolean removeExisting)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo. |
void |
RepositoryService.copy(SessionInfo sessionInfo,
String srcWorkspaceName,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Clone the subtree identified by the given
srcNodeId
in workspace named srcWorkspaceName to the destination
in the workspace specified by the given SessionInfo. |
NodeId |
RepositoryService.createConfiguration(SessionInfo sessionInfo,
NodeId nodeId) |
NodeId |
IdFactory.createNodeId(NodeId parentId,
Path path)
Creates a new
NodeId from the given parent id and
the given Path object. |
PropertyId |
IdFactory.createPropertyId(NodeId parentId,
Name propertyName)
Creates a new
PropertyId from the given parent id and
property name. |
Iterator<ChildInfo> |
RepositoryService.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of
ChildInfos present on the
Node represented by the given parentId. |
LockInfo |
RepositoryService.getLockInfo(SessionInfo sessionInfo,
NodeId nodeId)
Returns the lock information that applies to
Node identified
by the given NodeId or null. |
QNodeDefinition |
RepositoryService.getNodeDefinition(SessionInfo sessionInfo,
NodeId nodeId)
Returns the
QNodeDefinition for the Node
identified by the given id. |
ItemInfoCache.Entry<NodeInfo> |
ItemInfoCache.getNodeInfo(NodeId nodeId)
Retrieve a cache entry for the given
nodeId or null
if no such entry is in the cache. |
NodeInfo |
RepositoryService.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
Deprecated.
|
Iterator<PropertyId> |
RepositoryService.getReferences(SessionInfo sessionInfo,
NodeId nodeId,
Name propertyName,
boolean weakReferences)
Returns the
Ids of the properties that are referencing
the node identified by the given nodeId. |
void |
RepositoryService.importXml(SessionInfo sessionInfo,
NodeId parentId,
InputStream xmlStream,
int uuidBehaviour)
Imports the data present in the given
InputStream into the
persistent layer. |
LockInfo |
RepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped)
Create a lock on the
Node identified by the given id. |
LockInfo |
RepositoryService.lock(SessionInfo sessionInfo,
NodeId nodeId,
boolean deep,
boolean sessionScoped,
long timeoutHint,
String ownerHint)
Create a lock on the
Node identified by the given id. |
Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName. |
Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName,
boolean bestEffort,
boolean isShallow)
Merge the node identified by the given
NodeId and its subtree
with the corresponding node present in the workspace with the name of
srcWorkspaceName. |
Iterator<NodeId> |
RepositoryService.mergeActivity(SessionInfo sessionInfo,
NodeId activityId)
Merges the activity identified by the given
activityId into
the workspace the specified sessionInfo has been created for. |
void |
Batch.move(NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Move the node identified by the given
srcNodeId to the
new parent identified by destParentNodeId and change its
name to destName. |
void |
RepositoryService.move(SessionInfo sessionInfo,
NodeId srcNodeId,
NodeId destParentNodeId,
Name destName)
Moves the node identified by the given
srcNodeId (and its
entire subtree) to the new location defined by destParentNodeId
and a new name (destName). |
void |
RepositoryService.refreshLock(SessionInfo sessionInfo,
NodeId nodeId)
Explicit refresh of an existing lock.
|
void |
RepositoryService.removeActivity(SessionInfo sessionInfo,
NodeId activityId)
Removes the activity identified by the specified
activityId. |
void |
RepositoryService.removeVersion(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId)
Remove the version identified by the specified
versionId. |
void |
RepositoryService.removeVersionLabel(SessionInfo sessionInfo,
NodeId versionHistoryId,
NodeId versionId,
Name label)
Remove the given version label in the persistent layer.
|
void |
Batch.reorderNodes(NodeId parentId,
NodeId srcNodeId,
NodeId beforeNodeId)
Modify the order of the child nodes identified by the given
NodeIds. |
void |
RepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
Resolve an existing merge conflict present with the node identified by
the given
NodeId. |
void |
RepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
Resolve an existing merge conflict present with the node identified by
the given
NodeId. |
void |
RepositoryService.resolveMergeConflict(SessionInfo sessionInfo,
NodeId nodeId,
NodeId[] mergeFailedIds,
NodeId[] predecessorIds)
Resolve an existing merge conflict present with the node identified by
the given
NodeId. |
void |
RepositoryService.restore(SessionInfo sessionInfo,
NodeId[] versionIds,
boolean removeExisting)
Restore multiple versions at once.
|
void |
RepositoryService.restore(SessionInfo sessionInfo,
NodeId nodeId,
NodeId versionId,
boolean removeExisting)
Restores the node identified by
nodeId to the state defined
by the version with the specified versionId. |
void |
Batch.setMixins(NodeId nodeId,
Name[] mixinNodeTypeNames)
Modify the set of mixin node types present on the node identified by the
given id.
|
void |
Batch.setPrimaryType(NodeId nodeId,
Name primaryNodeTypeName)
Change the primary type of the node identified by the given
nodeId. |
String |
IdFactory.toJcrIdentifier(NodeId nodeId)
Returns the JCR string representation of the given
nodeId. |
void |
RepositoryService.unlock(SessionInfo sessionInfo,
NodeId nodeId)
Releases the lock on the
Node identified by the given
NodeId.
Please note, that on logout all
session-scoped locks must be released by calling unlock. |
void |
RepositoryService.update(SessionInfo sessionInfo,
NodeId nodeId,
String srcWorkspaceName)
Updates the node identified by the given
NodeId replacing
it (an the complete subtree) with a clone of its corresponding node
present in the workspace with the given srcWorkspaceName. |
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.