Uses of Interface
org.apache.jackrabbit.core.id.ItemId
-
Packages that use ItemId Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.core.id org.apache.jackrabbit.core.persistence.mem org.apache.jackrabbit.core.security org.apache.jackrabbit.core.security.authorization org.apache.jackrabbit.core.security.simple org.apache.jackrabbit.core.state org.apache.jackrabbit.core.version The versioning framework in jackrabbit consists of 3 layers.org.apache.jackrabbit.core.virtual -
-
Uses of ItemId in org.apache.jackrabbit.core
Fields in org.apache.jackrabbit.core declared as ItemId Modifier and Type Field Description protected ItemId
ItemImpl. id
Methods in org.apache.jackrabbit.core that return ItemId Modifier and Type Method Description ItemId
ItemData. getId()
Return the id associated with this item.ItemId
ItemImpl. getId()
Return the id of thisItem
.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.Element[] elements, int next, ItemId id, int typesAllowed)
Internal implementation that iteratively resolves a path into an item.protected ItemId
HierarchyManagerImpl. resolvePath(Path path, int typesAllowed)
Internal implementation ofHierarchyManagerImpl.resolvePath(Path)
that will either resolve to a node or a property.Methods in org.apache.jackrabbit.core with parameters of type ItemId Modifier and Type Method Description int
CachingHierarchyManager. getDepth(ItemId id)
Returns the depth of the specified item which is equivalent togetPath(id).getAncestorCount()
.int
HierarchyManager. getDepth(ItemId id)
Returns the depth of the specified item which is equivalent togetPath(id).getAncestorCount()
.int
HierarchyManagerImpl. getDepth(ItemId id)
Returns the depth of the specified item which is equivalent togetPath(id).getAncestorCount()
.ItemImpl
ItemManager. getItem(ItemId id)
ItemState
BatchedItemOperations. getItemState(ItemId id)
Retrieves the state of the item with the given id.protected ItemState
BatchedItemOperations. getItemState(ItemStateManager srcStateMgr, ItemId id)
Retrieves the state of the item with the specified id using the given item state manager.protected ItemState
HierarchyManagerImpl. getItemState(ItemId id)
Return an item state, given its item id.protected ItemState
ZombieHierarchyManager. getItemState(ItemId id)
Return an item state, given its item id.Name
CachingHierarchyManager. getName(ItemId id)
Returns the name of the specified item.Name
HierarchyManager. getName(ItemId id)
Returns the name of the specified item.Name
HierarchyManagerImpl. getName(ItemId itemId)
Returns the name of the specified item.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.int
HierarchyManager. getRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified descendant relative to the given ancestor.int
HierarchyManagerImpl. getRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified descendant relative to the given ancestor.int
HierarchyManager. getShareRelativeDepth(NodeId ancestorId, ItemId descendantId)
Returns the depth of the specified share-descendant relative to the given share-ancestor.int
HierarchyManagerImpl. getShareRelativeDepth(NodeId ancestor, ItemId descendant)
Returns the depth of the specified share-descendant relative to the given share-ancestor.protected boolean
HierarchyManagerImpl. hasItemState(ItemId id)
Determines whether an item state for a given item id exists.protected boolean
ZombieHierarchyManager. hasItemState(ItemId id)
Determines whether an item state for a given item id exists.boolean
CachingHierarchyManager. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.boolean
HierarchyManager. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.boolean
HierarchyManagerImpl. isAncestor(NodeId nodeId, ItemId itemId)
Determines whether the node with the specifiednodeId
is an ancestor of the item denoted by the givenitemId
.void
ItemLifeCycleListener. itemDestroyed(ItemId id, ItemImpl item)
Called when anItemImpl
instance has been destroyed (i.e.void
ItemManager. itemDestroyed(ItemId id, ItemData data)
boolean
ItemManager. itemExists(ItemId id)
Checks if the item with the given id exists.void
ItemLifeCycleListener. itemInvalidated(ItemId id, ItemImpl item)
Called when anItemImpl
instance has been invalidated (i.e.void
ItemManager. itemInvalidated(ItemId id, ItemData data)
protected void
CachingHierarchyManager. pathResolved(ItemId id, PathBuilder builder)
protected void
HierarchyManagerImpl. pathResolved(ItemId id, PathBuilder builder)
protected ItemId
HierarchyManagerImpl. resolvePath(Path.Element[] elements, int next, ItemId id, int typesAllowed)
Internal implementation that iteratively resolves a path into an item.String
ItemValidator. safeGetJCRPath(ItemId id)
Failsafe translation of internalItemId
to JCR path for use in error messages etc.Constructors in org.apache.jackrabbit.core with parameters of type ItemId Constructor Description AbstractNodeData(ItemId id)
Create a new instance of this class.ItemData(ItemId id)
Create a new instance of this class.Constructor parameters in org.apache.jackrabbit.core with type arguments of type ItemId Constructor Description LazyItemIterator(SessionContext sessionContext, List<? extends ItemId> idList)
Creates a newLazyItemIterator
instance.LazyItemIterator(SessionContext sessionContext, List<? extends ItemId> idList, NodeId parentId)
Creates a newLazyItemIterator
instance, additionally taking a parent id as parameter. -
Uses of ItemId in org.apache.jackrabbit.core.id
Classes in org.apache.jackrabbit.core.id that implement ItemId Modifier and Type Class Description class
NodeId
Node identifier, i.e.class
PropertyId
Property identifier. -
Uses of ItemId in org.apache.jackrabbit.core.persistence.mem
Fields in org.apache.jackrabbit.core.persistence.mem with type parameters of type ItemId Modifier and Type Field Description protected Map<ItemId,byte[]>
InMemPersistenceManager. stateStore
Deprecated. -
Uses of ItemId in org.apache.jackrabbit.core.security
Methods in org.apache.jackrabbit.core.security with parameters of type ItemId 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(ItemId id, int permissions)
Deprecated.void
DefaultAccessManager. checkPermission(ItemId id, int permissions)
boolean
AccessManager. isGranted(ItemId id, int permissions)
Deprecated.boolean
DefaultAccessManager. isGranted(ItemId id, int actions)
-
Uses of ItemId in org.apache.jackrabbit.core.security.authorization
Methods in org.apache.jackrabbit.core.security.authorization with parameters of type ItemId Modifier and Type Method Description boolean
CompiledPermissions. canRead(Path itemPath, ItemId itemId)
Returnstrue
if READ permission is granted for the existing item with the givenPath
and/orItemId
. -
Uses of ItemId in org.apache.jackrabbit.core.security.simple
Methods in org.apache.jackrabbit.core.security.simple with parameters of type ItemId Modifier and Type Method Description boolean
SimpleAccessManager. canRead(Path itemPath, ItemId itemId)
void
SimpleAccessManager. checkPermission(ItemId id, int permissions)
Determines whether the specifiedpermissions
are granted on the item with the specifiedid
(i.e.boolean
SimpleAccessManager. isGranted(ItemId id, int permissions)
Determines whether the specifiedpermissions
are granted on the item with the specifiedid
(i.e. -
Uses of ItemId in org.apache.jackrabbit.core.state
Methods in org.apache.jackrabbit.core.state that return ItemId Modifier and Type Method Description abstract ItemId
ItemState. getId()
Returns the identifier of this item.ItemId
NodeState. getId()
Returns the identifier of this item.ItemId
PropertyState. getId()
Returns the identifier of this item.Methods in org.apache.jackrabbit.core.state with parameters of type ItemId Modifier and Type Method Description ISMLocking.ReadLock
DefaultISMLocking. acquireReadLock(ItemId id)
Increments the reader count and returns the acquired read lock once there are no more writers or the current writer shares the thread id with this reader.ISMLocking.ReadLock
FineGrainedISMLocking. acquireReadLock(ItemId id)
Acquire a read lock for the given itemid
.ISMLocking.ReadLock
ISMLocking. acquireReadLock(ItemId id)
Acquire a read lock for the given itemid
.boolean
ChangeLog. deleted(ItemId id)
Return a flag indicating whether a given item state is marked as deleted in this log.void
ItemStateCache. evict(ItemId id)
Removes theItemState
object with the specified id from this cache if it is present.void
ItemStateReferenceCache. evict(ItemId id)
Removes theItemState
object with the specified id from this cache if it is present.void
MLRUItemStateCache. evict(ItemId id)
Removes theItemState
object with the specified id from this cache if it is present.ItemState
ChangeLog. get(ItemId id)
Return an item state given its id.Collection<ItemState>
SessionItemStateManager. getDescendantTransientItemStates(ItemId id)
Returns a collection of those transient item state instances that are direct or indirect descendants of the item state with the given parent.Iterable<ItemState>
SessionItemStateManager. getDescendantTransientItemStatesInAttic(ItemId id)
Same as
except that item state instances in the attic are returned.SessionItemStateManager.getDescendantTransientItemStates(ItemId)
ItemState
ItemStateManager. getItemState(ItemId id)
Return an item state, given its item id.ItemState
LocalItemStateManager. getItemState(ItemId id)
Return an item state, given its item id.ItemState
SessionItemStateManager. getItemState(ItemId id)
Return an item state, given its item id.ItemState
SharedItemStateManager. getItemState(ItemId id)
Return an item state, given its item id.ItemState
XAItemStateManager. getItemState(ItemId id)
Return an item state, given its item id.ItemState
SessionItemStateManager. getTransientItemState(ItemId id)
boolean
ChangeLog. has(ItemId id)
Return a flag indicating whether a given item state exists.boolean
ItemStateManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.boolean
LocalItemStateManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.boolean
SessionItemStateManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.boolean
SharedItemStateManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.boolean
XAItemStateManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.protected boolean
SharedItemStateManager. hasNonVirtualItemState(ItemId id)
Checks if this item state manager has the given item state without considering the virtual item state managers.boolean
SessionItemStateManager. hasTransientItemState(ItemId id)
boolean
SessionItemStateManager. hasTransientItemStateInAttic(ItemId id)
boolean
ChangeLog. isAdded(ItemId id)
Return a flag indicating whether a given item state is marked as added in this log.boolean
ItemStateCache. isCached(ItemId id)
Returnstrue
if this cache contains anItemState
object with the specifiedid
.boolean
ItemStateReferenceCache. isCached(ItemId id)
Returnstrue
if this cache contains anItemState
object with the specifiedid
.boolean
MLRUItemStateCache. isCached(ItemId id)
Returnstrue
if this cache contains anItemState
object with the specifiedid
.boolean
SessionItemStateManager. isItemStateInAttic(ItemId id)
Return a flag indicating whether the specified item is in the transient item state manager's attic space.boolean
ChangeLog. isModified(ItemId id)
Returns a flag indicating whether a given item state is marked as modified in this log.ItemState
ItemStateCache. retrieve(ItemId id)
Returns theItemState
object with the specifiedid
if it is present ornull
if no entry exists with thatid
.ItemState
ItemStateReferenceCache. retrieve(ItemId id)
Returns theItemState
object with the specifiedid
if it is present ornull
if no entry exists with thatid
.ItemState
MLRUItemStateCache. retrieve(ItemId id)
Returns theItemState
object with the specifiedid
if it is present ornull
if no entry exists with thatid
. -
Uses of ItemId in org.apache.jackrabbit.core.version
Methods in org.apache.jackrabbit.core.version with parameters of type ItemId Modifier and Type Method Description ItemState
InternalXAVersionManager. getItemState(ItemId id)
Return an item state, given its item id.boolean
InternalXAVersionManager. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.boolean
InternalXAVersionManager. isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.Method parameters in org.apache.jackrabbit.core.version with type arguments of type ItemId Modifier and Type Method Description protected void
VersionManagerImplMerge. merge(InternalActivity activity, List<ItemId> failedIds)
Merge the given activity to this workspaceprotected void
VersionManagerImplMerge. merge(NodeStateEx state, NodeStateEx srcRoot, List<ItemId> failedIds, boolean bestEffort, boolean shallow)
Merges/Updates this node with its corresponding ones -
Uses of ItemId in org.apache.jackrabbit.core.virtual
Methods in org.apache.jackrabbit.core.virtual with parameters of type ItemId Modifier and Type Method Description ItemState
AbstractVISProvider. getItemState(ItemId id)
Return an item state, given its item id.boolean
AbstractVISProvider. hasItemState(ItemId id)
Return a flag indicating whether an item state for a given item id exists.void
AbstractVISProvider. invalidateItem(ItemId id, boolean recursive)
invalidates the itemboolean
AbstractVISProvider. isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.boolean
VirtualItemStateProvider. isVirtualRoot(ItemId id)
Checks if the id refers to the root of a virtual tree.
-