Uses of Interface
org.apache.jackrabbit.spi.NodeId

Packages that use NodeId
org.apache.jackrabbit.jcr2spi   
org.apache.jackrabbit.jcr2spi.hierarchy   
org.apache.jackrabbit.jcr2spi.operation   
org.apache.jackrabbit.jcr2spi.state   
org.apache.jackrabbit.spi Defines the interfaces of the JCR SPI (Service Provider Interface). 
org.apache.jackrabbit.spi.commons   
org.apache.jackrabbit.spi.commons.identifier   
org.apache.jackrabbit.spi2jcr   
 

Uses of NodeId in org.apache.jackrabbit.jcr2spi
 

Methods in org.apache.jackrabbit.jcr2spi with parameters of type NodeId
 LockInfo WorkspaceManager.getLockInfo(NodeId nodeId)
           
 

Uses of NodeId in org.apache.jackrabbit.jcr2spi.hierarchy
 

Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return NodeId
 NodeId NodeEntryImpl.getId()
           
 NodeId NodeEntry.getId()
           
 NodeId NodeEntryImpl.getWorkspaceId()
           
 NodeId NodeEntry.getWorkspaceId()
          Returns the ID that must be used for resolving this entry OR loading its children entries from the persistent layer.
 

Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type NodeId
 NodeEntry UniqueIdResolver.lookup(NodeId nodeId)
           
 NodeEntry UniqueIdResolver.resolve(NodeId nodeId, NodeEntry rootEntry)
           
 

Uses of NodeId in org.apache.jackrabbit.jcr2spi.operation
 

Methods in org.apache.jackrabbit.jcr2spi.operation that return NodeId
 NodeId ReorderNodes.getBeforeId()
           
 NodeId AbstractCopy.getDestinationParentId()
           
 NodeId Move.getDestinationParentId()
           
 NodeId ReorderNodes.getInsertId()
           
 NodeId[] ResolveMergeConflict.getMergeFailedIds()
           
 NodeId AbstractCopy.getNodeId()
           
 NodeId LockRelease.getNodeId()
           
 NodeId Restore.getNodeId()
          Returns id of state or the closest existing state of the restore target or null in case of a Workspace.restore(Version[], boolean)
 NodeId WorkspaceImport.getNodeId()
           
 NodeId ResolveMergeConflict.getNodeId()
           
 NodeId LockOperation.getNodeId()
           
 NodeId LockRefresh.getNodeId()
           
 NodeId Update.getNodeId()
           
 NodeId SetMixin.getNodeId()
           
 NodeId Merge.getNodeId()
           
 NodeId Checkin.getNodeId()
           
 NodeId Checkout.getNodeId()
           
 NodeId AddNode.getParentId()
           
 NodeId AddProperty.getParentId()
           
 NodeId ReorderNodes.getParentId()
           
 NodeId[] ResolveMergeConflict.getPredecessorIds()
           
 NodeId Move.getSourceId()
           
 NodeId RemoveLabel.getVersionHistoryId()
           
 NodeId AddLabel.getVersionHistoryId()
           
 NodeId RemoveLabel.getVersionId()
           
 NodeId AddLabel.getVersionId()
           
 NodeId[] Restore.getVersionIds()
           
 

Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type NodeId
static Operation ResolveMergeConflict.create(NodeState nodeState, NodeId[] mergeFailedIds, NodeId[] predecessorIds, boolean resolveDone)
           
static Operation ResolveMergeConflict.create(NodeState nodeState, NodeId[] mergeFailedIds, NodeId[] predecessorIds, boolean resolveDone)
           
 

Uses of NodeId in org.apache.jackrabbit.jcr2spi.state
 

Methods in org.apache.jackrabbit.jcr2spi.state that return NodeId
 NodeId NodeState.getNodeId()
          Returns the id of this node state.
 

Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type NodeId
 NodeState TransientISFactory.createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
           
 NodeState ItemStateFactory.createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
          Tries to retrieve the NodeState with the given NodeId and if the state exists, fills in the NodeEntries missing between the last known NodeEntry marked by anyParent.
 NodeState WorkspaceItemStateFactory.createDeepNodeState(NodeId nodeId, NodeEntry anyParent)
           
 NodeState TransientISFactory.createNodeState(NodeId nodeId, NodeEntry entry)
           
 NodeState ItemStateFactory.createNodeState(NodeId nodeId, NodeEntry entry)
          Creates the child NodeState with the given nodeId.
 NodeState WorkspaceItemStateFactory.createNodeState(NodeId nodeId, NodeEntry entry)
          Creates the node with information retrieved from the RepositoryService.
 Iterator TransientISFactory.getChildNodeInfos(NodeId nodeId)
           
 Iterator ItemStateFactory.getChildNodeInfos(NodeId nodeId)
          Returns an Iterator over ChildInfos for the given NodeState.
 Iterator WorkspaceItemStateFactory.getChildNodeInfos(NodeId nodeId)
           
 

Uses of NodeId in org.apache.jackrabbit.spi
 

Methods in org.apache.jackrabbit.spi that return 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 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()
          Returns NodeId of node this result row represents.
 NodeId PropertyId.getParentId()
          Returns the NodeId of the parent.
 NodeId ItemInfo.getParentId()
          Returns the id of the parent NodeInfo.
 NodeId Event.getParentId()
           
 NodeId RepositoryService.getRootId(SessionInfo sessionInfo)
          The NodeId of the root node may basically have two characteristics.
 

Methods in org.apache.jackrabbit.spi with parameters of type NodeId
 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.
 void 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.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 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 qualified property name.
 Iterator RepositoryService.getChildInfos(SessionInfo sessionInfo, NodeId parentId)
          Returns an Iterator of ChildInfos present on the Node represented by the given parentId.
 Iterator 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.
 NodeInfo RepositoryService.getNodeInfo(SessionInfo sessionInfo, NodeId nodeId)
          Retrieve the NodeInfo for 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.
 Iterator 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.
 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.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 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.
 

Uses of NodeId in org.apache.jackrabbit.spi.commons
 

Methods in org.apache.jackrabbit.spi.commons that return NodeId
 NodeId NodeInfoImpl.getId()
          Returns the NodeId for the node that is based on this info object.
 NodeId LockInfoImpl.getNodeId()
          Returns the NodeId of the lock-holding Node.
 NodeId EventImpl.getParentId()
          
 NodeId ItemInfoImpl.getParentId()
          Returns the id of the parent NodeInfo.
 

Methods in org.apache.jackrabbit.spi.commons with parameters of type NodeId
 void SerializableBatch.addNode(NodeId parentId, Name nodeName, Name nodetypeName, String uuid)
           
 void SerializableBatch.addProperty(NodeId parentId, Name propertyName, QValue value)
           
 void SerializableBatch.addProperty(NodeId parentId, Name propertyName, QValue[] values)
           
 void SerializableBatch.move(NodeId srcNodeId, NodeId destParentNodeId, Name destName)
           
 void SerializableBatch.reorderNodes(NodeId parentId, NodeId srcNodeId, NodeId beforeNodeId)
           
 void SerializableBatch.setMixins(NodeId nodeId, Name[] mixinNodeTypeIds)
           
 

Constructors in org.apache.jackrabbit.spi.commons with parameters of type NodeId
EventImpl(int type, Path path, ItemId itemId, NodeId parentId, Name primaryNodeTypeName, Name[] mixinTypeNames, String userId)
          Creates a new serializable event.
ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
          Creates a new serializable item info for the given qualified item info.
LockInfoImpl(String lockToken, String lockOwner, boolean isDeep, boolean isSessionScoped, NodeId nodeId)
          Creates a new lock info for the given lock info.
NodeInfoImpl(NodeId parentId, Name name, Path path, NodeId id, int index, Name primaryTypeName, Name[] mixinNames, Iterator references, Iterator propertyIds)
          Creates a new serializable node info for the given node info.
PropertyInfoImpl(NodeId parentId, Name name, Path path, PropertyId id, int type, boolean isMultiValued, QValue[] values)
          Creates a new serializable property info for the given parameters.
 

Uses of NodeId in org.apache.jackrabbit.spi.commons.identifier
 

Methods in org.apache.jackrabbit.spi.commons.identifier that return NodeId
 NodeId AbstractIdFactory.createNodeId(NodeId parentId, Path path)
          Creates a new NodeId from the given parent id and the given Path object.
 NodeId AbstractIdFactory.createNodeId(String uniqueID)
          Creates a new NodeId from the given unique id.
 NodeId AbstractIdFactory.createNodeId(String uniqueID, Path path)
          Creates a new NodeId from the given unique id (which identifies an ancestor Node) and the given Path object.
 

Methods in org.apache.jackrabbit.spi.commons.identifier with parameters of type NodeId
 NodeId AbstractIdFactory.createNodeId(NodeId parentId, Path path)
          Creates a new NodeId from the given parent id and the given Path object.
 PropertyId AbstractIdFactory.createPropertyId(NodeId parentId, Name propertyName)
          Creates a new PropertyId from the given parent id and qualified property name.
 

Uses of NodeId in org.apache.jackrabbit.spi2jcr
 

Methods in org.apache.jackrabbit.spi2jcr that return NodeId
 NodeId RepositoryServiceImpl.getRootId(SessionInfo sessionInfo)
          The NodeId of the root node may basically have two characteristics.
 

Methods in org.apache.jackrabbit.spi2jcr with parameters of type NodeId
 void RepositoryServiceImpl.addVersionLabel(SessionInfo sessionInfo, NodeId versionHistoryId, NodeId versionId, Name label, boolean moveLabel)
          Add the given version label in the persistent layer.
 void RepositoryServiceImpl.checkin(SessionInfo sessionInfo, NodeId nodeId)
          Performs a checkin for the Node identified by the given NodeId.
 void RepositoryServiceImpl.checkout(SessionInfo sessionInfo, NodeId nodeId)
          Performs a checkout for the Node identified by the given NodeId.
 void RepositoryServiceImpl.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 RepositoryServiceImpl.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.
 Iterator RepositoryServiceImpl.getChildInfos(SessionInfo sessionInfo, NodeId parentId)
          Returns an Iterator of ChildInfos present on the Node represented by the given parentId.
 Iterator RepositoryServiceImpl.getItemInfos(SessionInfo sessionInfo, NodeId nodeId)
          Method used to 'batch-read' from the persistent storage.
 LockInfo RepositoryServiceImpl.getLockInfo(SessionInfo sessionInfo, NodeId nodeId)
          Returns the lock information that applies to Node identified by the given NodeId or null.
 QNodeDefinition RepositoryServiceImpl.getNodeDefinition(SessionInfo sessionInfo, NodeId nodeId)
          Returns the QNodeDefinition for the Node identified by the given id.
 NodeInfo RepositoryServiceImpl.getNodeInfo(SessionInfo sessionInfo, NodeId nodeId)
          Retrieve the NodeInfo for the node identified by the given NodeId.
 void RepositoryServiceImpl.importXml(SessionInfo sessionInfo, NodeId parentId, InputStream xmlStream, int uuidBehaviour)
          Imports the data present in the given InputStream into the persistent layer.
 LockInfo RepositoryServiceImpl.lock(SessionInfo sessionInfo, NodeId nodeId, boolean deep, boolean sessionScoped)
          Create a lock on the Node identified by the given id.
 Iterator RepositoryServiceImpl.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.
 void RepositoryServiceImpl.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 RepositoryServiceImpl.refreshLock(SessionInfo sessionInfo, NodeId nodeId)
          Explicit refresh of an existing lock.
 void RepositoryServiceImpl.removeVersion(SessionInfo sessionInfo, NodeId versionHistoryId, NodeId versionId)
          Remove the version inditified by the specified versionId.
 void RepositoryServiceImpl.removeVersionLabel(SessionInfo sessionInfo, NodeId versionHistoryId, NodeId versionId, Name label)
          Remove the given version label in the persistent layer.
 void RepositoryServiceImpl.resolveMergeConflict(SessionInfo sessionInfo, NodeId nodeId, NodeId[] mergeFailedIds, NodeId[] predecessorIds)
          Resolve an existing merge conflict present with the node identified by the given NodeId.
 void RepositoryServiceImpl.resolveMergeConflict(SessionInfo sessionInfo, NodeId nodeId, NodeId[] mergeFailedIds, NodeId[] predecessorIds)
          Resolve an existing merge conflict present with the node identified by the given NodeId.
 void RepositoryServiceImpl.resolveMergeConflict(SessionInfo sessionInfo, NodeId nodeId, NodeId[] mergeFailedIds, NodeId[] predecessorIds)
          Resolve an existing merge conflict present with the node identified by the given NodeId.
 void RepositoryServiceImpl.restore(SessionInfo sessionInfo, NodeId[] versionIds, boolean removeExisting)
          Restore multiple versions at once.
 void RepositoryServiceImpl.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 RepositoryServiceImpl.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 RepositoryServiceImpl.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-2008 The Apache Software Foundation. All Rights Reserved.