Uses of Class
org.apache.jackrabbit.core.NodeId

Packages that use NodeId
org.apache.jackrabbit.core   
org.apache.jackrabbit.core.cluster   
org.apache.jackrabbit.core.journal   
org.apache.jackrabbit.core.lock   
org.apache.jackrabbit.core.nodetype.virtual   
org.apache.jackrabbit.core.observation   
org.apache.jackrabbit.core.persistence   
org.apache.jackrabbit.core.persistence.bundle   
org.apache.jackrabbit.core.persistence.bundle.util   
org.apache.jackrabbit.core.persistence.db   
org.apache.jackrabbit.core.persistence.mem   
org.apache.jackrabbit.core.persistence.obj   
org.apache.jackrabbit.core.persistence.xml   
org.apache.jackrabbit.core.query   
org.apache.jackrabbit.core.query.lucene   
org.apache.jackrabbit.core.state   
org.apache.jackrabbit.core.version   
org.apache.jackrabbit.core.virtual   
org.apache.jackrabbit.core.xml   
 

Uses of NodeId in org.apache.jackrabbit.core
 

Fields in org.apache.jackrabbit.core declared as NodeId
static NodeId RepositoryImpl.NODETYPES_NODE_ID
          hardcoded id of the "/jcr:system/jcr:nodeTypes" node
static NodeId RepositoryImpl.ROOT_NODE_ID
          hardcoded id of the repository root node
protected  NodeId HierarchyManagerImpl.rootNodeId
           
static NodeId RepositoryImpl.SYSTEM_ROOT_NODE_ID
          hardcoded id of the "/jcr:system" node
static NodeId RepositoryImpl.VERSION_STORAGE_NODE_ID
          hardcoded id of the "/jcr:system/jcr:versionStorage" node
 

Methods in org.apache.jackrabbit.core that return NodeId
 NodeId BatchedItemOperations.copy(Path srcPath, ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, AccessManager srcAccessMgr, Path destPath, int flag)
          Copies the tree at srcPath retrieved using the specified srcStateMgr to the new location at destPath.
 NodeId BatchedItemOperations.copy(Path srcPath, Path destPath, int flag)
          Copies the tree at srcPath to the new location at destPath.
 NodeId NodeImpl.getNodeId()
          Returns the identifier of this Node.
 NodeId PropertyId.getParentId()
          Returns the identifier of the parent node.
protected  NodeId ZombieHierarchyManager.getParentId(ItemState state)
          Returns the parentUUID of the given item.

Also allows for removed items.

protected  NodeId HierarchyManagerImpl.getParentId(ItemState state)
          Returns the parentUUID of the given item.
 NodeId HierarchyManagerImpl.getRootNodeId()
           
protected  NodeId RepositoryImpl.getRootNodeId()
           
protected  NodeId RepositoryImpl.loadRootNodeId(FileSystem fs)
          Returns the root node uuid.
 NodeId BatchedItemOperations.move(Path srcPath, Path destPath)
          Moves the tree at srcPath to the new location at destPath.
 NodeId NodeIdIterator.nextNodeId()
          Returns the next nodeid in the iteration.
 NodeId HierarchyManager.resolveNodePath(Path path)
          Resolves a path into a node id.
 NodeId HierarchyManagerImpl.resolveNodePath(Path path)
          Resolves a path into a node id.
 NodeId CachingHierarchyManager.resolveNodePath(Path path)
          Resolves a path into a node id.

Note that, for performance reasons, this method returns null rather than throwing a PathNotFoundException if there's no node to be found at path.

Check the path indicated inside our cache first.

protected  NodeId NodeImpl.resolveRelativeNodePath(String relPath)
          Returns the id of the node at relPath or null if no node exists at relPath.
static NodeId NodeId.valueOf(String s)
          Returns a NodeId holding the value of the specified string.
 

Methods in org.apache.jackrabbit.core with parameters of type NodeId
 void BatchedItemOperations.checkRemoveNode(NodeState targetState, NodeId parentId, int options)
          Checks if removing the given target node from the specifed parent is allowed in the current context.
protected  NodeImpl NodeImpl.createChildNode(Name name, NodeDefinitionImpl def, NodeTypeImpl nodeType, NodeId id)
           
protected  SharedItemStateManager RepositoryImpl.createItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory, ISMLocking locking)
          Creates a SharedItemStateManager or derivative.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
          Creates a new node.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, NodeDef def)
          Creates a new node based on the given definition.
protected  VersionHistoryImpl ItemManager.createVersionHistoryInstance(NodeId id, NodeState state, NodeDefinition def, ItemLifeCycleListener[] listeners)
          Create a version history instance.
protected  VersionImpl ItemManager.createVersionInstance(NodeId id, NodeState state, NodeDefinition def, ItemLifeCycleListener[] listeners)
          Create a version instance.
protected  NodeState.ChildNodeEntry ZombieHierarchyManager.getChildNodeEntry(NodeState parent, NodeId id)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.

Also allows for removed child node entries.

protected  NodeState.ChildNodeEntry HierarchyManagerImpl.getChildNodeEntry(NodeState parent, NodeId id)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.
 NodeImpl SessionImpl.getNodeById(NodeId id)
          Retrieves the Node with the given id.
 NodeState BatchedItemOperations.getNodeState(NodeId id)
          Retrieves the state of the node with the given id.
 int HierarchyManager.getRelativeDepth(NodeId ancestorId, ItemId descendantId)
          Returns the depth of the specified descendant relative to the given ancestor.
 int HierarchyManagerImpl.getRelativeDepth(NodeId ancestorId, ItemId descendantId)
          Returns the depth of the specified descendant relative to the given ancestor.
protected  NodeImpl NodeImpl.internalAddChildNode(Name nodeName, NodeTypeImpl nodeType, NodeId id)
           
protected  NodeImpl NodeImpl.internalAddNode(String relPath, NodeTypeImpl nodeType, NodeId id)
           
 boolean HierarchyManager.isAncestor(NodeId nodeId, ItemId itemId)
          Determines whether the node with the specified nodeId is an ancestor of the item denoted by the given itemId.
 boolean HierarchyManagerImpl.isAncestor(NodeId nodeId, ItemId itemId)
          Determines whether the node with the specified nodeId is an ancestor of the item denoted by the given itemId.
 boolean CachingHierarchyManager.isAncestor(NodeId nodeId, ItemId itemId)
          Determines whether the node with the specified nodeId is an ancestor of the item denoted by the given itemId. This is equivalent to getPath(nodeId).isAncestorOf(getPath(itemId)).
 void CachingHierarchyManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added
 void CachingHierarchyManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed
protected  void NodeImpl.renameChildNode(Name oldName, int index, NodeId id, Name newName)
           
 NodeImpl NodeImpl.replaceChildNode(NodeId id, Name nodeName, Name nodeTypeName, Name[] mixinNames)
          Replaces the child node with the specified id by a new child node with the same id and specified nodeName, nodeTypeName and mixinNames.
 

Constructors in org.apache.jackrabbit.core with parameters of type NodeId
CachingHierarchyManager(NodeId rootNodeId, ItemStateManager provider, PathResolver resolver)
          Create a new instance of this class.
HierarchyManagerImpl(NodeId rootNodeId, ItemStateManager provider, PathResolver resolver)
           
ItemManager(SessionItemStateManager itemStateProvider, HierarchyManager hierMgr, SessionImpl session, NodeDefinition rootNodeDef, NodeId rootNodeId)
          Creates a new per-session instance ItemManager instance.
NodeImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Protected constructor.
PropertyId(NodeId parentId, Name propName)
          Creates a property identifier instance for the identified property.
SearchManager(SearchConfig config, NamespaceRegistryImpl nsReg, NodeTypeRegistry ntReg, ItemStateManager itemMgr, NodeId rootNodeId, SearchManager parentMgr, NodeId excludedNodeId)
          Creates a new SearchManager.
 

Uses of NodeId in org.apache.jackrabbit.core.cluster
 

Methods in org.apache.jackrabbit.core.cluster with parameters of type NodeId
 ClusterOperation LockEventChannel.create(NodeId nodeId)
          Create a new cluster operation that should be used to inform other instances in the cluster.
 ClusterOperation LockEventChannel.create(NodeId nodeId, boolean deep, String owner)
          Create a new cluster operation that should be used to inform other instances in the cluster.
 void LockEventListener.externalLock(NodeId nodeId, boolean isDeep, String userId)
          Handle an external lock operation.
 void LockEventListener.externalUnlock(NodeId nodeId)
          Handle an external unlock operation.
 

Uses of NodeId in org.apache.jackrabbit.core.journal
 

Methods in org.apache.jackrabbit.core.journal that return NodeId
 NodeId AbstractRecord.readNodeId()
          Read a NodeId from the underlying stream.
 NodeId Record.readNodeId()
          Read a NodeId from the underlying stream.
 

Methods in org.apache.jackrabbit.core.journal with parameters of type NodeId
 void AbstractRecord.writeNodeId(NodeId nodeId)
          Write a NodeId to the underlying stream.
 void Record.writeNodeId(NodeId nodeId)
          Write a NodeId to the underlying stream.
 

Uses of NodeId in org.apache.jackrabbit.core.lock
 

Methods in org.apache.jackrabbit.core.lock that return NodeId
 NodeId AbstractLockInfo.getId()
          Return the ID of the lock holding node
 

Methods in org.apache.jackrabbit.core.lock with parameters of type NodeId
 void LockManagerImpl.externalLock(NodeId nodeId, boolean isDeep, String userId)
          Handle an external lock operation.
 void LockManagerImpl.externalUnlock(NodeId nodeId)
          Handle an external unlock operation.
 AbstractLockInfo LockManagerImpl.getLockInfo(NodeId id)
          Return the most appropriate lock information for a node.
 

Uses of NodeId in org.apache.jackrabbit.core.nodetype.virtual
 

Methods in org.apache.jackrabbit.core.nodetype.virtual with parameters of type NodeId
protected  VirtualNodeState VirtualNodeTypeStateProvider.internalGetNodeState(NodeId id)
          Retrieves the node state with the given node id
protected  boolean VirtualNodeTypeStateProvider.internalHasNodeState(NodeId id)
          Checks if this provide has the node state of the given node id
 

Constructors in org.apache.jackrabbit.core.nodetype.virtual with parameters of type NodeId
VirtualNodeTypeStateManager(NodeTypeRegistry ntReg, DelegatingObservationDispatcher obs, NodeId rootNodeId, NodeId parentId)
          Creates a new virtual node type state manager
VirtualNodeTypeStateProvider(NodeTypeRegistry ntReg, NodeId rootNodeId, NodeId parentId)
           
 

Uses of NodeId in org.apache.jackrabbit.core.observation
 

Methods in org.apache.jackrabbit.core.observation that return NodeId
 NodeId EventState.getChildId()
          Returns the Id of a child node operation.
 NodeId EventImpl.getChildId()
          Returns the id of a child node operation.
 NodeId EventState.getParentId()
          Returns the uuid of the parent node.
 NodeId EventImpl.getParentId()
          Returns the uuid of the parent node.
 

Methods in org.apache.jackrabbit.core.observation with parameters of type NodeId
static EventState EventState.childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path.Element childPath, Name nodeType, Set mixins, Session session)
          Creates a new Event of type Event.NODE_ADDED.
static EventState EventState.childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path.Element childPath, Name nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.NODE_ADDED.
static EventState EventState.childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path.Element childPath, Name nodeType, Set mixins, Session session)
          Creates a new Event of type Event.NODE_REMOVED.
static EventState EventState.childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path.Element childPath, Name nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.NODE_REMOVED.
 void EventStateCollection.createEventStates(NodeId rootNodeId, ChangeLog changes, ItemStateManager stateMgr)
          Creates EventState instances from ItemState changes.
static EventState EventState.propertyAdded(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_ADDED.
static EventState EventState.propertyAdded(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.PROPERTY_ADDED.
static EventState EventState.propertyChanged(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_CHANGED.
static EventState EventState.propertyChanged(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.PROPERTY_CHANGED.
static EventState EventState.propertyRemoved(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_REMOVED.
static EventState EventState.propertyRemoved(NodeId parentId, Path parentPath, Path.Element childPath, Name nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.PROPERTY_REMOVED.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence
 

Methods in org.apache.jackrabbit.core.persistence that return NodeId
 NodeId PMContext.getRootNodeId()
          Returns the id of the root node
 

Methods in org.apache.jackrabbit.core.persistence with parameters of type NodeId
 NodeState AbstractPersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 NodeState PersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 boolean PersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 NodeIdIterator IterablePersistenceManager.getAllNodeIds(NodeId after, int maxCount)
          Get all node ids.
 NodeState PersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Constructors in org.apache.jackrabbit.core.persistence with parameters of type NodeId
PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore)
          Creates a new PMContext.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.bundle
 

Methods in org.apache.jackrabbit.core.persistence.bundle with parameters of type NodeId
protected  StringBuffer BundleFsPersistenceManager.buildNodeFilePath(StringBuffer buf, NodeId id)
          Creates the file path for the given node id that is suitable for storing node states in a filesystem.
protected  StringBuffer AbstractBundlePersistenceManager.buildNodeFilePath(StringBuffer buf, NodeId id)
          Creates the file path for the given node id that is suitable for storing node states in a filesystem.
protected  StringBuffer AbstractBundlePersistenceManager.buildNodeFolderPath(StringBuffer buf, NodeId id)
          Creates the folder path for the given node id that is suitable for storing states in a filesystem.
 NodeState AbstractBundlePersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 boolean AbstractBundlePersistenceManager.exists(NodeId id)
          Checks whether the identified node exists. Checks the existence via the appropriate NodePropBundle.
protected  boolean BundleFsPersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
protected abstract  boolean AbstractBundlePersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
protected  boolean BundleDbPersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
 NodeIdIterator BundleFsPersistenceManager.getAllNodeIds(NodeId bigger, int maxCount)
          Get all node ids.
 NodeIdIterator BundleDbPersistenceManager.getAllNodeIds(NodeId bigger, int maxCount)
          Get all node ids.
 NodeState AbstractBundlePersistenceManager.load(NodeId id)
          Load the persistent members of a node state. Loads the state via the appropriate NodePropBundle.
protected  NodePropBundle PostgreSQLPersistenceManager.loadBundle(NodeId id)
           
protected  NodePropBundle BundleFsPersistenceManager.loadBundle(NodeId id)
          Loads a bundle from the underlying system.
protected abstract  NodePropBundle AbstractBundlePersistenceManager.loadBundle(NodeId id)
          Loads a bundle from the underlying system.
protected  NodePropBundle BundleDbPersistenceManager.loadBundle(NodeId id)
          Loads a bundle from the underlying system.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.bundle.util
 

Methods in org.apache.jackrabbit.core.persistence.bundle.util that return NodeId
 NodeId NodePropBundle.getId()
          Returns the node id of this bundle
 NodeId NodePropBundle.ChildNodeEntry.getId()
          Returns the id.
 NodeId NodePropBundle.getParentId()
          Returns the parent id of this bundle
 NodeId ItemStateBinding.readID(DataInputStream in)
          Deserializes a NodeID
 

Methods in org.apache.jackrabbit.core.persistence.bundle.util with parameters of type NodeId
 void NodePropBundle.addChildNodeEntry(Name name, NodeId id)
          Adds a child node entry.
 boolean LRUNodeIdCache.contains(NodeId id)
          Checks if the given id is contained in this cached.
 boolean BundleCache.contains(NodeId id)
          Checks if the bundle with the given id is cached.
 NodePropBundle BundleCache.get(NodeId id)
          Returns the bundle with the given id or null if the bundle is not cached.
 void LRUNodeIdCache.put(NodeId id)
          Puts the given id to this cache.
 NodePropBundle BundleBinding.readBundle(DataInputStream in, NodeId id)
          Deserializes a NodePropBundle from a data input stream.
 NodeState ItemStateBinding.readState(DataInputStream in, NodeId id, PersistenceManager pMgr)
          Deserializes a NodeState from the data input stream.
 boolean LRUNodeIdCache.remove(NodeId id)
          Removes the it to this cache
 NodePropBundle BundleCache.remove(NodeId id)
          Removes a bundle from this cache.
 void NodePropBundle.setParentId(NodeId parentId)
          Sets the parent id
 void ItemStateBinding.writeID(DataOutputStream out, NodeId id)
          Serializes a node id
 

Constructors in org.apache.jackrabbit.core.persistence.bundle.util with parameters of type NodeId
NodePropBundle.ChildNodeEntry(Name name, NodeId id)
          Creates a new entry with the given name and id
NodePropBundle(BundleBinding binding, NodeId id)
          Creates a "new" bundle with the given id
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.db
 

Methods in org.apache.jackrabbit.core.persistence.db with parameters of type NodeId
 boolean DatabasePersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 NodeState DatabasePersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.mem
 

Methods in org.apache.jackrabbit.core.persistence.mem with parameters of type NodeId
 boolean InMemPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 NodeState InMemPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.obj
 

Methods in org.apache.jackrabbit.core.persistence.obj with parameters of type NodeId
 boolean ObjectPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 NodeState ObjectPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Uses of NodeId in org.apache.jackrabbit.core.persistence.xml
 

Methods in org.apache.jackrabbit.core.persistence.xml with parameters of type NodeId
 boolean XMLPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 NodeState XMLPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Uses of NodeId in org.apache.jackrabbit.core.query
 

Methods in org.apache.jackrabbit.core.query that return NodeId
 NodeId QueryHandlerContext.getExcludedNodeId()
          Returns the id of the node that should be excluded from indexing.
 NodeId QueryHandlerContext.getRootId()
          Returns the id of the root node.
 

Methods in org.apache.jackrabbit.core.query with parameters of type NodeId
 void QueryHandler.deleteNode(NodeId id)
          Deletes the Node with id from the search index.
 

Constructors in org.apache.jackrabbit.core.query with parameters of type NodeId
QueryHandlerContext(FileSystem fs, ItemStateManager stateMgr, NodeId rootId, NodeTypeRegistry ntRegistry, NamespaceRegistryImpl nsRegistry, QueryHandler parentHandler, NodeId excludedNodeId)
          Creates a new context instance.
 

Uses of NodeId in org.apache.jackrabbit.core.query.lucene
 

Methods in org.apache.jackrabbit.core.query.lucene that return NodeId
 NodeId NodeIndexer.getNodeId()
          Returns the NodeId of the indexed node.
 

Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NodeId
 void SearchIndex.deleteNode(NodeId id)
          Removes the node with uuid from the search index.
 String SimpleExcerptProvider.getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
          Returns the XML excerpt for the node with id.
 String AbstractExcerpt.getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
          Returns the XML excerpt for the node with id.
 String ExcerptProvider.getExcerpt(NodeId id, int maxFragments, int maxFragmentSize)
          Returns the XML excerpt for the node with id.
 

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

Methods in org.apache.jackrabbit.core.state that return NodeId
 NodeId NodeState.ChildNodeEntry.getId()
           
 NodeId NodeState.getNodeId()
          Returns the identifier of this node.
 NodeId PropertyState.getParentId()
          Returns the NodeId of the parent NodeState or null if either this item state represents the root node or this item state is 'free floating', i.e.
abstract  NodeId ItemState.getParentId()
          Returns the NodeId of the parent NodeState or null if either this item state represents the root node or this item state is 'free floating', i.e.
 NodeId NodeState.getParentId()
          Returns the NodeId of the parent NodeState or null if either this item state represents the root node or this item state is 'free floating', i.e.
 NodeId NodeReferences.getTargetId()
          Returns the identifier of the target node.
 NodeId NodeReferencesId.getTargetId()
          Returns the id of the target node.
 

Methods in org.apache.jackrabbit.core.state with parameters of type NodeId
 NodeState.ChildNodeEntry NodeState.addChildNodeEntry(Name nodeName, NodeId id)
          Adds a new ChildNodeEntry.
 PropertyState SessionItemStateManager.createNew(Name propName, NodeId parentId)
          Creates a PropertyState instance representing new, i.e.
 PropertyState UpdatableItemStateManager.createNew(Name propName, NodeId parentId)
          Creates a PropertyState instance representing new, i.e.
 PropertyState LocalItemStateManager.createNew(Name propName, NodeId parentId)
          Creates a PropertyState instance representing new, i.e.
 NodeState SessionItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState UpdatableItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState LocalItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState SessionItemStateManager.createTransientNodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus)
           
 PropertyState SessionItemStateManager.createTransientPropertyState(NodeId parentId, Name propName, int initialStatus)
           
 NodeState.ChildNodeEntry NodeState.getChildNodeEntry(NodeId id)
          Returns the ChildNodeEntry with the specified NodeId or null if there's no matching entry.
 Iterator SessionItemStateManager.getDescendantTransientItemStates(NodeId parentId)
          Returns an iterator over those transient item state instances that are direct or indirect descendents of the item state with the given parentId.
 Iterator SessionItemStateManager.getDescendantTransientItemStatesInAttic(NodeId parentId)
          Same as SessionItemStateManager.getDescendantTransientItemStates(NodeId) except that item state instances in the attic are returned.
protected  NodeState LocalItemStateManager.getNodeState(NodeId id)
          Retrieve a node state from the parent shared state manager and wraps it into a intermediate object that helps us handle local modifications.
 boolean NodeState.hasChildNodeEntry(NodeId id)
          Determines if there is a ChildNodeEntry with the specified NodeId.
 void SessionItemStateManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added
 void LocalItemStateManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void SessionItemStateManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed
 void LocalItemStateManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void StateChangeDispatcher.notifyNodeAdded(NodeState state, Name name, int index, NodeId id)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyNodeRemoved(NodeState state, Name name, int index, NodeId id)
          Notify listeners about changes to some state.
 boolean NodeState.removeChildNodeEntry(NodeId id)
          Removes a ChildNodeEntry.
 void NodeState.setParentId(NodeId parentId)
          Sets the id of this node's parent.
 

Constructors in org.apache.jackrabbit.core.state with parameters of type NodeId
NodeReferencesId(NodeId targetId)
          Creates a new instance of this class.
NodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus, boolean isTransient)
          Constructs a new node state that is not connected.
PMContext(File homeDir, FileSystem fs, NodeId rootNodeId, NamespaceRegistry nsReg, NodeTypeRegistry ntReg, DataStore dataStore)
          Deprecated.  
SessionItemStateManager(NodeId rootNodeId, LocalItemStateManager stateMgr, PathResolver resolver)
          Creates a new SessionItemStateManager instance.
SharedItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory, ISMLocking locking)
          Creates a new SharedItemStateManager instance.
 

Uses of NodeId in org.apache.jackrabbit.core.version
 

Methods in org.apache.jackrabbit.core.version that return NodeId
 NodeId InternalFrozenVersionHistory.getBaseVersionId()
          Returns the id of the base version that was assigned to the node at the time it was versioned.
 NodeId InternalVersionItem.getId()
          Returns the id of this item.
 NodeId NodeStateEx.getNodeId()
          Returns the id of this node.
 NodeId NodeStateEx.getParentId()
          Returns the parent id of this node
 NodeId InternalFrozenVersionHistory.getVersionHistoryId()
          Returns the id of the version history that was assigned to the node at the time it was versioned.
 NodeId InternalVersionHistory.getVersionLabelsId()
          Returns the Id of the version labels node.
 NodeId XAVersionManager.getVirtualRootId()
          Returns the id of the root node of the virtual tree.
 

Methods in org.apache.jackrabbit.core.version with parameters of type NodeId
 NodeStateEx NodeStateEx.addNode(Name nodeName, Name nodeTypeName, NodeId id, boolean referenceable)
          Adds a new child node with the given name
protected  VersionItemStateManager VersionManagerImpl.createItemStateManager(PersistenceManager pMgr, NodeId rootId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking)
          Creates a VersionItemStateManager or derivative.
 VirtualNodeState XAVersionManager.createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
          Creates a new virtual node state
protected  InternalVersionItem XAVersionManager.getItem(NodeId id)
          Returns the item with the given persistent id.
protected  InternalVersionItem VersionManagerImpl.getItem(NodeId id)
          Returns the item with the given persistent id.
 InternalVersion InternalVersionHistory.getVersion(NodeId id)
          Returns the version with the given uuid or null if the respective version does not exist.
 InternalVersion VersionManager.getVersion(NodeId id)
          Returns the version with the given id
 InternalVersionHistory VersionManager.getVersionHistory(NodeId id)
          Returns the version history with the given id
protected  boolean XAVersionManager.hasItem(NodeId id)
          Return a flag indicating if the item specified exists.
 boolean VersionManagerImpl.hasItem(NodeId id)
          Return a flag indicating if the item specified exists.
 boolean InternalVersionHistory.hasVersion(NodeId id)
          Checks if the version for the given uuid exists in this history.
 boolean VersionManager.hasVersion(NodeId id)
          Checks if the version with the given id exists
 boolean VersionManager.hasVersionHistory(NodeId id)
          Checks if the version history with the given id exists
 

Constructors in org.apache.jackrabbit.core.version with parameters of type NodeId
VersionHistoryImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Create a new instance of this class.
VersionImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Create a new instance of this class.
VersionItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking locking)
           
VersionManagerImpl(PersistenceManager pMgr, FileSystem fs, NodeTypeRegistry ntReg, DelegatingObservationDispatcher obsMgr, NodeId rootId, NodeId rootParentId, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking)
          Creates a new version manager
 

Uses of NodeId in org.apache.jackrabbit.core.virtual
 

Fields in org.apache.jackrabbit.core.virtual declared as NodeId
protected  NodeId AbstractVISProvider.rootNodeId
          the root node id
 

Methods in org.apache.jackrabbit.core.virtual that return NodeId
 NodeId AbstractVISProvider.getVirtualRootId()
          Returns the id of the root node of the virtual tree.
 NodeId VirtualItemStateProvider.getVirtualRootId()
          Returns the id of the root node of the virtual tree.
 

Methods in org.apache.jackrabbit.core.virtual with parameters of type NodeId
 VirtualNodeState AbstractVISProvider.createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
          Creates a new virtual node state
 VirtualNodeState VirtualItemStateProvider.createNodeState(VirtualNodeState parent, Name name, NodeId id, Name nodeTypeName)
          Creates a new virtual node state
protected  void AbstractVISProvider.evict(NodeId id)
          removes the node state from the cache
protected abstract  VirtualNodeState AbstractVISProvider.internalGetNodeState(NodeId id)
          Retrieves the node state with the given node id
protected abstract  boolean AbstractVISProvider.internalHasNodeState(NodeId id)
          Checks if this provide has the node state of the given node id
 

Constructors in org.apache.jackrabbit.core.virtual with parameters of type NodeId
AbstractVISProvider(NodeTypeRegistry ntReg, NodeId rootNodeId)
          Creates an abstract virtual item state provider
VirtualNodeState(AbstractVISProvider stateMgr, NodeId parentId, NodeId id, Name nodeTypeName, Name[] mixins)
          creates a new virtual node state
 

Uses of NodeId in org.apache.jackrabbit.core.xml
 

Methods in org.apache.jackrabbit.core.xml that return NodeId
 NodeId NodeInfo.getId()
          Returns the identifier of the node being imported.
 

Methods in org.apache.jackrabbit.core.xml with parameters of type NodeId
protected  NodeImpl SessionImporter.createNode(NodeImpl parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
           
 

Constructors in org.apache.jackrabbit.core.xml with parameters of type NodeId
NodeInfo(Name name, Name nodeTypeName, Name[] mixinNames, NodeId id)
          Creates a node information instance.
 



Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.