Uses of Class
org.apache.jackrabbit.name.Path

Packages that use Path
org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API. 
org.apache.jackrabbit.core.journal   
org.apache.jackrabbit.core.lock   
org.apache.jackrabbit.core.observation   
org.apache.jackrabbit.core.query   
org.apache.jackrabbit.core.value   
org.apache.jackrabbit.core.xml   
org.apache.jackrabbit.name   
org.apache.jackrabbit.util   
 

Uses of Path in org.apache.jackrabbit.core
 

Methods in org.apache.jackrabbit.core that return Path
 Path CachingHierarchyManager.getPath(ItemId id)
          Returns the path to the given item.

Overridden method simply checks whether we have an item matching the id and returns its path, otherwise calls base implementation.

 Path HierarchyManagerImpl.getPath(ItemId id)
          Returns the path to the given item.
 Path HierarchyManager.getPath(ItemId id)
          Returns the path to the given item.
 Path ItemImpl.getPrimaryPath()
          Returns the primary path to this Item.
 Path SessionImpl.getQPath(String path)
           
 

Methods in org.apache.jackrabbit.core with parameters of type Path
 void 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.
 void BatchedItemOperations.copy(Path srcPath, Path destPath, int flag)
          Copies the tree at srcPath to the new location at destPath.
 ItemImpl ItemManager.getItem(Path path)
           
 String SessionImpl.getJCRPath(Path path)
           
protected  NodeState BatchedItemOperations.getNodeState(ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, Path nodePath)
          Retrieves the state of the node at nodePath using the given item state manager.
 NodeState BatchedItemOperations.getNodeState(Path nodePath)
          Retrieves the state of the node at the given path.
 boolean ItemManager.itemExists(Path path)
          Checks if the item with the given path exists.
 void BatchedItemOperations.move(Path srcPath, Path destPath)
          Moves the tree at srcPath to the new location at destPath.
 void BatchedItemOperations.removeNode(Path nodePath)
          Removes the specified node, recursively removing its properties and child nodes.
 ItemId CachingHierarchyManager.resolvePath(Path path)
          Resolves a path into an item id.

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

Check the path indicated inside our cache first.

 ItemId HierarchyManagerImpl.resolvePath(Path path)
          Resolves a path into an item id.
 ItemId HierarchyManager.resolvePath(Path path)
          Resolves a path into an item id.
protected  ItemId HierarchyManagerImpl.resolvePath(Path path, ItemId id, int next)
          Resolve a path into an item id.
protected  ItemId CachingHierarchyManager.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id.

Cache the intermediate item inside our cache.

protected  ItemId HierarchyManagerImpl.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id.
 String ItemValidator.safeGetJCRPath(Path path)
          Failsafe conversion of internal Path to JCR path for use in error messages etc.
 String HierarchyManagerImpl.safeGetJCRPath(Path path)
          Failsafe conversion of internal Path to JCR path for use in error messages etc.
 void BatchedItemOperations.verifyCanRead(Path nodePath)
          Verifies that the node at nodePath can be read.
 void BatchedItemOperations.verifyCanWrite(Path nodePath)
          Verifies that the node at nodePath is writable.
protected  void BatchedItemOperations.verifyCheckedOut(Path nodePath)
          Verifies that the node at nodePath is checked-out; throws a VersionException if that's not the case.
protected  void BatchedItemOperations.verifyNotProtected(Path nodePath)
          Verifies that the node at nodePath is not protected.
protected  void BatchedItemOperations.verifyUnlocked(Path nodePath)
          Verifies that the node at nodePath is not locked by somebody else than the current session.
 

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

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

Methods in org.apache.jackrabbit.core.journal with parameters of type Path
 void AbstractRecord.writePath(Path path)
          Write a Path to the underlying stream.
 void Record.writePath(Path path)
          Write a Path to the underlying stream.
 

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

Methods in org.apache.jackrabbit.core.lock with parameters of type Path
 void XALockManager.checkLock(Path path, Session session)
          Check whether the path given is locked by somebody else than the session described.
 void LockManagerImpl.checkLock(Path path, Session session)
          Check whether the path given is locked by somebody else than the session described.
 void LockManager.checkLock(Path path, Session session)
          Check whether the path given is locked by somebody else than the session described.
 

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

Methods in org.apache.jackrabbit.core.observation that return Path
 Path EventState.getParentPath()
          Returns the path of the parent node.
 Path EventStateCollection.getPathPrefix()
          Returns the path prefix for this event state collection or null if no path prefix was set in the constructor of this collection.
 Path EventImpl.getQPath()
          Returns the qualified path of this event.
 

Methods in org.apache.jackrabbit.core.observation with parameters of type Path
static EventState EventState.childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path.PathElement childPath, QName 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.PathElement childPath, QName 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.PathElement childPath, QName 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.PathElement childPath, QName nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.NODE_REMOVED.
 EventStateCollection DelegatingObservationDispatcher.createEventStateCollection(SessionImpl session, Path pathPrefix)
          Creates an EventStateCollection tied to the session given as argument.
 void DelegatingObservationDispatcher.dispatch(List eventList, SessionImpl session, Path pathPrefix)
          Dispatchers a list of events to all registered dispatchers.
static EventState EventState.propertyAdded(NodeId parentId, Path parentPath, Path.PathElement childPath, QName nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_ADDED.
static EventState EventState.propertyAdded(NodeId parentId, Path parentPath, Path.PathElement childPath, QName 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.PathElement childPath, QName nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_CHANGED.
static EventState EventState.propertyChanged(NodeId parentId, Path parentPath, Path.PathElement childPath, QName 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.PathElement childPath, QName nodeType, Set mixins, Session session)
          Creates a new Event of type Event.PROPERTY_REMOVED.
static EventState EventState.propertyRemoved(NodeId parentId, Path parentPath, Path.PathElement childPath, QName nodeType, Set mixins, Session session, boolean external)
          Creates a new Event of type Event.PROPERTY_REMOVED.
 

Constructors in org.apache.jackrabbit.core.observation with parameters of type Path
EventStateCollection(org.apache.jackrabbit.core.observation.EventDispatcher dispatcher, SessionImpl session, Path pathPrefix)
          Creates a new empty EventStateCollection.
 

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

Methods in org.apache.jackrabbit.core.query that return Path
 Path RelationQueryNode.getRelativePath()
           
 Path TextsearchQueryNode.getRelativePath()
           
 

Methods in org.apache.jackrabbit.core.query with parameters of type Path
 void RelationQueryNode.setRelativePath(Path relPath)
          Sets the relative path to the property in this relation.
 void TextsearchQueryNode.setRelativePath(Path relPath)
          Sets the relative path to the item where the textsearch is performed.
 

Constructors in org.apache.jackrabbit.core.query with parameters of type Path
RelationQueryNode(QueryNode parent, Path relPath, Date value, int operation)
          Creates a new RelationQueryNode with a Date value and an operation type.
RelationQueryNode(QueryNode parent, Path relPath, double value, int operation)
          Creates a new RelationQueryNode with a double value and an operation type.
RelationQueryNode(QueryNode parent, Path relPath, long value, int operation)
          Creates a new RelationQueryNode with a long value and an operation type.
RelationQueryNode(QueryNode parent, Path relPath, String value, int operation)
          Creates a new RelationQueryNode with a String value and an operation type.
TextsearchQueryNode(QueryNode parent, String query, Path relPath, boolean isProperty)
          Creates a new TextsearchQueryNode with a parent and a textsearch query statement.
 

Uses of Path in org.apache.jackrabbit.core.value
 

Methods in org.apache.jackrabbit.core.value with parameters of type Path
static InternalValue InternalValue.create(Path value)
           
 

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

Constructors in org.apache.jackrabbit.core.xml with parameters of type Path
WorkspaceImporter(Path parentPath, WorkspaceImpl wsp, NodeTypeRegistry ntReg, int uuidBehavior)
          Creates a new WorkspaceImporter instance.
 

Uses of Path in org.apache.jackrabbit.name
 

Fields in org.apache.jackrabbit.name declared as Path
static Path Path.ROOT
          the root path
 

Methods in org.apache.jackrabbit.name that return Path
 Path Path.computeRelativePath(Path other)
          Computes the relative path from this absolute path to other.
static Path Path.create(Path parent, Path relPath, boolean normalize)
          Creates a new Path out of the given parent path string and the given relative path string.
static Path Path.create(Path parent, QName name, boolean normalize)
          Creates a new Path out of the given parent path string and the give name.
static Path Path.create(Path parent, QName name, int index, boolean normalize)
          Creates a new Path out of the given parent path and the give name and index.
static Path Path.create(Path parent, String relJCRPath, NamespaceResolver resolver, boolean canonicalize)
          Deprecated. Use PathFormat.parse(Path, String, NamespaceResolver) instead.
static Path Path.create(QName name, int index)
          Creates a relative path based on a QName and an index.
static Path Path.create(String jcrPath, NamespaceResolver resolver, boolean normalize)
          Deprecated. Use PathFormat#parse(String, NamespaceResolver)} instead.
 Path Path.getAncestor(int degree)
          Returns the ancestor path of the specified relative degree.
 Path Path.getCanonicalPath()
          Returns the canonical path representation of this path.
 Path Path.getNormalizedPath()
          Returns the normalized path representation of this path.
 Path Path.PathBuilder.getPath()
          Assembles the built path and returns a new Path.
 Path CachingPathResolver.getQPath(String path)
          Returns the qualified path for the given prefixed JCR path.
 Path ParsingPathResolver.getQPath(String path)
          Parses the prefixed JCR path and returns the resolved qualified path.
 Path PathResolver.getQPath(String path)
          Returns the qualified path for the given prefixed JCR path.
static Path PathFormat.parse(Path parent, String jcrPath, NamespaceResolver resolver)
          Parses the give jcrPath and returns a Path.
static Path PathFormat.parse(String jcrPath, NamespaceResolver resolver)
          Parses jcrPath into a qualified path using resolver to convert prefixes into namespace URI's.
static Path Path.valueOf(String s)
          Returns a Path holding the value of the specified string.
 

Methods in org.apache.jackrabbit.name with parameters of type Path
 Path Path.computeRelativePath(Path other)
          Computes the relative path from this absolute path to other.
static Path Path.create(Path parent, Path relPath, boolean normalize)
          Creates a new Path out of the given parent path string and the given relative path string.
static Path Path.create(Path parent, QName name, boolean normalize)
          Creates a new Path out of the given parent path string and the give name.
static Path Path.create(Path parent, QName name, int index, boolean normalize)
          Creates a new Path out of the given parent path and the give name and index.
static Path Path.create(Path parent, String relJCRPath, NamespaceResolver resolver, boolean canonicalize)
          Deprecated. Use PathFormat.parse(Path, String, NamespaceResolver) instead.
static String PathFormat.format(Path path, NamespaceResolver resolver)
          Returns a string representation of the qualified path in the JCR path format.
 String CachingPathResolver.getJCRPath(Path qpath)
          Returns the prefixed JCR path for the given qualified path.
 String ParsingPathResolver.getJCRPath(Path path)
          Returns the prefixed JCR path for the given qualified path.
 String PathResolver.getJCRPath(Path path)
          Returns the prefixed JCR path for the given qualified path.
 boolean Path.isAncestorOf(Path other)
          Determines if this path is an ancestor of the specified path, based on their (absolute or relative) hierarchy level as returned by getDepth().
 boolean Path.isDescendantOf(Path other)
          Determines if this path is a descendant of the specified path, based on their (absolute or relative) hierarchy level as returned by getDepth().
static Path PathFormat.parse(Path parent, String jcrPath, NamespaceResolver resolver)
          Parses the give jcrPath and returns a Path.
 

Constructors in org.apache.jackrabbit.name with parameters of type Path
Path.PathBuilder(Path parent)
          Creates a new PathBuilder and initialized it with elements of the given path.
 

Uses of Path in org.apache.jackrabbit.util
 

Methods in org.apache.jackrabbit.util that return Path
 Path PathMap.Element.getPath()
          Return the path of this element.
 

Methods in org.apache.jackrabbit.util with parameters of type Path
 PathMap.Element PathMap.Element.getDescendant(Path relPath, boolean exact)
          Map a relPath starting at this Element.
 boolean PathMap.Element.hasPath(Path path)
          Checks whether this element has the specified path.
 PathMap.Element PathMap.map(Path path, boolean exact)
          Map a path to a child.
 PathMap.Element PathMap.put(Path path)
          Create an empty child given by its path.
 PathMap.Element PathMap.put(Path path, Object obj)
          Create an element given by its path.
 void PathMap.put(Path path, PathMap.Element element)
          Put an element given by its path.
 



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