Uses of Class
org.apache.jackrabbit.core.state.ItemState

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

Fields in org.apache.jackrabbit.core declared as ItemState
protected  ItemState ItemImpl.state
          ItemState associated with this Item
 

Methods in org.apache.jackrabbit.core that return ItemState
protected  ItemState HierarchyManagerImpl.getItemState(ItemId id)
          Return an item state, given its item id.
protected abstract  ItemState ItemImpl.getOrCreateTransientItemState()
           
protected  ItemState ZombieHierarchyManager.getItemState(ItemId id)
          Return an item state, given its item id.

Low-level hook provided for specialized derived classes.

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

protected  ItemState NodeImpl.getOrCreateTransientItemState()
           
protected  ItemState PropertyImpl.getOrCreateTransientItemState()
           
 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.
 

Methods in org.apache.jackrabbit.core with parameters of type ItemState
protected  NodeId HierarchyManagerImpl.getParentId(ItemState state)
          Returns the parentUUID of the given item.
protected  ItemId HierarchyManagerImpl.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id.
protected  void HierarchyManagerImpl.buildPath(Path.PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built.
protected  ItemId CachingHierarchyManager.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id. Recursively invoked method that may be overridden by some subclass to either return cached responses or add response to cache.

Cache the intermediate item inside our cache.

protected  void CachingHierarchyManager.buildPath(Path.PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built. Recursively invoked method that may be overridden by some subclass to either return cached responses or add response to cache. On exit, builder contains the path of state.

Overridden method tries to find a mapping for the intermediate item state and add its path elements to the builder currently being used.

 void CachingHierarchyManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void CachingHierarchyManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void CachingHierarchyManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void CachingHierarchyManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
 void CachingHierarchyManager.stateOverlaid(ItemState overlayer)
          Called when an ItemState has been overlaid by some other state that now takes its identity.
 void CachingHierarchyManager.stateUncovered(ItemState overlayer)
          Called when an ItemState no longer overlayes some other item state.
 void ItemImpl.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void ItemImpl.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void ItemImpl.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void ItemImpl.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
protected  NodeId ZombieHierarchyManager.getParentId(ItemState state)
          Returns the parentUUID of the given item.

Low-level hook provided for specialized derived classes.

Also allows for removed items.

 void BatchedItemOperations.store(ItemState state)
          Store an item state.
 void BatchedItemOperations.destroy(ItemState state)
          Destroy an item state.
 

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

Subclasses of ItemState in org.apache.jackrabbit.core.state
 class NodeState
          NodeState represents the state of a Node.
 class PropertyState
          PropertyState represents the state of a Property.
 

Fields in org.apache.jackrabbit.core.state declared as ItemState
protected  ItemState ItemState.overlayedState
          the backing persistent item state (may be null)
 

Methods in org.apache.jackrabbit.core.state that return ItemState
 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 ItemStateManager.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 SessionItemStateManager.getTransientItemState(ItemId id)
           
 ItemState ChangeLog.get(ItemId id)
          Return an item state given its 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 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 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 SharedItemStateManager.getItemState(ItemId id)
          Return an item state, given its item id.
 ItemState LRUItemStateCache.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 LocalItemStateManager.getItemState(ItemId id)
          Return an item state, given its item 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.
 ItemState ItemState.getOverlayedState()
          Returns the persistent state backing this transient state or null if there is no persistent state (i.e..
 

Methods in org.apache.jackrabbit.core.state with parameters of type ItemState
 void ItemStateMap.put(ItemState state)
          Stores the specified ItemState object in the store using its ItemId as the key.
 void SessionItemStateManager.store(ItemState state)
          Store an item state.
 void SessionItemStateManager.destroy(ItemState state)
          Destroy an item state.
 void SessionItemStateManager.disconnectTransientItemState(ItemState state)
          Disconnect a transient item state from its underlying persistent state.
 void SessionItemStateManager.disposeTransientItemState(ItemState state)
          Disposes the specified transient item state instance, i.e.
 void SessionItemStateManager.moveTransientItemStateToAttic(ItemState state)
          Transfers the specified transient item state instance from the 'active' cache to the attic.
 void SessionItemStateManager.disposeTransientItemStateInAttic(ItemState state)
          Disposes the specified transient item state instance in the attic, i.e.
 void ChangeLog.added(ItemState state)
          A state has been added
 void ChangeLog.modified(ItemState state)
          A state has been modified.
 void ChangeLog.deleted(ItemState state)
          A state has been deleted.
protected  void NodeState.copy(ItemState state)
          Copy state information from another state into this state
 void ItemStateCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
 void ItemStateStore.put(ItemState state)
          Stores the specified ItemState object in the store using its ItemId as the key.
 void ItemStateListener.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.
 void ItemStateListener.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 void ItemStateListener.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void ItemStateListener.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
protected  void PropertyState.copy(ItemState state)
          Copy state information from another state into this state
 void SharedItemStateManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void SharedItemStateManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void SharedItemStateManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void SharedItemStateManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
 void UpdatableItemStateManager.store(ItemState state)
          Store an item state.
 void UpdatableItemStateManager.destroy(ItemState state)
          Destroy an item state.
 void LRUItemStateCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
 void LocalItemStateManager.store(ItemState state)
          Store an item state.
 void LocalItemStateManager.destroy(ItemState state)
          Destroy an item state.
 void LocalItemStateManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void LocalItemStateManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void LocalItemStateManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void LocalItemStateManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
 void ItemStateReferenceCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
protected abstract  void ItemState.copy(ItemState state)
          Copy state information from another state into this state
protected  void ItemState.connect(ItemState overlayedState)
          Connect this state to some underlying overlayed state.
 void ItemState.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void ItemState.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void ItemState.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void ItemState.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
 

Constructors in org.apache.jackrabbit.core.state with parameters of type ItemState
ItemState(ItemState overlayedState, int initialStatus, boolean isTransient)
          Constructs a new item state that is initially connected to an overlayed state.
 

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

Methods in org.apache.jackrabbit.core.version that return ItemState
 ItemState XAVersionManager.getItemState(ItemId id)
          Return an item state, given its item id.

Return item states for changes only.

 

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

Subclasses of ItemState in org.apache.jackrabbit.core.virtual
 class VirtualNodeState
          This Class implements a virtual node state
 class VirtualPropertyState
          This Class implements a virtual property state
 

Methods in org.apache.jackrabbit.core.virtual that return ItemState
 ItemState AbstractVISProvider.getItemState(ItemId id)
          Return an item state, given its item id.
 

Methods in org.apache.jackrabbit.core.virtual with parameters of type ItemState
 void AbstractVISProvider.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
 void AbstractVISProvider.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
 void AbstractVISProvider.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
 void AbstractVISProvider.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
 



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