Uses of Interface
org.apache.jackrabbit.spi.Path
-
-
Uses of Path in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that return Path Modifier and Type Method Description Path
CachingHierarchyManager. getPath(ItemId id)
Returns the path to the given item.Path
HierarchyManager. getPath(ItemId id)
Returns the path to the given item.Path
HierarchyManagerImpl. getPath(ItemId id)
Returns the path to the given item.Path
SessionImpl. getPath(String identifier)
Path
ItemImpl. getPrimaryPath()
Returns the primary path to thisItem
.Path
NodeImpl. getPrimaryPath()
Returns the primary path to thisItem
.Path
SessionImpl. getQPath(String path)
Path
SessionImpl. getQPath(String path, boolean normalizeIdentifier)
Methods in org.apache.jackrabbit.core with parameters of type Path Modifier and Type Method Description NodeId
BatchedItemOperations. clone(Path srcPath, Path destPath)
Clones the subtree at the nodesrcAbsPath
in to the new location atdestAbsPath
.NodeId
BatchedItemOperations. copy(Path srcPath, ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, AccessManager srcAccessMgr, Path destPath, int flag)
Copies the tree atsrcPath
retrieved using the specifiedsrcStateMgr
to the new location atdestPath
.NodeId
BatchedItemOperations. copy(Path srcPath, Path destPath, int flag)
Copies the tree atsrcPath
to the new location atdestPath
.ItemImpl
ItemManager. getItem(Path path)
Deprecated.As of JSR 283, aPath
doesn't anymore uniquely identify anItem
, thereforeItemManager.getNode(Path)
andItemManager.getProperty(Path)
should be used instead.String
SessionImpl. getJCRPath(Path path)
NodeImpl
ItemManager. getNode(Path path)
protected NodeState
BatchedItemOperations. getNodeState(ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, Path nodePath)
Retrieves the state of the node atnodePath
using the given item state manager.NodeState
BatchedItemOperations. getNodeState(Path nodePath)
Retrieves the state of the node at the given path.PropertyImpl
ItemManager. getProperty(Path path)
boolean
ItemManager. itemExists(Path path)
Deprecated.As of JSR 283, aPath
doesn't anymore uniquely identify anItem
, thereforeItemManager.nodeExists(Path)
andItemManager.propertyExists(Path)
should be used instead.NodeId
BatchedItemOperations. move(Path srcPath, Path destPath)
Moves the tree atsrcPath
to the new location atdestPath
.boolean
ItemManager. nodeExists(Path path)
Checks whether a node exists at the specified path.boolean
ItemManager. propertyExists(Path path)
Checks whether a property exists at the specified path.void
BatchedItemOperations. removeNode(Path nodePath)
Removes the specified node, recursively removing its properties and child nodes.NodeId
HierarchyManager. resolveNodePath(Path path)
Resolves a path into a node id.NodeId
HierarchyManagerImpl. resolveNodePath(Path path)
Resolves a path into a node id.protected ItemId
CachingHierarchyManager. resolvePath(Path path, int typesAllowed)
Internal implementation ofHierarchyManagerImpl.resolvePath(Path)
that will either resolve to a node or a property.ItemId
HierarchyManager. resolvePath(Path path)
Deprecated.As of JSR 283, aPath
doesn't anymore uniquely identify anItem
, thereforeHierarchyManager.resolveNodePath(Path)
andHierarchyManager.resolvePropertyPath(Path)
should be used instead.ItemId
HierarchyManagerImpl. resolvePath(Path path)
Resolves a path into an item id.protected ItemId
HierarchyManagerImpl. resolvePath(Path path, int typesAllowed)
Internal implementation ofHierarchyManagerImpl.resolvePath(Path)
that will either resolve to a node or a property.PropertyId
HierarchyManager. resolvePropertyPath(Path path)
Resolves a path into a property id.PropertyId
HierarchyManagerImpl. resolvePropertyPath(Path path)
Resolves a path into a property id.String
ItemValidator. safeGetJCRPath(Path path)
Failsafe conversion of internalPath
to JCR path for use in error messages etc.void
BatchedItemOperations. verifyCanRead(Path nodePath)
Verifies that the node atnodePath
can be read.void
BatchedItemOperations. verifyCanWrite(Path nodePath)
Verifies that the node atnodePath
is writable.protected void
BatchedItemOperations. verifyCheckedOut(Path nodePath)
Verifies that the node atnodePath
is checked-out; throws aVersionException
if that's not the case.protected void
BatchedItemOperations. verifyNotProtected(Path nodePath)
Verifies that the node atnodePath
is not protected.protected void
BatchedItemOperations. verifyUnlocked(Path nodePath)
Verifies that the node atnodePath
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 Modifier and Type Method Description Path
AbstractRecord. readPath()
Read aPath
from the underlying stream.Path
Record. readPath()
Read aPath
from the underlying stream.Path
AbstractRecord. readPathElement()
Read a named path element from the underlying stream.Path
Record. readPathElement()
Read a named path element from the underlying stream.Methods in org.apache.jackrabbit.core.journal with parameters of type Path Modifier and Type Method Description void
AbstractRecord. writePath(Path path)
Write aPath
to the underlying stream.void
Record. writePath(Path path)
Write aPath
to the underlying stream.void
AbstractRecord. writePathElement(Path path)
Write aPath.Element
to the underlying stream.void
Record. writePathElement(Path element)
Write aPath.Element
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 Modifier and Type Method Description void
LockManager. 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
XALockManager. 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 Modifier and Type Method Description Path
EventState. getChildRelPath()
Path
EventState. getParentPath()
Returns the path of the parent node.Path
EventStateCollection. getPathPrefix()
Returns the path prefix for this event state collection ornull
if no path prefix was set in the constructor of this collection.Path
EventImpl. getQPath()
Returns thePath
of this event.Methods in org.apache.jackrabbit.core.observation with parameters of type Path Modifier and Type Method Description static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeAdded(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.NODE_ADDED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.NODE_REMOVED
.static EventState
EventState. childNodeRemoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.NODE_REMOVED
.EventStateCollection
DelegatingObservationDispatcher. createEventStateCollection(SessionImpl session, Path pathPrefix)
Creates anEventStateCollection
tied to the session given as argument.void
DelegatingObservationDispatcher. dispatch(List<EventState> eventList, SessionImpl session, Path pathPrefix, String userData)
Dispatchers a list of events to all registered dispatchers.static EventState
EventState. nodeMoved(NodeId parentId, Path parentPath, NodeId childId, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. nodeReordered(NodeId parentId, Path parentPath, NodeId childId, Path destChildPath, Path srcChildPath, Path beforeChildPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyAdded(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_ADDED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyChanged(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_CHANGED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.static EventState
EventState. propertyRemoved(NodeId parentId, Path parentPath, Path childPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeEvent.PROPERTY_REMOVED
.Constructors in org.apache.jackrabbit.core.observation with parameters of type Path Constructor Description EventStateCollection(org.apache.jackrabbit.core.observation.EventDispatcher dispatcher, SessionImpl session, Path pathPrefix)
Creates a new emptyEventStateCollection
. -
Uses of Path in org.apache.jackrabbit.core.query
Methods in org.apache.jackrabbit.core.query with parameters of type Path Modifier and Type Method Description abstract void
OnWorkspaceInconsistency. handleMissingChildNode(NoSuchItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)
Handle a missing child node state.void
OnWorkspaceInconsistency. logError(ItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)
Logs a generic workspace inconsistency error. -
Uses of Path in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as Path Modifier and Type Field Description protected static Path
SearchIndex. JCR_SYSTEM_PATH
The path/jcr:system
.protected Path[]
SingleColumnQueryResult. orderProps
The relative paths of properties to use for ordering the result set.protected static Path
SearchIndex. ROOT_PATH
The path of the root node.Methods in org.apache.jackrabbit.core.query.lucene that return Path Modifier and Type Method Description protected Path
SearchIndex. getRelativePath(NodeState nodeState, PropertyState propState)
Returns the relative path fromnodeState
topropState
.Methods in org.apache.jackrabbit.core.query.lucene with parameters of type Path Modifier and Type Method Description protected void
NodeIndexer. addPathValue(Document doc, String fieldName, Path internalValue)
Adds the path value to the document as the named field.protected SortField[]
SearchIndex. createSortFields(Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs)
Creates the SortFields for the order properties.MultiColumnQueryHits
SearchIndex. executeQuery(SessionImpl session, AbstractQueryImpl queryImpl, Query query, Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs, long resultFetchHint)
Executes the query on the search index.String
AbstractNamespaceMappings. translatePath(Path path)
Translates a path into a search index private namespace mapping.String
NamespaceMappings. translatePath(Path path)
Translates a path into a search index private namespace mapping.Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type Path Constructor Description SingleColumnQueryResult(SearchIndex index, SessionContext sessionContext, AbstractQueryImpl queryImpl, Query query, org.apache.jackrabbit.core.query.lucene.SpellSuggestion spellSuggestion, ColumnImpl[] columns, Path[] orderProps, boolean[] orderSpecs, String[] orderFuncs, boolean documentOrder, long offset, long limit)
-
Uses of Path in org.apache.jackrabbit.core.query.lucene.join
Constructors in org.apache.jackrabbit.core.query.lucene.join with parameters of type Path Constructor Description AncestorPathNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, Path relPath, HierarchyManager hmgr)
Creates an ancestor path node join.DescendantPathNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, Path relPath, HierarchyManager hmgr)
Creates a new descendant path node join condition. -
Uses of Path in org.apache.jackrabbit.core.retention
Methods in org.apache.jackrabbit.core.retention with parameters of type Path Modifier and Type Method Description boolean
RetentionRegistry. hasEffectiveHold(Path nodePath, boolean checkParent)
boolean
RetentionRegistryImpl. hasEffectiveHold(Path nodePath, boolean checkParent)
boolean
RetentionRegistry. hasEffectiveRetention(Path nodePath, boolean checkParent)
boolean
RetentionRegistryImpl. hasEffectiveRetention(Path nodePath, boolean checkParent)
-
Uses of Path in org.apache.jackrabbit.core.security
Methods in org.apache.jackrabbit.core.security with parameters of type Path Modifier and Type Method Description boolean
AccessManager. canRead(Path itemPath, ItemId itemId)
Determines whether the item with the specifieditemPath
oritemId
can be read.boolean
DefaultAccessManager. canRead(Path itemPath, ItemId itemId)
void
AccessManager. checkPermission(Path absPath, int permissions)
Determines whether the specifiedpermissions
are granted on the item with the specifiedid
(i.e.void
DefaultAccessManager. checkPermission(Path absPath, int permissions)
boolean
AccessManager. isGranted(Path absPath, int permissions)
Determines whether the specifiedpermissions
are granted on the item with the specifiedabsPath
(i.e.boolean
AccessManager. isGranted(Path parentPath, Name childName, int permissions)
Determines whether the specifiedpermissions
are granted on an item represented by the combination of the givenparentPath
andchildName
(i.e.boolean
DefaultAccessManager. isGranted(Path absPath, int permissions)
boolean
DefaultAccessManager. isGranted(Path parentPath, Name childName, int permissions)
-
Uses of Path in org.apache.jackrabbit.core.security.authorization
Methods in org.apache.jackrabbit.core.security.authorization with parameters of type Path Modifier and Type Method Description protected abstract AbstractCompiledPermissions.Result
AbstractCompiledPermissions. buildResult(Path absPath)
Retrieve the result for the specified path.boolean
CompiledPermissions. canRead(Path itemPath, ItemId itemId)
Returnstrue
if READ permission is granted for the existing item with the givenPath
and/orItemId
.AccessControlPolicy[]
AccessControlProvider. getEffectivePolicies(Path absPath, CompiledPermissions permissions)
Returns the effective policies for the node at the given absPath.int
AbstractCompiledPermissions. getPrivileges(Path absPath)
int
CompiledPermissions. getPrivileges(Path absPath)
Deprecated.UseCompiledPermissions.getPrivilegeSet(Path)
instead.Set<Privilege>
AbstractCompiledPermissions. getPrivilegeSet(Path absPath)
Set<Privilege>
CompiledPermissions. getPrivilegeSet(Path absPath)
Returns thePrivilege
s granted by the underlying policy at the givenabsPath
.AbstractCompiledPermissions.Result
AbstractCompiledPermissions. getResult(Path absPath)
boolean
AbstractCompiledPermissions. grants(Path absPath, int permissions)
boolean
CompiledPermissions. grants(Path absPath, int permissions)
Returnstrue
if the specified permissions are granted on the item identified by the givenpath
.boolean
AbstractCompiledPermissions. hasPrivileges(Path absPath, Privilege... privileges)
boolean
CompiledPermissions. hasPrivileges(Path absPath, Privilege... privileges)
Returnstrue
if the given privileges are granted at the specifiedabsPath
.boolean
AbstractAccessControlProvider. isAcItem(Path absPath)
boolean
AccessControlUtils. isAcItem(Path absPath)
Test if the specified path points to an item that defines AC information. -
Uses of Path in org.apache.jackrabbit.core.security.authorization.acl
Methods in org.apache.jackrabbit.core.security.authorization.acl with parameters of type Path Modifier and Type Method Description AccessControlPolicy[]
ACLProvider. getEffectivePolicies(Path absPath, CompiledPermissions permissions)
-
Uses of Path in org.apache.jackrabbit.core.security.authorization.combined
Methods in org.apache.jackrabbit.core.security.authorization.combined with parameters of type Path Modifier and Type Method Description AccessControlPolicy[]
CombinedProvider. getEffectivePolicies(Path absPath, CompiledPermissions permissions)
boolean
CombinedProvider. isAcItem(Path absPath)
-
Uses of Path in org.apache.jackrabbit.core.security.authorization.principalbased
Methods in org.apache.jackrabbit.core.security.authorization.principalbased with parameters of type Path Modifier and Type Method Description AccessControlPolicy[]
ACLProvider. getEffectivePolicies(Path absPath, CompiledPermissions permissions)
-
Uses of Path in org.apache.jackrabbit.core.security.simple
Methods in org.apache.jackrabbit.core.security.simple with parameters of type Path Modifier and Type Method Description boolean
SimpleAccessManager. canRead(Path itemPath, ItemId itemId)
void
SimpleAccessManager. checkPermission(Path absPath, int permissions)
Determines whether the specifiedpermissions
are granted on the item with the specifiedid
(i.e.boolean
SimpleAccessManager. isGranted(Path absPath, int permissions)
boolean
SimpleAccessManager. isGranted(Path parentPath, Name childName, int permissions)
-
Uses of Path in org.apache.jackrabbit.core.security.user
Methods in org.apache.jackrabbit.core.security.user with parameters of type Path Modifier and Type Method Description AccessControlPolicy[]
UserAccessControlProvider. getEffectivePolicies(Path absPath, CompiledPermissions permissions)
boolean
UserAccessControlProvider. isAcItem(Path absPath)
Always returns false, since this ac provider does not use content stored in items to evaluate AC information. -
Uses of Path in org.apache.jackrabbit.core.session
Methods in org.apache.jackrabbit.core.session that return Path Modifier and Type Method Description Path
SessionContext. getQPath(String path)
Path
SessionContext. getQPath(String path, boolean normalizeIdentifier)
Methods in org.apache.jackrabbit.core.session with parameters of type Path Modifier and Type Method Description String
SessionContext. getJCRPath(Path path)
protected abstract T
SessionItemOperation. perform(ItemManager manager, Path path)
Performs this operation using the given item manager. -
Uses of Path in org.apache.jackrabbit.core.value
Methods in org.apache.jackrabbit.core.value with parameters of type Path Modifier and Type Method Description static InternalValue
InternalValue. create(Path value)
QValue
InternalValueFactory. create(Path value)
-
Uses of Path in org.apache.jackrabbit.core.xml
Constructors in org.apache.jackrabbit.core.xml with parameters of type Path Constructor Description WorkspaceImporter(Path parentPath, WorkspaceImpl wsp, SessionContext sessionContext, int uuidBehavior)
Creates a newWorkspaceImporter
instance.WorkspaceImporter(Path parentPath, WorkspaceImpl wsp, SessionContext sessionContext, int uuidBehavior, ImportConfig config)
Creates a newWorkspaceImporter
instance. -
Uses of Path in org.apache.jackrabbit.jcr2spi
Methods in org.apache.jackrabbit.jcr2spi with parameters of type Path Modifier and Type Method Description EventFilter
WorkspaceManager. createEventFilter(int eventTypes, Path path, boolean isDeep, String[] uuids, Name[] nodeTypes, boolean noLocal)
Creates an event filter based on the parameters available inObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
.Node
ItemManager. getNode(Path path)
Node
ItemManagerImpl. getNode(Path path)
Property
ItemManager. getProperty(Path path)
Property
ItemManagerImpl. getProperty(Path path)
boolean
WorkspaceManager. isGranted(NodeState parentState, Path relPath, String[] actions)
boolean
ItemManager. nodeExists(Path path)
Checks if the node with the given path exists.boolean
ItemManagerImpl. nodeExists(Path path)
boolean
ItemManager. propertyExists(Path path)
Checks if the property with the given path exists.boolean
ItemManagerImpl. propertyExists(Path path)
-
Uses of Path in org.apache.jackrabbit.jcr2spi.hierarchy
Methods in org.apache.jackrabbit.jcr2spi.hierarchy that return Path Modifier and Type Method Description Path
HierarchyEntry. getPath()
Path
HierarchyEntry. getWorkspacePath()
Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type Path Modifier and Type Method Description NodeEntry
NodeEntry. getDeepNodeEntry(Path path)
Traverse the tree below this entry and return the child entry matching the given path.NodeEntry
NodeEntryImpl. getDeepNodeEntry(Path path)
PropertyEntry
NodeEntry. getDeepPropertyEntry(Path path)
Traverse the tree below this entry and return the child entry matching the given path.PropertyEntry
NodeEntryImpl. getDeepPropertyEntry(Path path)
NodeEntry
HierarchyManager. getNodeEntry(Path qPath)
Resolves a path into aNodeEntry
.NodeEntry
HierarchyManagerImpl. getNodeEntry(Path qPath)
NodeState
HierarchyManager. getNodeState(Path qPath)
Retrieves theNodeEntry
corresponding to the given path and resolves it to the underlyingNodeState
.NodeState
HierarchyManagerImpl. getNodeState(Path qPath)
PropertyEntry
HierarchyManager. getPropertyEntry(Path qPath)
Resolves a path into aPropertyEntry
.PropertyEntry
HierarchyManagerImpl. getPropertyEntry(Path qPath)
PropertyState
HierarchyManager. getPropertyState(Path qPath)
Retrieves thePropertyEntry
corresponding to the given path and resolves it to the underlyingPropertyState
.PropertyState
HierarchyManagerImpl. getPropertyState(Path qPath)
HierarchyEntry
HierarchyManager. lookup(Path workspacePath)
Lookup ofHierarchyEntry
by its workspace path that may be different if a entry (or any of its ancestors) has been transiently moved or reordered.HierarchyEntry
HierarchyManagerImpl. lookup(Path workspacePath)
HierarchyEntry
NodeEntry. lookupDeepEntry(Path workspacePath)
Traverse the tree below this entry and return the child entry matching the given 'workspacePath', i.e.HierarchyEntry
NodeEntryImpl. lookupDeepEntry(Path workspacePath)
-
Uses of Path in org.apache.jackrabbit.jcr2spi.operation
Methods in org.apache.jackrabbit.jcr2spi.operation that return Path Modifier and Type Method Description Path
Restore. getRelativePath()
Relative path to the non-existing restore target ornull
if the state identified byRestore.getNodeId()
is the target.Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type Path Modifier and Type Method Description static Operation
Clone. create(Path srcPath, Path destPath, String srcWorkspaceName, boolean removeExisting, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)
static Operation
Copy. create(Path srcPath, Path destPath, String srcWorkspaceName, ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)
static Operation
Move. create(Path srcPath, Path destPath, HierarchyManager hierMgr, PathResolver resolver, boolean sessionMove)
static Operation
ReorderNodes. create(NodeState parentState, Path srcPath, Path beforePath)
static Operation
Restore. create(NodeState nodeState, Path relQPath, NodeState versionState, boolean removeExisting)
protected static NodeState
AbstractOperation. getNodeState(Path nodePath, HierarchyManager hierMgr)
-
Uses of Path in org.apache.jackrabbit.jcr2spi.security
Methods in org.apache.jackrabbit.jcr2spi.security with parameters of type Path Modifier and Type Method Description boolean
AccessManager. isGranted(NodeState parentState, Path relPath, String[] actions)
Determines whether the specifiedpermissions
are granted on the item with the specified path. -
Uses of Path in org.apache.jackrabbit.jcr2spi.state
Methods in org.apache.jackrabbit.jcr2spi.state that return Path Modifier and Type Method Description Path
ItemState. getPath()
Utility method: Returns the path of this item state. -
Uses of Path in org.apache.jackrabbit.jcr2spi.util
Methods in org.apache.jackrabbit.jcr2spi.util with parameters of type Path Modifier and Type Method Description static String
LogUtil. safeGetJCRPath(Path qPath, PathResolver pathResolver)
Failsafe conversion of internalPath
to JCR path for use in error messages etc. -
Uses of Path in org.apache.jackrabbit.jcr2spi.version
Methods in org.apache.jackrabbit.jcr2spi.version with parameters of type Path Modifier and Type Method Description void
VersionManager. restore(NodeState nodeState, Path relativePath, NodeState versionState, boolean removeExisting)
void
VersionManagerImpl. restore(NodeState nodeState, Path relativePath, NodeState versionState, boolean removeExisting)
-
Uses of Path in org.apache.jackrabbit.jcr2spi.xml
Constructors in org.apache.jackrabbit.jcr2spi.xml with parameters of type Path Constructor Description SessionImporter(Path parentPath, SessionImpl session, SessionItemStateManager stateManager, int uuidBehavior)
Creates a newWorkspaceImporter
instance. -
Uses of Path in org.apache.jackrabbit.spi
Methods in org.apache.jackrabbit.spi that return Path Modifier and Type Method Description Path
Path. computeRelativePath(Path other)
Computes the relative path fromthis
absolute path toother
.Path
PathFactory. create(String pathString)
Returns aPath
holding the value of the specified string.Path
PathFactory. create(Name name)
Creates a relative path based on aName
.Path
PathFactory. create(Name name, int index)
Creates a relative path based on aName
and a normalized index.Path
PathFactory. create(Path.Element element)
Creates a path from the given element.Path
PathFactory. create(Path.Element[] elements)
Create a newPath
from the given elements.Path
PathFactory. create(Path parent, Name name, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name.Path
PathFactory. create(Path parent, Name name, int index, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name and normalized index.Path
PathFactory. create(Path parent, Path relPath, boolean normalize)
Return a newPath
out of the givenparent
path and the given relative path.Path
Path. getAncestor(int degree)
Normalizes this path and returns the ancestor path of the specified relative degree.Path
Path. getCanonicalPath()
Returns the canonical path representation of this path.Path
Path. getFirstElements()
Returns a path that consists of all but the last element of this path.Path
Path. getLastElement()
Returns a path that consists of only the last element of this path.Path
Path. getNormalizedPath()
Returns the normalized path representation of this path.Path
Event. getPath()
Path
ItemId. getPath()
Path
ItemInfo. getPath()
Returns thePath
of the item represented by thisItemInfo
.Path
QValue. getPath()
Returns aPath
representation of this value.Path
PathFactory. getRootPath()
Return thePath
of the root node.Path
Path. resolve(Path relative)
Resolves the given path against this path.Path
Path. resolve(Path.Element element)
Resolves the given path element against this path.Path
Path. subPath(int from, int to)
Returns a newPath
consisting of those Path.Element objects between the givenfrom
, inclusive, and the givento
, exclusive.Methods in org.apache.jackrabbit.spi with parameters of type Path Modifier and Type Method Description Path
Path. computeRelativePath(Path other)
Computes the relative path fromthis
absolute path toother
.Path
PathFactory. create(Path parent, Name name, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name.Path
PathFactory. create(Path parent, Name name, int index, boolean normalize)
Creates a newPath
out of the givenparent
path and the give name and normalized index.Path
PathFactory. create(Path parent, Path relPath, boolean normalize)
Return a newPath
out of the givenparent
path and the given relative path.QValue
QValueFactory. create(Path value)
Create a newQValue
with typePropertyType.PATH
.EventFilter
RepositoryService. createEventFilter(SessionInfo sessionInfo, int eventTypes, Path absPath, boolean isDeep, String[] uuid, Name[] nodeTypeName, boolean noLocal)
Creates an event filter.NodeId
IdFactory. createNodeId(String uniqueID, Path path)
Creates a newNodeId
from the given unique id (which identifies an ancestorNode
) and the givenPath
object.NodeId
IdFactory. createNodeId(NodeId parentId, Path path)
Creates a newNodeId
from the given parent id and the givenPath
object.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()
boolean
Path. isEquivalentTo(Path other)
Determines if the theother
path would be equal tothis
path if both of them are normalized.Path
Path. resolve(Path relative)
Resolves the given path against this path. -
Uses of Path in org.apache.jackrabbit.spi.commons
Methods in org.apache.jackrabbit.spi.commons that return Path Modifier and Type Method Description Path
EventFilterImpl. getAbsPath()
Path
EventImpl. getPath()
Path
ItemInfoImpl. getPath()
Returns thePath
of the item represented by thisItemInfo
.Methods in org.apache.jackrabbit.spi.commons with parameters of type Path Modifier and Type Method Description ItemInfoBuilder.PropertyInfoBuilder
ItemInfoBuilder.PropertyInfoBuilder. addValue(Path value)
Add aPropertyType.PATH
value to this property.EventFilter
AbstractRepositoryService. createEventFilter(SessionInfo sessionInfo, int eventTypes, Path absPath, boolean isDeep, String[] uuid, Name[] nodeTypeName, boolean noLocal)
ItemInfoBuilder.NodeInfoBuilder
ItemInfoBuilder.NodeInfoBuilder. setParentPath(Path parentPath)
Set the parent's path of the nodeConstructors in org.apache.jackrabbit.spi.commons with parameters of type Path Constructor Description EventFilterImpl(int eventTypes, Path absPath, boolean isDeep, String[] uuids, Set<Name> nodeTypeNames, boolean noLocal)
Creates a newEventFilterImpl
.EventImpl(int type, Path path, ItemId itemId, NodeId parentId, Name primaryNodeTypeName, Name[] mixinTypeNames, String userId)
Deprecated.EventImpl(int type, Path path, ItemId itemId, NodeId parentId, Name primaryNodeTypeName, Name[] mixinTypeNames, String userId, String userData, long timestamp, Map<Name,QValue> info)
Creates a new serializable event.ItemInfoImpl(NodeId parentId, Name name, Path path, boolean isNode)
Deprecated.UseItemInfoImpl(Path, boolean)
instead.ItemInfoImpl(Path path, boolean isNode)
Creates a new item info from the given name, path and boolean flag.NodeInfoImpl(NodeId parentId, Name name, Path path, NodeId id, int index, Name primaryTypeName, Name[] mixinNames, Iterator<PropertyId> references, Iterator<PropertyId> propertyIds, Iterator<ChildInfo> childInfos)
Deprecated.NodeInfoImpl(Path path, NodeId id, int index, Name primaryTypeName, Name[] mixinNames, Iterator<PropertyId> references, Iterator<PropertyId> propertyIds, Iterator<ChildInfo> childInfos)
Creates a new node info from the given parameters.PropertyInfoImpl(NodeId parentId, Name name, Path path, PropertyId id, int type, boolean isMultiValued, QValue[] values)
Deprecated.PropertyInfoImpl(Path path, PropertyId id, int type, boolean isMultiValued, QValue[] values)
Creates a new property info for the given parameters. -
Uses of Path in org.apache.jackrabbit.spi.commons.batch
Methods in org.apache.jackrabbit.spi.commons.batch that return Path Modifier and Type Method Description protected static Path
ConsolidatingChangeLog. getPath(ItemId itemId)
protected static Path
ConsolidatingChangeLog. getPath(NodeId parentId, Name name)
-
Uses of Path in org.apache.jackrabbit.spi.commons.conversion
Methods in org.apache.jackrabbit.spi.commons.conversion that return Path Modifier and Type Method Description Path
IdentifierResolver. getPath(String identifier)
Path
CachingPathResolver. getQPath(String path)
Returns thePath
object for the given JCR path String.Path
CachingPathResolver. getQPath(String path, boolean normalizeIdentifier)
Path
DefaultNamePathResolver. getQPath(String path)
Path
DefaultNamePathResolver. getQPath(String path, boolean normalizeIdentifier)
Path
ParsingPathResolver. getQPath(String jcrPath)
Parses the given JCR path into aPath
object.Path
ParsingPathResolver. getQPath(String jcrPath, boolean normalizeIdentifier)
CallsPathParser.parse(String, NameResolver, IdentifierResolver, org.apache.jackrabbit.spi.PathFactory)
from the givenjcrPath
.Path
PathResolver. getQPath(String path)
Returns the path object for the given JCR path string.Path
PathResolver. getQPath(String path, boolean normalizeIdentifier)
Returns the path object for the given JCR path string.static Path
PathParser. parse(String jcrPath, NameResolver nameResolver, IdentifierResolver identifierResolver, PathFactory factory)
ParsesjcrPath
into aPath
object usingresolver
to convert prefixes into namespace URIs.static Path
PathParser. parse(String jcrPath, NameResolver nameResolver, IdentifierResolver identifierResolver, PathFactory factory, boolean normalizeIdentifier)
ParsesjcrPath
into aPath
object usingresolver
to convert prefixes into namespace URIs.static Path
PathParser. parse(String jcrPath, NameResolver resolver, PathFactory factory)
ParsesjcrPath
into aPath
object usingresolver
to convert prefixes into namespace URIs.static Path
PathParser. parse(Path parent, String jcrPath, NameResolver nameResolver, IdentifierResolver identifierResolver, PathFactory factory)
Parses the givenjcrPath
and returns aPath
.static Path
PathParser. parse(Path parent, String jcrPath, NameResolver resolver, PathFactory factory)
Parses the givenjcrPath
and returns aPath
.Methods in org.apache.jackrabbit.spi.commons.conversion with parameters of type Path Modifier and Type Method Description String
CachingPathResolver. getJCRPath(Path path)
Returns the JCR path String for the givenPath
.String
DefaultNamePathResolver. getJCRPath(Path path)
String
ParsingPathResolver. getJCRPath(Path path)
Returns the JCR path representation for the givenPath
object.String
PathResolver. getJCRPath(Path path)
Returns the given JCR path string for the given path object.static Path
PathParser. parse(Path parent, String jcrPath, NameResolver nameResolver, IdentifierResolver identifierResolver, PathFactory factory)
Parses the givenjcrPath
and returns aPath
.static Path
PathParser. parse(Path parent, String jcrPath, NameResolver resolver, PathFactory factory)
Parses the givenjcrPath
and returns aPath
. -
Uses of Path in org.apache.jackrabbit.spi.commons.identifier
Methods in org.apache.jackrabbit.spi.commons.identifier with parameters of type Path Modifier and Type Method Description NodeId
AbstractIdFactory. createNodeId(String uniqueID, Path path)
Creates a newNodeId
from the given unique id (which identifies an ancestorNode
) and the givenPath
object.NodeId
AbstractIdFactory. createNodeId(NodeId parentId, Path path)
Creates a newNodeId
from the given parent id and the givenPath
object. -
Uses of Path in org.apache.jackrabbit.spi.commons.logging
Methods in org.apache.jackrabbit.spi.commons.logging that return Path Modifier and Type Method Description Path
PathFactoryLogger. create(String pathString)
Path
PathFactoryLogger. create(Name name)
Path
PathFactoryLogger. create(Name name, int index)
Path
PathFactoryLogger. create(Path.Element element)
Path
PathFactoryLogger. create(Path.Element[] elements)
Path
PathFactoryLogger. create(Path parent, Name name, boolean normalize)
Path
PathFactoryLogger. create(Path parent, Name name, int index, boolean normalize)
Path
PathFactoryLogger. create(Path parent, Path relPath, boolean normalize)
Path
PathFactoryLogger. getRootPath()
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type Path Modifier and Type Method Description Path
PathFactoryLogger. create(Path parent, Name name, boolean normalize)
Path
PathFactoryLogger. create(Path parent, Name name, int index, boolean normalize)
Path
PathFactoryLogger. create(Path parent, Path relPath, boolean normalize)
QValue
QValueFactoryLogger. create(Path value)
EventFilter
RepositoryServiceLogger. createEventFilter(SessionInfo sessionInfo, int eventTypes, Path absPath, boolean isDeep, String[] uuid, Name[] qnodeTypeName, boolean noLocal)
NodeId
IdFactoryLogger. createNodeId(String uniqueID, Path path)
NodeId
IdFactoryLogger. createNodeId(NodeId parentId, Path path)
-
Uses of Path in org.apache.jackrabbit.spi.commons.name
Methods in org.apache.jackrabbit.spi.commons.name that return Path Modifier and Type Method Description Path
PathFactoryImpl. create(String pathString)
Path
PathFactoryImpl. create(Name name)
Path
PathFactoryImpl. create(Name name, int index)
Path
PathFactoryImpl. create(Path.Element element)
Path
PathFactoryImpl. create(Path.Element[] elements)
Path
PathFactoryImpl. create(Path parent, Name name, boolean normalize)
Path
PathFactoryImpl. create(Path parent, Name name, int index, boolean normalize)
Path
PathFactoryImpl. create(Path parent, Path relPath, boolean normalize)
Path
MatchResult. getMatch()
Returns the path which was matched by thePattern
.Path
PathBuilder. getPath()
Assembles the built path and returns a newPath
.Path
PathMap.Element. getPath()
Return the path of this element.Path
MatchResult. getRemainder()
Returns the remaining path after the matching part.Path
PathFactoryImpl. getRootPath()
static Path
Matcher. match(Pattern pattern, Path input)
Match a pattern against an input path and return the remaining path.Methods in org.apache.jackrabbit.spi.commons.name with parameters of type Path Modifier and Type Method Description Path
PathFactoryImpl. create(Path parent, Name name, boolean normalize)
Path
PathFactoryImpl. create(Path parent, Name name, int index, boolean normalize)
Path
PathFactoryImpl. create(Path parent, Path relPath, boolean normalize)
static MatchResult
Matcher. findMatch(Pattern pattern, Path input)
Find the first match of a pattern in a path.static MatchResult
Matcher. findMatch(Pattern pattern, Path input, int pos)
Find the first match of a pattern in a path starting at a given position.PathMap.Element<T>
PathMap.Element. getDescendant(Path relPath, boolean exact)
Map a relPath starting atthis
Element.boolean
PathMap.Element. hasPath(Path path)
Checks whether this element has the specified path.PathMap.Element<T>
PathMap. map(Path path, boolean exact)
Map a path to a child.static Path
Matcher. match(Pattern pattern, Path input)
Match a pattern against an input path and return the remaining path.MatchResult
Pattern. match(Path input)
Matches this pattern against the input.static boolean
Matcher. matches(Pattern pattern, Path input)
Checks whether a pattern matches an input path.static Pattern
Pattern. path(Path path)
Construct a new pattern which matches an exact pathPathMap.Element<T>
PathMap. put(Path path)
Create an empty child given by its path.void
PathMap. put(Path path, PathMap.Element<T> element)
Put an element given by its path.PathMap.Element<T>
PathMap. put(Path path, T obj)
Create an element given by its path.Constructors in org.apache.jackrabbit.spi.commons.name with parameters of type Path Constructor Description PathBuilder(Path parent)
Creates a new PathBuilder and initialized it with elements of the given path. -
Uses of Path in org.apache.jackrabbit.spi.commons.query
Methods in org.apache.jackrabbit.spi.commons.query that return Path Modifier and Type Method Description Path
OrderQueryNode.OrderSpec. getPropertyPath()
Returns the relative path of the property.Path
TextsearchQueryNode. getRelativePath()
Methods in org.apache.jackrabbit.spi.commons.query with parameters of type Path Modifier and Type Method Description void
OrderQueryNode. addOrderSpec(Path property, boolean ascending)
Adds an order specification to this query node.void
OrderQueryNode.OrderSpec. setPath(Path path)
Set a new value for the pathvoid
OrderQueryNode. setPath(Path path)
Set the path of the last order specification of this query node.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.spi.commons.query with parameters of type Path Constructor Description OrderSpec(Path property, boolean ascending)
Creates a newOrderSpec
forproperty
. -
Uses of Path in org.apache.jackrabbit.spi.commons.query.qom
Methods in org.apache.jackrabbit.spi.commons.query.qom that return Path Modifier and Type Method Description Path
ChildNodeImpl. getQPath()
Gets the absolute path.Path
DescendantNodeImpl. getQPath()
Gets the absolute path.Path
SameNodeJoinConditionImpl. getSelector2QPath()
Gets the path relative to the second selector.Methods in org.apache.jackrabbit.spi.commons.query.qom with parameters of type Path Modifier and Type Method Description protected String
AbstractQOMNode. getJCRPath(Path path)
Returns the JCR path String for the givenPath
object ornull
ifpath
isnull
.protected String
AbstractQOMNode. quote(Path path)
-
Uses of Path in org.apache.jackrabbit.spi.commons.value
Methods in org.apache.jackrabbit.spi.commons.value that return Path Modifier and Type Method Description Path
AbstractQValue. getPath()
Methods in org.apache.jackrabbit.spi.commons.value with parameters of type Path Modifier and Type Method Description QValue
AbstractQValueFactory. create(Path value)
Constructors in org.apache.jackrabbit.spi.commons.value with parameters of type Path Constructor Description AbstractQValue(Path value)
Create a newAbstractQValue
.DefaultQValue(Path value)
-
Uses of Path in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav with parameters of type Path Modifier and Type Method Description EventFilter
RepositoryServiceImpl. createEventFilter(SessionInfo sessionInfo, int eventTypes, Path absPath, boolean isDeep, String[] uuids, Name[] nodeTypeNames, boolean noLocal)
Constructors in org.apache.jackrabbit.spi2dav with parameters of type Path Constructor Description EventImpl(ItemId eventId, Path eventPath, NodeId parentId, int eventType, String userId, Element eventElement, NamePathResolver resolver, QValueFactory qvFactory)
PropertyInfoImpl(PropertyId id, Path path, int type, boolean isMultiValued, QValue[] values)
-
Uses of Path in org.apache.jackrabbit.spi2davex
Methods in org.apache.jackrabbit.spi2davex that return Path Modifier and Type Method Description Path
ItemInfoImpl. getPath()
Returns thePath
of the item represented by thisItemInfo
.Methods in org.apache.jackrabbit.spi2davex with parameters of type Path Modifier and Type Method Description int
BatchReadConfig. getDepth(Path path, PathResolver resolver)
Return the depth for the given path.Constructors in org.apache.jackrabbit.spi2davex with parameters of type Path Constructor Description ItemInfoImpl(Path path, boolean isNode)
Creates a newItemInfo
.NodeInfoImpl(NodeId id, Path path)
Creates a newNodeInfo
.PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue value)
PropertyInfoImpl(PropertyId id, Path path, int propertyType, QValue[] values)
-
Uses of Path in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr with parameters of type Path Modifier and Type Method Description EventFilter
RepositoryServiceImpl. createEventFilter(SessionInfo sessionInfo, int eventTypes, Path absPath, boolean isDeep, String[] uuid, Name[] nodeTypeName, boolean noLocal)
Creates an event filter.
-