Uses of Class
org.jboss.dna.graph.session.GraphSession.Node

Packages that use GraphSession.Node
org.jboss.dna.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.jboss.dna.graph.session
 

Methods in org.jboss.dna.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.
 GraphSession.Node<Payload,PropertyPayload> GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath)
          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.
 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.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.
 

Methods in org.jboss.dna.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.
 

Methods in org.jboss.dna.graph.session with parameters of type GraphSession.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.
 GraphSession.Node<Payload,PropertyPayload> GraphSession.findNodeRelativeTo(GraphSession.Node<Payload,PropertyPayload> startingPoint, Path relativePath)
          Find the node with the supplied path relative to another node.
 boolean GraphSession.Node.isAtOrBelow(GraphSession.Node<Payload,PropertyPayload> other)
           
 void GraphSession.Operations.materialize(Node persistentNode, GraphSession.Node<NodePayload,PropertyPayload> node)
          Update the node with the information from the persistent store.
 void GraphSession.NodeOperations.materialize(Node persistentNode, GraphSession.Node<Payload,PropertyPayload> node)
          Update 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.
 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)
          Validate a node for consistency and well-formedness.
 void GraphSession.NodeOperations.preSave(GraphSession.Node<Payload,PropertyPayload> node)
          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)
          
 void GraphSession.refresh(GraphSession.Node<Payload,PropertyPayload> node, boolean keepChanges)
          Refreshes (removes the cached state) for the given node and its descendants.
 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.
 

Constructors in org.jboss.dna.graph.session with parameters of type GraphSession.Node
GraphSession.Node(GraphSession<Payload,PropertyPayload> cache, GraphSession.Node<Payload,PropertyPayload> parent, GraphSession.NodeId nodeId, Location location)
           
 



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