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

Packages that use ItemState
org.apache.jackrabbit.core   
org.apache.jackrabbit.core.state   
org.apache.jackrabbit.core.version   
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
 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.
protected  ItemState PropertyImpl.getOrCreateTransientItemState()
           
protected abstract  ItemState ItemImpl.getOrCreateTransientItemState()
           
protected  ItemState NodeImpl.getOrCreateTransientItemState()
           
 

Methods in org.apache.jackrabbit.core with parameters of type ItemState
protected  void HierarchyManagerImpl.beforeResolvePath(Path path, ItemState state, int next)
          Called by recursively invoked method HierarchyManagerImpl.resolvePath(Path, ItemState, int, boolean); May be overridden by some subclass to process/cache intermediate state.
protected  void CachingHierarchyManager.beforeResolvePath(Path path, ItemState state, int next)
          Called by recursively invoked method HierarchyManagerImpl.resolvePath(Path, ItemState, int, boolean); May be overridden by some subclass to process/cache intermediate state.

Cache the intermediate item inside our cache.

protected  void HierarchyManagerImpl.buildPath(PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built.
protected  void CachingHierarchyManager.buildPath(PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built.

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

 void BatchedItemOperations.destroy(ItemState state)
          Destroy an item state.
 ItemImpl ItemManager.getItem(ItemState state)
          Returns the item instance for the given item state.
protected  NodeId ZombieHierarchyManager.getParentId(ItemState state)
          Returns the parentUUID of the given item.

Also allows for removed items.

protected  NodeId HierarchyManagerImpl.getParentId(ItemState state)
          Returns the parentUUID of the given item.
 void ItemImpl.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.
 void ItemManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.
 void CachingHierarchyManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.
 void ItemImpl.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void ItemManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void CachingHierarchyManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void ItemImpl.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
 void ItemManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
 void CachingHierarchyManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
 void ItemImpl.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 void ItemManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 void CachingHierarchyManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 void BatchedItemOperations.store(ItemState state)
          Store 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 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 ChangeLog.get(ItemId id)
          Return an item state given its 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 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 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 ItemState.getOverlayedState()
          Returns the persistent state backing this transient state or null if there is no persistent state (i.e..
 ItemState SessionItemStateManager.getTransientItemState(ItemId id)
           
 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 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 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[] MLRUItemStateCache.retrieveAll()
          Returns all the cached item states.
 ItemState[] ItemStateReferenceCache.retrieveAll()
          Returns all the cached item states.
 ItemState[] ItemStateCache.retrieveAll()
          Returns all the cached item states.
 

Methods in org.apache.jackrabbit.core.state with parameters of type ItemState
 void ChangeLog.added(ItemState state)
          A state has been added
 void MLRUItemStateCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
 void ItemStateReferenceCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
 void ItemStateCache.cache(ItemState state)
          Stores the specified ItemState object in the map using its ItemId as the key.
protected  void ItemState.connect(ItemState overlayedState)
          Connect this state to some underlying overlayed state.
protected  void PropertyState.copy(ItemState state, boolean syncModCount)
          Copy state information from another state into this state
protected abstract  void ItemState.copy(ItemState state, boolean syncModCount)
          Copy state information from another state into this state
protected  void NodeState.copy(ItemState state, boolean syncModCount)
          Copy state information from another state into this state
 void ChangeLog.deleted(ItemState state)
          A state has been deleted.
 void SessionItemStateManager.destroy(ItemState state)
          Destroy an item state.
 void UpdatableItemStateManager.destroy(ItemState state)
          Destroy an item state.
 void LocalItemStateManager.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.disposeTransientItemStateInAttic(ItemState state)
          Disposes the specified transient item state instance in the attic, i.e.
 void ChangeLog.modified(ItemState state)
          A state has been modified.
 void SessionItemStateManager.moveTransientItemStateToAttic(ItemState state)
          Transfers the specified transient item state instance from the 'active' cache to the attic.
 void StateChangeDispatcher.notifyStateCreated(ItemState created)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyStateDestroyed(ItemState destroyed)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyStateDiscarded(ItemState discarded)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyStateModified(ItemState modified)
          Notify listeners about changes to some state.
 void ItemStateMap.put(ItemState state)
          Stores the specified ItemState object in the store 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 SessionItemStateManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.

Notification handler gets called for both transient states that this state manager has created, as well as states that were created by the local state manager we're listening to.

 void SharedItemStateManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.

Notifications are received for items that this manager created itself or items that are managed by one of the virtual providers.

 void ItemStateListener.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.
 void LocalItemStateManager.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.

Notification handler gets called for both local states that this state manager has created, as well as states that were created by the shared state manager we're listening to.

 void SessionItemStateManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.

Notification handler gets called for both transient states that this state manager has created, as well as states that were created by the local state manager we're listening to.

 void SharedItemStateManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.

Notifications are received for items that this manager created itself or items that are managed by one of the virtual providers.

 void ItemStateListener.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void LocalItemStateManager.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.

Notification handler gets called for both local states that this state manager has created, as well as states that were created by the shared state manager we're listening to.

 void SessionItemStateManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.

Notification handler gets called for both transient states that this state manager has created, as well as states that were created by the local state manager we're listening to.

 void SharedItemStateManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.

Notifications are received for items that this manager created itself or items that are managed by one of the virtual providers.

 void ItemStateListener.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
 void LocalItemStateManager.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.

Notification handler gets called for both local states that this state manager has created, as well as states that were created by the shared state manager we're listening to.

 void SessionItemStateManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.

Notification handler gets called for both transient states that this state manager has created, as well as states that were created by the local state manager we're listening to.

 void SharedItemStateManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.

Notifications are received for items that this manager created itself or items that are managed by one of the virtual providers.

 void ItemStateListener.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 void LocalItemStateManager.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.

Notification handler gets called for both local states that this state manager has created, as well as states that were created by the shared state manager we're listening to.

 void SessionItemStateManager.store(ItemState state)
          Store an item state.
 void UpdatableItemStateManager.store(ItemState state)
          Store an item state.
 void LocalItemStateManager.store(ItemState state)
          Store an item state.
 

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.

 

Methods in org.apache.jackrabbit.core.version with parameters of type ItemState
 void VersionManagerImpl.stateCreated(ItemState created)
          Called when an ItemState has successfully been created (i.e.

Not used.

 void VersionManagerImpl.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.

Remove item from cache on removal.

 void VersionManagerImpl.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.

Not used.

 void VersionManagerImpl.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.

Not used.

 

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.
 void AbstractVISProvider.stateDestroyed(ItemState destroyed)
          Called when an ItemState has successfully been removed (i.e.
 void AbstractVISProvider.stateDiscarded(ItemState discarded)
          Called when an ItemState has been discarded (i.e.
 void AbstractVISProvider.stateModified(ItemState modified)
          Called when an ItemState has successfully been modified (i.e.
 



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