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 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.protected abstract ItemState
ItemImpl. getOrCreateTransientItemState()
protected ItemState
NodeImpl. getOrCreateTransientItemState()
protected ItemState
PropertyImpl. getOrCreateTransientItemState()
ItemState
ItemData. getState()
Return the associated item state.Methods in org.apache.jackrabbit.core with parameters of type ItemState Modifier and Type Method Description protected void
CachingHierarchyManager. buildPath(PathBuilder builder, ItemState state, HierarchyManagerImpl.CycleDetector detector)
Adds the path element of an item id to the path currently being built.protected void
HierarchyManagerImpl. buildPath(PathBuilder builder, ItemState state, HierarchyManagerImpl.CycleDetector detector)
Adds the path element of an item id to the path currently being built.void
BatchedItemOperations. destroy(ItemState state)
Destroy an item state.protected NodeId
HierarchyManagerImpl. getParentId(ItemState state)
Returns theparentUUID
of the given item.protected NodeId
ZombieHierarchyManager. getParentId(ItemState state)
Returns theparentUUID
of the given item.protected Set<NodeId>
HierarchyManagerImpl. getParentIds(ItemState state, boolean useOverlayed)
Return all parents of a node.protected void
ItemData. setState(ItemState state)
Set the associated item state.void
CachingHierarchyManager. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
ItemManager. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
CachingHierarchyManager. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
ItemManager. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
CachingHierarchyManager. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
ItemManager. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
CachingHierarchyManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
ItemManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
BatchedItemOperations. 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 class
NodeState
NodeState
represents the state of aNode
.class
PropertyState
PropertyState
represents the state of aProperty
.Fields in org.apache.jackrabbit.core.state declared as ItemState Modifier and Type Field Description protected ItemState
ItemState. overlayedState
the backing persistent item state (may be null)Methods in org.apache.jackrabbit.core.state that return ItemState Modifier and Type Method Description ItemState
ChangeLog. get(ItemId id)
Return an item state given its 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
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
ItemState. getOverlayedState()
Returns the persistent state backing this transient state ornull
if there is no persistent state (i.e..ItemState
SessionItemStateManager. getTransientItemState(ItemId id)
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
.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 as
except 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 void
ChangeLog. added(ItemState state)
A state has been addedvoid
ItemStateCache. cache(ItemState state)
Stores the specifiedItemState
object in the map using itsItemId
as the key.void
ItemStateReferenceCache. cache(ItemState state)
Stores the specifiedItemState
object in the map using itsItemId
as the key.void
MLRUItemStateCache. cache(ItemState state)
Stores the specifiedItemState
object in the map using itsItemId
as the key.void
ItemState. connect(ItemState overlayedState)
Connect this state to some underlying overlayed state.abstract void
ItemState. copy(ItemState state, boolean syncModCount)
Copy state information from another state into this statevoid
NodeState. copy(ItemState state, boolean syncModCount)
Copy state information from another state into this statevoid
PropertyState. copy(ItemState state, boolean syncModCount)
Copy state information from another state into this statevoid
ChangeLog. deleted(ItemState state)
A state has been deleted.void
LocalItemStateManager. destroy(ItemState state)
Destroy an item state.void
SessionItemStateManager. destroy(ItemState state)
Destroy an item state.void
UpdatableItemStateManager. 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
ItemStateListener. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
LocalItemStateManager. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
SessionItemStateManager. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
SharedItemStateManager. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
ItemStateListener. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
LocalItemStateManager. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
SessionItemStateManager. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
SharedItemStateManager. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
ItemStateListener. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
LocalItemStateManager. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
SessionItemStateManager. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
SharedItemStateManager. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
ItemStateListener. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
LocalItemStateManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
SessionItemStateManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
SharedItemStateManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
XAItemStateManager. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.void
LocalItemStateManager. store(ItemState state)
Store an item state.void
SessionItemStateManager. store(ItemState state)
Store an item state.void
UpdatableItemStateManager. 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 ItemState
InternalXAVersionManager. 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 void
InternalVersionManagerImpl. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
InternalVersionManagerImpl. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
InternalVersionManagerImpl. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
InternalVersionManagerImpl. stateModified(ItemState modified)
Called when anItemState
has 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 class
VirtualNodeState
This Class implements a virtual node stateclass
VirtualPropertyState
This Class implements a virtual property stateMethods in org.apache.jackrabbit.core.virtual that return ItemState Modifier and Type Method Description 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 Modifier and Type Method Description void
AbstractVISProvider. stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
AbstractVISProvider. stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
AbstractVISProvider. stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
AbstractVISProvider. stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.
-