Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.modeshape.graph.session.GraphSession.Node

Packages that use GraphSession.Node
org.modeshape.graph.session | A graph session provides a stateful environment in which graph operations can be enqueued and the state and structure of the graph are cached.

Uses of GraphSession.Node in org.modeshape.graph.session

Fields in org.modeshape.graph.session declared as GraphSession.Node
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.root`

Fields in org.modeshape.graph.session with type parameters of type GraphSession.Node
`protected ListMultimap<Name,GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.NO_CHILDREN`
`protected Map<GraphSession.NodeId,GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.nodes` A map of the nodes keyed by their identifier.
`protected Map<UUID,GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.nodesByUuid` A utility map of the nodes keyed by their UUID.

Methods in org.modeshape.graph.session that return GraphSession.Node
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.createChild(Name name)` Create a new child node with the supplied name.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.createChild(Name name, Collection<Property> idProperties)` Create a new child node with the supplied name and multiple initial identification properties.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.createChild(Name name, Collection<Property> idProperties, Property... remainingProperties)` Create a new child node with the supplied name and multiple initial properties.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.createChild(Name name, Property... properties)` Create a new child node with the supplied name and multiple initial properties.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.createNode(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.NodeId nodeId, Location location)`
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath)` Find the node with the supplied path relative to another node.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath, boolean loadIfRequired)` Find the node with the supplied path relative to another node.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeWith(GraphSession.NodeId id)` Find in the session the node with the supplied identifier.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeWith(GraphSession.NodeId id, Path path)` Find the node with the supplied identifier or, if no such node is found, the node at the supplied path.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeWith(Location location)` Find in the session the node with the supplied location.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeWith(Path path)` Find the node with the supplied path.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeWith(Path path, boolean loadIfRequired)` Find the node with the supplied path.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getChild(Name name, int sns)` Get the child with the supplied name and SNS index.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getChild(Path.Segment segment)` Get the child with the supplied segment.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getChildAfter(GraphSession.Node<Payload,PropertyPayload> child)` Get the child node that immediately follows the supplied child.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getFirstChild(Name name)` Get the first child matching the name and lowest SNS index
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getParent()` Get this node's parent node.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.getRoot()` Get the root node.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.node(GraphSession.NodeId id)`
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.node(UUID uuid)`

Methods in org.modeshape.graph.session that return types with arguments of type GraphSession.Node
`Iterable<GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.Node.getChildren()` Get an iterator over the children.
`Iterable<GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.Node.getChildren(Name name)` Get an iterator over the children that have the supplied name.
`Set<GraphSession.Node<Payload,PropertyPayload>>` | `GraphSession.RefreshState.getNodesToBeRefreshed()`

Methods in org.modeshape.graph.session with parameters of type GraphSession.Node
`void` | `GraphSession.Operations.compute(Graph.Batch batch, GraphSession.Node<NodePayload,PropertyPayload> node)` Update any computed fields based on the given node
`void` | `GraphSession.NodeOperations.compute(Graph.Batch batch, GraphSession.Node<Payload,PropertyPayload> node)` Update any computed fields based on the given node
`void` | `GraphSession.Node.copyTo(GraphSession.Node<Payload,PropertyPayload> parent)` Copy this node (and all nodes below it) and place the copy under the supplied parent location.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.createNode(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.NodeId nodeId, Location location)`
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath)` Find the node with the supplied path relative to another node.
`protected GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath, boolean loadIfRequired)` Find the node with the supplied path relative to another node.
`protected void` | `GraphSession.LoadNodesVisitor.finishNodeAfterLoading(GraphSession.Node<Payload,PropertyPayload> node)` Method that is called on each node loaded by this visitor.
`protected void` | `GraphSession.LoadAllChildrenVisitor.finishParentAfterLoading(GraphSession.Node<Payload,PropertyPayload> parentNode)` Method that is called at the end of the `GraphSession.LoadAllChildrenVisitor.finish()` stage with each parent node whose children were all loaded.
`GraphSession.Node<Payload,PropertyPayload>` | `GraphSession.Node.getChildAfter(GraphSession.Node<Payload,PropertyPayload> child)` Get the child node that immediately follows the supplied child.
`boolean` | `GraphSession.Node.isAtOrBelow(GraphSession.Node<Payload,PropertyPayload> other)`
`protected void` | `GraphSession.LoadNodesVisitor.load(GraphSession.Node<Payload,PropertyPayload> node)` Method that signals that the supplied node should be loaded (if it is not already loaded).
`void` | `GraphSession.RefreshState.markAsRequiringRefresh(GraphSession.Node<Payload,PropertyPayload> node)`
`void` | `GraphSession.Operations.materialize(Node persistentNode, GraphSession.Node<NodePayload,PropertyPayload> node)` Update the children and properties for the node with the information from the persistent store.
`void` | `GraphSession.NodeOperations.materialize(Node persistentNode, GraphSession.Node<Payload,PropertyPayload> node)` Update the children and properties for the node with the information from the persistent store.
`void` | `GraphSession.Operations.materializeProperties(Node persistentNode, GraphSession.Node<NodePayload,PropertyPayload> node)` Update the properties ONLY for the node with the information from the persistent store.
`void` | `GraphSession.NodeOperations.materializeProperties(Node persistentNode, GraphSession.Node<Payload,PropertyPayload> node)` Update the properties ONLY for the node with the information from the persistent store.
`void` | `GraphSession.Node.moveTo(GraphSession.Node<Payload,PropertyPayload> parent)` Move this node from its current location so that is is a child of the supplied parent.
`void` | `GraphSession.Node.moveTo(GraphSession.Node<Payload,PropertyPayload> parent, Name newNodeName)` Move this node from its current location so that is is a child of the supplied parent, renaming the node in the process.
`protected void` | `GraphSession.Node.moveTo(GraphSession.Node<Payload,PropertyPayload> parent, Name newNodeName, boolean useBatch)` Move this node from its current location so that is is a child of the supplied parent.
`void` | `GraphSession.Operations.postCopy(GraphSession.Node<NodePayload,PropertyPayload> original, GraphSession.Node<NodePayload,PropertyPayload> copy)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.Operations.postCopy(GraphSession.Node<NodePayload,PropertyPayload> original, GraphSession.Node<NodePayload,PropertyPayload> copy)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.NodeOperations.postCopy(GraphSession.Node<Payload,PropertyPayload> original, GraphSession.Node<Payload,PropertyPayload> copy)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.NodeOperations.postCopy(GraphSession.Node<Payload,PropertyPayload> original, GraphSession.Node<Payload,PropertyPayload> copy)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.Operations.postCreateChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> newChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child has been added to the supplied parent node.
`void` | `GraphSession.Operations.postCreateChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> newChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child has been added to the supplied parent node.
`void` | `GraphSession.NodeOperations.postCreateChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> childChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child has been added to the supplied parent node.
`void` | `GraphSession.NodeOperations.postCreateChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> childChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child has been added to the supplied parent node.
`void` | `GraphSession.Operations.postMove(GraphSession.Node<NodePayload,PropertyPayload> movedNode, GraphSession.Node<NodePayload,PropertyPayload> oldParentNode)` Notify that an existing child has been moved from the supplied previous parent into its new location.
`void` | `GraphSession.Operations.postMove(GraphSession.Node<NodePayload,PropertyPayload> movedNode, GraphSession.Node<NodePayload,PropertyPayload> oldParentNode)` Notify that an existing child has been moved from the supplied previous parent into its new location.
`void` | `GraphSession.NodeOperations.postMove(GraphSession.Node<Payload,PropertyPayload> movedNode, GraphSession.Node<Payload,PropertyPayload> oldParent)` Notify that an existing child has been moved from the supplied previous parent into its new location.
`void` | `GraphSession.NodeOperations.postMove(GraphSession.Node<Payload,PropertyPayload> movedNode, GraphSession.Node<Payload,PropertyPayload> oldParent)` Notify that an existing child has been moved from the supplied previous parent into its new location.
`void` | `GraphSession.Operations.postRemoveChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> removedChild)` Notify that an existing child has been removed from the supplied parent.
`void` | `GraphSession.Operations.postRemoveChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> removedChild)` Notify that an existing child has been removed from the supplied parent.
`void` | `GraphSession.NodeOperations.postRemoveChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> oldChild)` Notify that an existing child has been removed from the supplied parent.
`void` | `GraphSession.NodeOperations.postRemoveChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> oldChild)` Notify that an existing child has been removed from the supplied parent.
`void` | `GraphSession.Operations.postRemoveProperty(GraphSession.Node<NodePayload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> oldProperty)`
`void` | `GraphSession.NodeOperations.postRemoveProperty(GraphSession.Node<Payload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> oldProperty)`
`void` | `GraphSession.Operations.postSetProperty(GraphSession.Node<NodePayload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> oldProperty)`
`void` | `GraphSession.NodeOperations.postSetProperty(GraphSession.Node<Payload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> oldProperty)`
`void` | `GraphSession.Operations.postUpdateLocation(GraphSession.Node<NodePayload,PropertyPayload> node, Location oldLocation)` Signal that the node's `location` has been changed
`void` | `GraphSession.NodeOperations.postUpdateLocation(GraphSession.Node<Payload,PropertyPayload> node, Location oldLocation)` Signal that the node's `location` has been changed
`void` | `GraphSession.Operations.preCopy(GraphSession.Node<NodePayload,PropertyPayload> original, GraphSession.Node<NodePayload,PropertyPayload> newParentNode)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.Operations.preCopy(GraphSession.Node<NodePayload,PropertyPayload> original, GraphSession.Node<NodePayload,PropertyPayload> newParentNode)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.NodeOperations.preCopy(GraphSession.Node<Payload,PropertyPayload> original, GraphSession.Node<Payload,PropertyPayload> newParent)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.NodeOperations.preCopy(GraphSession.Node<Payload,PropertyPayload> original, GraphSession.Node<Payload,PropertyPayload> newParent)` Notify that an existing child will be copied with the new copy being placed under the supplied parent.
`void` | `GraphSession.Operations.preCreateChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, Path.Segment newChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child with the supplied path segment is about to be created.
`void` | `GraphSession.NodeOperations.preCreateChild(GraphSession.Node<Payload,PropertyPayload> parent, Path.Segment newChild, Map<Name,GraphSession.PropertyInfo<PropertyPayload>> properties)` Notify that a new child with the supplied path segment is about to be created.
`void` | `GraphSession.Operations.preMove(GraphSession.Node<NodePayload,PropertyPayload> nodeToBeMoved, GraphSession.Node<NodePayload,PropertyPayload> newParentNode)` Notify that an existing child will be moved from its current parent and placed under the supplied parent.
`void` | `GraphSession.Operations.preMove(GraphSession.Node<NodePayload,PropertyPayload> nodeToBeMoved, GraphSession.Node<NodePayload,PropertyPayload> newParentNode)` Notify that an existing child will be moved from its current parent and placed under the supplied parent.
`void` | `GraphSession.NodeOperations.preMove(GraphSession.Node<Payload,PropertyPayload> nodeToBeMoved, GraphSession.Node<Payload,PropertyPayload> newParent)` Notify that an existing child will be moved from its current parent and placed under the supplied parent.
`void` | `GraphSession.NodeOperations.preMove(GraphSession.Node<Payload,PropertyPayload> nodeToBeMoved, GraphSession.Node<Payload,PropertyPayload> newParent)` Notify that an existing child will be moved from its current parent and placed under the supplied parent.
`void` | `GraphSession.Operations.preRemoveChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> child)` Notify that an existing child will be removed from the supplied parent.
`void` | `GraphSession.Operations.preRemoveChild(GraphSession.Node<NodePayload,PropertyPayload> parentNode, GraphSession.Node<NodePayload,PropertyPayload> child)` Notify that an existing child will be removed from the supplied parent.
`void` | `GraphSession.NodeOperations.preRemoveChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> newChild)` Notify that an existing child will be removed from the supplied parent.
`void` | `GraphSession.NodeOperations.preRemoveChild(GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.Node<Payload,PropertyPayload> newChild)` Notify that an existing child will be removed from the supplied parent.
`void` | `GraphSession.Operations.preRemoveProperty(GraphSession.Node<NodePayload,PropertyPayload> node, Name propertyName)`
`void` | `GraphSession.NodeOperations.preRemoveProperty(GraphSession.Node<Payload,PropertyPayload> node, Name propertyName)`
`void` | `GraphSession.Operations.preSave(GraphSession.Node<NodePayload,PropertyPayload> node, DateTime saveTime)` Validate a node for consistency and well-formedness.
`void` | `GraphSession.NodeOperations.preSave(GraphSession.Node<Payload,PropertyPayload> node, DateTime saveTime)` Validate a node for consistency and well-formedness.
`void` | `GraphSession.Operations.preSetProperty(GraphSession.Node<NodePayload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> newProperty)`
`void` | `GraphSession.NodeOperations.preSetProperty(GraphSession.Node<Payload,PropertyPayload> node, Name propertyName, GraphSession.PropertyInfo<PropertyPayload> newProperty)`
`protected void` | `GraphSession.put(GraphSession.Node<Payload,PropertyPayload> node)`
`protected void` | `GraphSession.recordDelete(GraphSession.Node<Payload,PropertyPayload> node)` Record the fact that the supplied node is in the process of being deleted, so any cached information (outside of the node object itself) should be cleaned up.
`protected void` | `GraphSession.recordMove(GraphSession.Node<Payload,PropertyPayload> nodeBeingMoved, GraphSession.Node<Payload,PropertyPayload> oldParent, GraphSession.Node<Payload,PropertyPayload> newParent)`
`protected void` | `GraphSession.recordMove(GraphSession.Node<Payload,PropertyPayload> nodeBeingMoved, GraphSession.Node<Payload,PropertyPayload> oldParent, GraphSession.Node<Payload,PropertyPayload> newParent)`
`protected void` | `GraphSession.recordMove(GraphSession.Node<Payload,PropertyPayload> nodeBeingMoved, GraphSession.Node<Payload,PropertyPayload> oldParent, GraphSession.Node<Payload,PropertyPayload> newParent)`
`protected void` | `GraphSession.recordUnloaded(GraphSession.Node<Payload,PropertyPayload> node)` Record the fact that the supplied node is in the process of being unloaded, so any cached information (outside of the node object itself) should be cleaned up.
`void` | `GraphSession.refresh(GraphSession.Node<Payload,PropertyPayload> node, boolean keepChanges)` Refreshes (removes the cached state) for the given node and its descendants.
`void` | `GraphSession.refreshProperties(GraphSession.Node<Payload,PropertyPayload> node)` Refreshes all properties for the given node only.
`boolean` | `GraphSession.RefreshState.requiresRefresh(GraphSession.Node<Payload,PropertyPayload> node)`
`void` | `GraphSession.save(GraphSession.Node<Payload,PropertyPayload> node)` Save any changes to the identified node or its descendants.
`abstract boolean` | `GraphSession.NodeVisitor.visit(GraphSession.Node<NodePayload,PropertyPayloadType> node)` Visit the supplied node, returning whether the children should be visited.
`boolean` | `GraphSession.LoadAllChildrenVisitor.visit(GraphSession.Node<Payload,PropertyPayload> node)` Visit the supplied node, returning whether the children should be visited.

Constructors in org.modeshape.graph.session with parameters of type GraphSession.Node
`GraphSession.Node(GraphSession<Payload,PropertyPayload> cache, GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.NodeId nodeId, Location location)`
`GraphSession.Snapshot(GraphSession.Node<?,PropertyPayload> node, boolean pathsOnly, boolean includeProperties)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.