| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
protected ItemState | 
ZombieHierarchyManager.getItemState(ItemId id)
Return an item state, given its item id. 
 | 
protected ItemState | 
HierarchyManagerImpl.getItemState(ItemId id)
Return an item state, given its item id. 
 | 
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 | 
PropertyImpl.getOrCreateTransientItemState()  | 
protected ItemState | 
NodeImpl.getOrCreateTransientItemState()  | 
protected abstract ItemState | 
ItemImpl.getOrCreateTransientItemState()  | 
ItemState | 
ItemData.getState()
Return the associated item state. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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. 
 | 
void | 
BatchedItemOperations.destroy(ItemState state)
Destroy an item state. 
 | 
protected NodeId | 
ZombieHierarchyManager.getParentId(ItemState state)
Returns the  
parentUUID of the given item. | 
protected NodeId | 
HierarchyManagerImpl.getParentId(ItemState state)
Returns the  
parentUUID 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 | 
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 | 
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 | 
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 | 
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. 
 | 
| Constructor and Description | 
|---|
ItemData(ItemState state,
        ItemManager itemMgr)
Create a new instance of this class. 
 | 
ItemRefreshOperation(ItemState state,
                    boolean keepChanges)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
NodeState
NodeState represents the state of a Node. | 
class  | 
PropertyState
PropertyState represents the state of a Property. | 
| Modifier and Type | Field and Description | 
|---|---|
protected ItemState | 
ItemState.overlayedState
the backing persistent item state (may be null) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
ItemState | 
SharedItemStateManager.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 | 
LocalItemStateManager.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 | 
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. 
 | 
| Modifier and Type | Method and 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. | 
Iterable<ItemState> | 
ChangeLog.modifiedStates()
Return the modified states in this change log. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
void | 
ItemState.connect(ItemState overlayedState)
Connect this state to some underlying overlayed state. 
 | 
void | 
PropertyState.copy(ItemState state,
    boolean syncModCount)
Copy state information from another state into this state 
 | 
void | 
NodeState.copy(ItemState state,
    boolean syncModCount)
Copy state information from another state into this state 
 | 
abstract void | 
ItemState.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 | 
UpdatableItemStateManager.destroy(ItemState state)
Destroy an item state. 
 | 
void | 
SessionItemStateManager.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 | 
SharedItemStateManager.stateCreated(ItemState created)
Called when an  
ItemState has successfully
 been created (i.e. | 
void | 
SessionItemStateManager.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. | 
void | 
ItemStateListener.stateCreated(ItemState created)
Called when an  
ItemState has successfully
 been created (i.e. | 
void | 
SharedItemStateManager.stateDestroyed(ItemState destroyed)
Called when an  
ItemState has successfully been
 removed (i.e. | 
void | 
SessionItemStateManager.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. | 
void | 
ItemStateListener.stateDestroyed(ItemState destroyed)
Called when an  
ItemState has successfully been
 removed (i.e. | 
void | 
SharedItemStateManager.stateDiscarded(ItemState discarded)
Called when an  
ItemState has been discarded (i.e. | 
void | 
SessionItemStateManager.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. | 
void | 
ItemStateListener.stateDiscarded(ItemState discarded)
Called when an  
ItemState has been discarded (i.e. | 
void | 
XAItemStateManager.stateModified(ItemState modified)
Called when an  
ItemState has successfully
 been modified (i.e. | 
void | 
SharedItemStateManager.stateModified(ItemState modified)
Called when an  
ItemState has successfully
 been modified (i.e. | 
void | 
SessionItemStateManager.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. | 
void | 
ItemStateListener.stateModified(ItemState modified)
Called when an  
ItemState has successfully
 been modified (i.e. | 
void | 
UpdatableItemStateManager.store(ItemState state)
Store an item state. 
 | 
void | 
SessionItemStateManager.store(ItemState state)
Store an item state. 
 | 
void | 
LocalItemStateManager.store(ItemState state)
Store an item state. 
 | 
| Constructor and Description | 
|---|
ItemState(ItemState overlayedState,
         int initialStatus,
         boolean isTransient)
Constructs a new item state that is initially connected to an overlayed
 state. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ItemState | 
InternalXAVersionManager.getItemState(ItemId id)
Return an item state, given its item id. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
InternalVersionManagerImpl.stateCreated(ItemState created)
Called when an  
ItemState has successfully
 been created (i.e. | 
void | 
InternalVersionManagerImpl.stateDestroyed(ItemState destroyed)
Called when an  
ItemState has successfully been
 removed (i.e. | 
void | 
InternalVersionManagerImpl.stateDiscarded(ItemState discarded)
Called when an  
ItemState has been discarded (i.e. | 
void | 
InternalVersionManagerImpl.stateModified(ItemState modified)
Called when an  
ItemState has successfully
 been modified (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
VirtualNodeState
This Class implements a virtual node state 
 | 
class  | 
VirtualPropertyState
This Class implements a virtual property state 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ItemState | 
AbstractVISProvider.getItemState(ItemId id)
Return an item state, given its item id. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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-2020 The Apache Software Foundation. All Rights Reserved.