Uses of Class
org.apache.jackrabbit.core.ItemId

Packages that use ItemId
org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API. 
org.apache.jackrabbit.core.security   
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
 

Subclasses of ItemId in org.apache.jackrabbit.core
 class NodeId
          Node identifier.
 class PropertyId
          Property identifier.
 

Fields in org.apache.jackrabbit.core declared as ItemId
protected  ItemId ItemImpl.id
           
 

Methods in org.apache.jackrabbit.core that return ItemId
 ItemId ItemImpl.getId()
          Return the id of this Item.
 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.
 

Methods in org.apache.jackrabbit.core with parameters of type ItemId
 int CachingHierarchyManager.getDepth(ItemId id)
          Returns the depth of the specified item which is equivalent to getPath(id).getAncestorCount(). The depth reflects the absolute hierarchy level.
 int HierarchyManagerImpl.getDepth(ItemId id)
          Returns the depth of the specified item which is equivalent to getPath(id).getAncestorCount().
 int HierarchyManager.getDepth(ItemId id)
          Returns the depth of the specified item which is equivalent to getPath(id).getAncestorCount().
 ItemImpl ItemManager.getItem(ItemId id)
           
 ItemState BatchedItemOperations.getItemState(ItemId id)
          Retrieves the state of the item with the given id.
protected  ItemState ZombieHierarchyManager.getItemState(ItemId id)
          Return an item state, given its item id.

Delivers state from attic if such exists, otherwise calls base class.

protected  ItemState HierarchyManagerImpl.getItemState(ItemId id)
          Return an item state, given its item 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.
 QName CachingHierarchyManager.getName(ItemId id)
          Returns the name of the specified item.
 QName HierarchyManagerImpl.getName(ItemId itemId)
          Returns the name of the specified item.
 QName HierarchyManager.getName(ItemId id)
          Returns the name of the specified item.
 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.
 int HierarchyManagerImpl.getRelativeDepth(NodeId ancestorId, ItemId descendantId)
          Returns the depth of the specified descendant relative to the given ancestor.
 int HierarchyManager.getRelativeDepth(NodeId ancestorId, ItemId descendantId)
          Returns the depth of the specified descendant relative to the given ancestor.
protected  boolean ZombieHierarchyManager.hasItemState(ItemId id)
          Determines whether an item state for a given item id exists.

Returns true if there's state on the attic for the requested item; otherwise delegates to base class.

protected  boolean HierarchyManagerImpl.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 specified nodeId is an ancestor of the item denoted by the given itemId. This is equivalent to getPath(nodeId).isAncestorOf(getPath(itemId)).
 boolean HierarchyManagerImpl.isAncestor(NodeId nodeId, ItemId itemId)
          Determines whether the node with the specified nodeId is an ancestor of the item denoted by the given itemId.
 boolean HierarchyManager.isAncestor(NodeId nodeId, ItemId itemId)
          Determines whether the node with the specified nodeId is an ancestor of the item denoted by the given itemId.
 void ItemLifeCycleListener.itemDestroyed(ItemId id, ItemImpl item)
          Called when an ItemImpl instance has been destroyed (i.e.
 void ItemManager.itemDestroyed(ItemId id, ItemImpl item)
          Called when an ItemImpl instance has been destroyed (i.e.
 boolean ItemManager.itemExists(ItemId id)
          Checks if the item with the given id exists.
 void ItemLifeCycleListener.itemInvalidated(ItemId id, ItemImpl item)
          Called when an ItemImpl instance has been invalidated (i.e.
 void ItemManager.itemInvalidated(ItemId id, ItemImpl item)
          Called when an ItemImpl instance has been invalidated (i.e.
protected  ItemId HierarchyManagerImpl.resolvePath(Path path, ItemId id, int next)
          Resolve a path into an item id.
 String ItemValidator.safeGetJCRPath(ItemId id)
          Failsafe translation of internal ItemId to JCR path for use in error messages etc.
 String HierarchyManagerImpl.safeGetJCRPath(ItemId id)
          Failsafe translation of internal ItemId to JCR path for use in error messages etc.
 

Uses of ItemId in org.apache.jackrabbit.core.security
 

Methods in org.apache.jackrabbit.core.security with parameters of type ItemId
 void SimpleJBossAccessManager.checkPermission(ItemId id, int permissions)
           
 void SimpleAccessManager.checkPermission(ItemId id, int permissions)
          Determines whether the specified permissions are granted on the item with the specified id (i.e.
 void AccessManager.checkPermission(ItemId id, int permissions)
          Determines whether the specified permissions are granted on the item with the specified id (i.e.
 boolean SimpleJBossAccessManager.isGranted(ItemId id, int permissions)
           
 boolean SimpleAccessManager.isGranted(ItemId id, int permissions)
          Determines whether the specified permissions are granted on the item with the specified id (i.e.
 boolean AccessManager.isGranted(ItemId id, int permissions)
          Determines whether the specified permissions are granted on the item with the specified id (i.e.
 

Uses of ItemId in org.apache.jackrabbit.core.state
 

Methods in org.apache.jackrabbit.core.state that return ItemId
 ItemId PropertyState.getId()
          Returns the identifier of this item.
abstract  ItemId ItemState.getId()
          Returns the identifier of this item.
 ItemId NodeState.getId()
          Returns the identifier of this item.
 

Methods in org.apache.jackrabbit.core.state with parameters of type ItemId
 boolean ItemStateMap.contains(ItemId id)
          Returns true if this store contains an ItemState object with the specified id.
 boolean ItemStateStore.contains(ItemId id)
          Returns true if this store contains an ItemState object with the specified id.
 boolean ChangeLog.deleted(ItemId id)
          Return a flag indicating whether a given item state is marked as deleted in this log.
 void MLRUItemStateCache.evict(ItemId id)
          Removes the ItemState object with the specified id from this cache if it is present.
 void ItemStateCache.evict(ItemId id)
          Removes the ItemState object with the specified id from this cache if it is present.
 void ItemStateReferenceCache.evict(ItemId id)
          Removes the ItemState object with the specified id from this cache if it is present.
 ItemState ItemStateMap.get(ItemId id)
          Returns the ItemState object with the specified id if it is present or null if no entry exists with that id.
 ItemState ChangeLog.get(ItemId id)
          Return an item state given its id.
 ItemState ItemStateStore.get(ItemId id)
          Returns the ItemState object with the specified id if it is present or null if no entry exists with that id.
 ItemState XAItemStateManager.getItemState(ItemId id)
          Return an item state, given its item id.

If this state manager is committing changes, this method first checks the commitLog ThreadLocal.

 ItemState SharedItemStateManager.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 ItemStateManager.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 XAItemStateManager.hasItemState(ItemId id)
          Return a flag indicating whether an item state for a given item id exists.

If this state manager is committing changes, this method first checks the commitLog ThreadLocal.

 boolean SharedItemStateManager.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 ItemStateManager.hasItemState(ItemId id)
          Return a flag indicating whether an item state for a given item id exists.
 boolean MLRUItemStateCache.isCached(ItemId id)
          Returns true if this cache contains an ItemState object with the specified id.
 boolean ItemStateCache.isCached(ItemId id)
          Returns true if this cache contains an ItemState object with the specified id.
 boolean ItemStateReferenceCache.isCached(ItemId id)
          Returns true if this cache contains an ItemState object with the specified id.
 boolean SessionItemStateManager.isItemStateInAttic(ItemId id)
          Return a flag indicating whether the specified item is in the transient item state manager's attic space.
 void ItemStateMap.remove(ItemId id)
          Removes the ItemState object with the specified id from this store if it is present.
 void ItemStateStore.remove(ItemId id)
          Removes the ItemState object with the specified id from this store if it is present.
 ItemState MLRUItemStateCache.retrieve(ItemId id)
          Returns the ItemState object with the specified id if it is present or null if no entry exists with that id.
 ItemState ItemStateCache.retrieve(ItemId id)
          Returns the ItemState object with the specified id if it is present or null if no entry exists with that id.
 ItemState ItemStateReferenceCache.retrieve(ItemId id)
          Returns the ItemState object with the specified id if it is present or null if no entry exists with that id.
 void MLRUItemStateCache.update(ItemId id)
          Informs the cache that the item was modified and the cache might need to recalc the items caching weight.
 void ItemStateCache.update(ItemId id)
          Informs the cache that the item was modified and the cache might need to recalc the items caching weight.
 void ItemStateReferenceCache.update(ItemId id)
          Informs the cache that the item was modified and the cache might need to recalc the items caching weight.
 

Uses of ItemId in org.apache.jackrabbit.core.version
 

Methods in org.apache.jackrabbit.core.version with parameters of type ItemId
 ItemState XAVersionManager.getItemState(ItemId id)
          Return an item state, given its item id.

Return item states for changes only.

 boolean XAVersionManager.hasItemState(ItemId id)
          Return a flag indicating whether an item state for a given item id exists.
 boolean XAVersionManager.isVirtualRoot(ItemId id)
          Checks if the id refers to the root of a virtual tree.
 

Uses of ItemId in org.apache.jackrabbit.core.virtual
 

Methods in org.apache.jackrabbit.core.virtual with parameters of type ItemId
 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 item
 boolean 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.
 



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