Uses of Interface
org.jboss.dna.graph.property.Path.Segment

Packages that use Path.Segment
org.jboss.dna.graph The JBoss DNA Graph API defines the types that allow you to work with content organized as a graph. 
org.jboss.dna.graph.connector.map The MapRepository class and its supporting classes provide a default implementation of the connector classes for connectors that support the transient or persistent mapping of a UUID to a standard representation of a node
org.jboss.dna.graph.property Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values. 
org.jboss.dna.graph.property.basic A set of basic implementations of the various interfaces defined in org.jboss.dna.graph.property
org.jboss.dna.graph.request Sometimes its useful to work with a graph using objects that represent individual commands on the graph. 
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 Path.Segment in org.jboss.dna.graph
 

Methods in org.jboss.dna.graph that return types with arguments of type Path.Segment
 List<Path.Segment> Node.getChildrenSegments()
          Get the list of child segments.
 

Methods in org.jboss.dna.graph with parameters of type Path.Segment
 Next Graph.AsChild.as(Path.Segment newSegment)
          Finish the request by specifying the exact segment for the new child node.
 

Uses of Path.Segment in org.jboss.dna.graph.connector.map
 

Methods in org.jboss.dna.graph.connector.map that return Path.Segment
 Path.Segment MapNode.getName()
           
 

Methods in org.jboss.dna.graph.connector.map with parameters of type Path.Segment
 MapNode MapWorkspace.cloneNode(ExecutionContext context, MapNode original, MapWorkspace newWorkspace, MapNode newParent, Name desiredName, Path.Segment desiredSegment, boolean removeExisting, Set<Location> removedExistingNodes)
          This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent.
 MapNode AbstractMapWorkspace.cloneNode(ExecutionContext context, MapNode original, MapWorkspace newWorkspace, MapNode newParent, Name desiredName, Path.Segment desiredSegment, boolean removeExisting, Set<Location> removedExistingNodes)
          This should clone the subgraph given by the original node and place the cloned copy under the supplied new parent.
 void MapNode.setName(Path.Segment name)
           
 

Uses of Path.Segment in org.jboss.dna.graph.property
 

Fields in org.jboss.dna.graph.property declared as Path.Segment
static Path.Segment Path.PARENT_SEGMENT
          Singleton instance of the path segment referencing a parent, provided as a convenience.
static Path.Segment Path.SELF_SEGMENT
          Singleton instance of the path segment referencing a parent, provided as a convenience.
 

Methods in org.jboss.dna.graph.property that return Path.Segment
 Path.Segment PathFactory.createSegment(Name segmentName)
          Create a path segment given the supplied segment name.
 Path.Segment PathFactory.createSegment(Name segmentName, int index)
          Create a path segment given the supplied segment name and index.
 Path.Segment PathFactory.createSegment(String segmentName)
          Create a path segment given the supplied segment name.
 Path.Segment PathFactory.createSegment(String segmentName, int index)
          Create a path segment given the supplied segment name and index.
 Path.Segment PathFactory.createSegment(String segmentName, TextDecoder decoder)
          Create a path segment given the supplied segment name.
 Path.Segment Path.getLastSegment()
          Get the last segment in this path.
 Path.Segment Path.getSegment(int index)
          Get the segment at the supplied index.
 Path.Segment[] Path.getSegmentsArray()
          Obtain a copy of the segments in this path.
 

Methods in org.jboss.dna.graph.property that return types with arguments of type Path.Segment
 List<Path.Segment> Path.getSegmentsList()
          Get an unmodifiable list of the path segments.
 Iterator<Path.Segment> Path.iterator()
          
 

Methods in org.jboss.dna.graph.property with parameters of type Path.Segment
 Path PathFactory.create(Path parentPath, Path.Segment... segments)
          Create a path by appending the supplied names to the parent path.
 Path PathFactory.createAbsolutePath(Path.Segment... segments)
          Create an absolute path with the supplied segments, in order.
 Path PathFactory.createRelativePath(Path.Segment... segments)
          Create a relative path with the supplied segments, in order.
 

Method parameters in org.jboss.dna.graph.property with type arguments of type Path.Segment
 Path PathFactory.create(Path parentPath, Iterable<Path.Segment> segments)
          Create a path by appending the supplied names to the parent path.
 Path PathFactory.createAbsolutePath(Iterable<Path.Segment> segments)
          Create an absolute path with the supplied segments, in order.
 Path PathFactory.createRelativePath(Iterable<Path.Segment> segments)
          Create a relative path with the supplied segments, in order.
 

Uses of Path.Segment in org.jboss.dna.graph.property.basic
 

Classes in org.jboss.dna.graph.property.basic that implement Path.Segment
 class BasicPathSegment
          A basic implementation of Path.Segment.
 

Methods in org.jboss.dna.graph.property.basic that return Path.Segment
 Path.Segment PathValueFactory.createSegment(Name segmentName)
          Create a path segment given the supplied segment name.
 Path.Segment PathValueFactory.createSegment(Name segmentName, int index)
          Create a path segment given the supplied segment name and index.
 Path.Segment PathValueFactory.createSegment(String segmentName)
          Create a path segment given the supplied segment name.
 Path.Segment PathValueFactory.createSegment(String segmentName, int index)
          Create a path segment given the supplied segment name and index.
 Path.Segment PathValueFactory.createSegment(String segmentName, TextDecoder decoder)
           Create a path segment given the supplied segment name.
 Path.Segment RootPath.getLastSegment()
          Get the last segment in this path.
 Path.Segment ChildPath.getLastSegment()
          Get the last segment in this path.
 Path.Segment AbstractPath.getLastSegment()
          Get the last segment in this path.
 Path.Segment RootPath.getSegment(int index)
          Get the segment at the supplied index.
 Path.Segment ChildPath.getSegment(int index)
          Get the segment at the supplied index.
 Path.Segment AbstractPath.getSegment(int index)
          Get the segment at the supplied index.
 Path.Segment[] RootPath.getSegmentsArray()
          Obtain a copy of the segments in this path.
 Path.Segment[] AbstractPath.getSegmentsArray()
          Obtain a copy of the segments in this path.
 

Methods in org.jboss.dna.graph.property.basic that return types with arguments of type Path.Segment
 List<Path.Segment> RootPath.getSegmentsList()
          Get an unmodifiable list of the path segments.
 List<Path.Segment> ChildPath.getSegmentsList()
          Get an unmodifiable list of the path segments.
 List<Path.Segment> BasicPath.getSegmentsList()
          Get an unmodifiable list of the path segments.
 Iterator<Path.Segment> RootPath.iterator()
          
 Iterator<Path.Segment> ChildPath.iterator()
          
 Iterator<Path.Segment> AbstractPath.iterator()
          
 

Methods in org.jboss.dna.graph.property.basic with parameters of type Path.Segment
 int BasicPathSegment.compareTo(Path.Segment that)
          
 Path PathValueFactory.create(Path parentPath, Path.Segment... segments)
          Create a path by appending the supplied names to the parent path.
 Path PathValueFactory.createAbsolutePath(Path.Segment... segments)
          Create an absolute path with the supplied segments, in order.
 Path PathValueFactory.createRelativePath(Path.Segment... segments)
          Create a relative path with the supplied segments, in order.
 

Method parameters in org.jboss.dna.graph.property.basic with type arguments of type Path.Segment
 Path PathValueFactory.create(Path parentPath, Iterable<Path.Segment> segments)
          Create a path by appending the supplied names to the parent path.
 Path PathValueFactory.createAbsolutePath(Iterable<Path.Segment> segments)
          Create an absolute path with the supplied segments, in order.
 Path PathValueFactory.createRelativePath(Iterable<Path.Segment> segments)
          Create a relative path with the supplied segments, in order.
 

Constructors in org.jboss.dna.graph.property.basic with parameters of type Path.Segment
ChildPath(Path parent, Path.Segment child)
           
 

Constructor parameters in org.jboss.dna.graph.property.basic with type arguments of type Path.Segment
BasicPath(List<Path.Segment> segments, boolean absolute)
           
 

Uses of Path.Segment in org.jboss.dna.graph.request
 

Methods in org.jboss.dna.graph.request that return Path.Segment
 Path.Segment CloneBranchRequest.desiredSegment()
          Get the exact segment at which the clone should be rooted
 

Methods in org.jboss.dna.graph.request with parameters of type Path.Segment
 CloneBranchRequest RequestBuilder.cloneBranch(Location from, String fromWorkspace, Location into, String intoWorkspace, Name nameForClone, Path.Segment exactSegmentForClone, boolean removeExisting)
          Add a request to clone a branch to another.
 BatchRequestBuilder BatchRequestBuilder.cloneBranch(Location from, String fromWorkspace, Location into, String intoWorkspace, Name nameForClone, Path.Segment exactSegmentForClone, boolean removeExisting)
          Add a request to clone a branch to another.
 

Constructors in org.jboss.dna.graph.request with parameters of type Path.Segment
CloneBranchRequest(Location from, String fromWorkspace, Location into, String intoWorkspace, Name nameForClone, Path.Segment exactSegmentForClone, boolean removeExisting)
          Create a request to clone a branch to another.
 

Uses of Path.Segment in org.jboss.dna.graph.session
 

Methods in org.jboss.dna.graph.session that return Path.Segment
 Path.Segment GraphSession.Node.getSegment()
          Get the path segment for this node.
 

Methods in org.jboss.dna.graph.session with parameters of type Path.Segment
 GraphSession.Node<Payload,PropertyPayload> GraphSession.Node.getChild(Path.Segment segment)
          Get the child with the supplied segment.
 boolean GraphSession.Node.hasChild(Path.Segment segment)
          Determine whether this node has a child with the supplied name and SNS index.
 void GraphSession.Node.orderChildBefore(Path.Segment childToBeMoved, Path.Segment before)
          Move the specified child to be located immediately before the other supplied node.
 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.
 



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