|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of NodeId in org.apache.jackrabbit.spi |
|---|
| Methods in org.apache.jackrabbit.spi that return NodeId | |
|---|---|
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,
java.lang.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(java.lang.String uniqueID)
Creates a new NodeId from the given unique id. |
NodeId |
IdFactory.createNodeId(java.lang.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(java.lang.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(Name 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()
|
| Methods in org.apache.jackrabbit.spi that return types with arguments of type NodeId | |
|---|---|
java.util.Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
java.lang.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. |
java.util.Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
java.lang.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. |
java.util.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. |
| Methods in org.apache.jackrabbit.spi with parameters of type NodeId | |
|---|---|
void |
Batch.addNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
java.lang.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,
java.lang.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,
java.lang.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. |
java.util.Iterator<ChildInfo> |
RepositoryService.getChildInfos(SessionInfo sessionInfo,
NodeId parentId)
Returns an Iterator of ChildInfos present on the
Node represented by the given parentId. |
java.util.Iterator<? extends ItemInfo> |
RepositoryService.getItemInfos(SessionInfo sessionInfo,
NodeId nodeId)
Method used to 'batch-read' from the persistent storage. |
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)
Retreive a cache entry for the given nodeId or null
if no such entry is in the cache. |
NodeInfo |
RepositoryService.getNodeInfo(SessionInfo sessionInfo,
NodeId nodeId)
Retrieve the NodeInfo for the node identified by the given
NodeId. |
java.util.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,
java.io.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,
java.lang.String ownerHint)
Create a lock on the Node identified by the given id. |
java.util.Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
java.lang.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. |
java.util.Iterator<NodeId> |
RepositoryService.merge(SessionInfo sessionInfo,
NodeId nodeId,
java.lang.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. |
java.util.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 inditified 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. |
java.lang.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,
java.lang.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. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||