Uses of Class
org.apache.jackrabbit.core.state.ItemState
-
Packages that use ItemState Package Description 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
Methods in org.apache.jackrabbit.core that return ItemState Modifier and Type Method Description ItemStateBatchedItemOperations. getItemState(ItemId id)Retrieves the state of the item with the given id.protected ItemStateBatchedItemOperations. getItemState(ItemStateManager srcStateMgr, ItemId id)Retrieves the state of the item with the specified id using the given item state manager.protected ItemStateHierarchyManagerImpl. getItemState(ItemId id)Return an item state, given its item id.protected ItemStateZombieHierarchyManager. getItemState(ItemId id)Return an item state, given its item id.protected abstract ItemStateItemImpl. getOrCreateTransientItemState()protected ItemStateNodeImpl. getOrCreateTransientItemState()protected ItemStatePropertyImpl. getOrCreateTransientItemState()ItemStateItemData. getState()Return the associated item state.Methods in org.apache.jackrabbit.core with parameters of type ItemState Modifier and Type Method Description protected voidCachingHierarchyManager. buildPath(PathBuilder builder, ItemState state, HierarchyManagerImpl.CycleDetector detector)Adds the path element of an item id to the path currently being built.protected voidHierarchyManagerImpl. buildPath(PathBuilder builder, ItemState state, HierarchyManagerImpl.CycleDetector detector)Adds the path element of an item id to the path currently being built.voidBatchedItemOperations. destroy(ItemState state)Destroy an item state.protected NodeIdHierarchyManagerImpl. getParentId(ItemState state)Returns theparentUUIDof the given item.protected NodeIdZombieHierarchyManager. getParentId(ItemState state)Returns theparentUUIDof the given item.protected Set<NodeId>HierarchyManagerImpl. getParentIds(ItemState state, boolean useOverlayed)Return all parents of a node.protected voidItemData. setState(ItemState state)Set the associated item state.voidCachingHierarchyManager. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidItemManager. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidCachingHierarchyManager. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidItemManager. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidCachingHierarchyManager. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidItemManager. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidCachingHierarchyManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidItemManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidBatchedItemOperations. store(ItemState state)Store an item state.Constructors in org.apache.jackrabbit.core with parameters of type ItemState Constructor Description ItemData(ItemState state, ItemManager itemMgr)Create a new instance of this class.ItemRefreshOperation(ItemState state, boolean keepChanges) -
Uses of ItemState in org.apache.jackrabbit.core.state
Subclasses of ItemState in org.apache.jackrabbit.core.state Modifier and Type Class Description classNodeStateNodeStaterepresents the state of aNode.classPropertyStatePropertyStaterepresents the state of aProperty.Fields in org.apache.jackrabbit.core.state declared as ItemState Modifier and Type Field Description protected ItemStateItemState. overlayedStatethe backing persistent item state (may be null)Methods in org.apache.jackrabbit.core.state that return ItemState Modifier and Type Method Description ItemStateChangeLog. get(ItemId id)Return an item state given its id.ItemStateItemStateManager. getItemState(ItemId id)Return an item state, given its item id.ItemStateLocalItemStateManager. getItemState(ItemId id)Return an item state, given its item id.ItemStateSessionItemStateManager. getItemState(ItemId id)Return an item state, given its item id.ItemStateSharedItemStateManager. getItemState(ItemId id)Return an item state, given its item id.ItemStateXAItemStateManager. getItemState(ItemId id)Return an item state, given its item id.ItemStateItemState. getOverlayedState()Returns the persistent state backing this transient state ornullif there is no persistent state (i.e..ItemStateSessionItemStateManager. getTransientItemState(ItemId id)ItemStateItemStateCache. retrieve(ItemId id)Returns theItemStateobject with the specifiedidif it is present ornullif no entry exists with thatid.ItemStateItemStateReferenceCache. retrieve(ItemId id)Returns theItemStateobject with the specifiedidif it is present ornullif no entry exists with thatid.ItemStateMLRUItemStateCache. retrieve(ItemId id)Returns theItemStateobject with the specifiedidif it is present ornullif no entry exists with thatid.ItemState[]ItemStateCache. retrieveAll()Returns all the cached item states.ItemState[]ItemStateReferenceCache. retrieveAll()Returns all the cached item states.ItemState[]MLRUItemStateCache. retrieveAll()Returns all the cached item states.Methods in org.apache.jackrabbit.core.state that return types with arguments of type ItemState Modifier and Type Method Description Iterable<ItemState>ChangeLog. addedStates()Return the added states in this change log.Iterable<ItemState>ChangeLog. deletedStates()Return the deleted states in this change log.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 asexcept that item state instances in the attic are returned.SessionItemStateManager.getDescendantTransientItemStates(ItemId)Iterable<ItemState>ChangeLog. modifiedStates()Return the modified states in this change log.Methods in org.apache.jackrabbit.core.state with parameters of type ItemState Modifier and Type Method Description voidChangeLog. added(ItemState state)A state has been addedvoidItemStateCache. cache(ItemState state)Stores the specifiedItemStateobject in the map using itsItemIdas the key.voidItemStateReferenceCache. cache(ItemState state)Stores the specifiedItemStateobject in the map using itsItemIdas the key.voidMLRUItemStateCache. cache(ItemState state)Stores the specifiedItemStateobject in the map using itsItemIdas the key.voidItemState. connect(ItemState overlayedState)Connect this state to some underlying overlayed state.abstract voidItemState. copy(ItemState state, boolean syncModCount)Copy state information from another state into this statevoidNodeState. copy(ItemState state, boolean syncModCount)Copy state information from another state into this statevoidPropertyState. copy(ItemState state, boolean syncModCount)Copy state information from another state into this statevoidChangeLog. deleted(ItemState state)A state has been deleted.voidLocalItemStateManager. destroy(ItemState state)Destroy an item state.voidSessionItemStateManager. destroy(ItemState state)Destroy an item state.voidUpdatableItemStateManager. destroy(ItemState state)Destroy an item state.voidSessionItemStateManager. disconnectTransientItemState(ItemState state)Disconnect a transient item state from its underlying persistent state.voidSessionItemStateManager. disposeTransientItemState(ItemState state)Disposes the specified transient item state instance, i.e.voidSessionItemStateManager. disposeTransientItemStateInAttic(ItemState state)Disposes the specified transient item state instance in the attic, i.e.voidChangeLog. modified(ItemState state)A state has been modified.voidSessionItemStateManager. moveTransientItemStateToAttic(ItemState state)Transfers the specified transient item state instance from the 'active' cache to the attic.voidStateChangeDispatcher. notifyStateCreated(ItemState created)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyStateDestroyed(ItemState destroyed)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyStateDiscarded(ItemState discarded)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyStateModified(ItemState modified)Notify listeners about changes to some state.voidItemStateListener. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidLocalItemStateManager. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidSessionItemStateManager. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidSharedItemStateManager. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidItemStateListener. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidLocalItemStateManager. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidSessionItemStateManager. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidSharedItemStateManager. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidItemStateListener. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidLocalItemStateManager. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidSessionItemStateManager. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidSharedItemStateManager. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidItemStateListener. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidLocalItemStateManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidSessionItemStateManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidSharedItemStateManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidXAItemStateManager. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.voidLocalItemStateManager. store(ItemState state)Store an item state.voidSessionItemStateManager. store(ItemState state)Store an item state.voidUpdatableItemStateManager. store(ItemState state)Store an item state.Constructors in org.apache.jackrabbit.core.state with parameters of type ItemState Constructor Description 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 Modifier and Type Method Description ItemStateInternalXAVersionManager. getItemState(ItemId id)Return an item state, given its item id.Methods in org.apache.jackrabbit.core.version with parameters of type ItemState Modifier and Type Method Description voidInternalVersionManagerImpl. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidInternalVersionManagerImpl. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidInternalVersionManagerImpl. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidInternalVersionManagerImpl. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e. -
Uses of ItemState in org.apache.jackrabbit.core.virtual
Subclasses of ItemState in org.apache.jackrabbit.core.virtual Modifier and Type Class Description classVirtualNodeStateThis Class implements a virtual node stateclassVirtualPropertyStateThis Class implements a virtual property stateMethods in org.apache.jackrabbit.core.virtual that return ItemState Modifier and Type Method Description ItemStateAbstractVISProvider. getItemState(ItemId id)Return an item state, given its item id.Methods in org.apache.jackrabbit.core.virtual with parameters of type ItemState Modifier and Type Method Description voidAbstractVISProvider. stateCreated(ItemState created)Called when anItemStatehas successfully been created (i.e.voidAbstractVISProvider. stateDestroyed(ItemState destroyed)Called when anItemStatehas successfully been removed (i.e.voidAbstractVISProvider. stateDiscarded(ItemState discarded)Called when anItemStatehas been discarded (i.e.voidAbstractVISProvider. stateModified(ItemState modified)Called when anItemStatehas successfully been modified (i.e.
-