Uses of Class
org.apache.jackrabbit.core.state.ItemStateException
-
Packages that use ItemStateException Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.core.nodetype.virtual org.apache.jackrabbit.core.observation org.apache.jackrabbit.core.persistence org.apache.jackrabbit.core.persistence.bundle org.apache.jackrabbit.core.persistence.db This package contains the class
, a simple generic JDBC-basedSimpleDbPersistenceManager
PersistenceManager
for Jackrabbit.org.apache.jackrabbit.core.persistence.mem org.apache.jackrabbit.core.persistence.obj org.apache.jackrabbit.core.persistence.pool org.apache.jackrabbit.core.persistence.xml org.apache.jackrabbit.core.query org.apache.jackrabbit.core.query.lucene 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 ItemStateException in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that throw ItemStateException 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.protected SharedItemStateManager
RepositoryImpl. createItemStateManager(PersistenceManager persistMgr, boolean usesReferences, ISMLocking locking)
Creates aSharedItemStateManager
or derivative.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 ItemId
HierarchyManagerImpl. resolvePath(Path.Element[] elements, int next, ItemId id, int typesAllowed)
Internal implementation that iteratively resolves a path into an item. -
Uses of ItemStateException in org.apache.jackrabbit.core.nodetype.virtual
Methods in org.apache.jackrabbit.core.nodetype.virtual that throw ItemStateException Modifier and Type Method Description protected VirtualNodeState
VirtualNodeTypeStateProvider. internalGetNodeState(NodeId id)
Retrieves the node state with the given node id -
Uses of ItemStateException in org.apache.jackrabbit.core.observation
Methods in org.apache.jackrabbit.core.observation that throw ItemStateException Modifier and Type Method Description void
EventStateCollection. createEventStates(NodeId rootNodeId, ChangeLog changes, ItemStateManager stateMgr)
static EventState
EventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)
Creates a newEvent
of typeNODE_MOVED
. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence
Methods in org.apache.jackrabbit.core.persistence that throw ItemStateException Modifier and Type Method Description protected abstract void
AbstractPersistenceManager. destroy(NodeReferences refs)
Deprecated.Destroy a node references object.protected abstract void
AbstractPersistenceManager. destroy(NodeState state)
Deprecated.Destroy a node state.protected abstract void
AbstractPersistenceManager. destroy(PropertyState state)
Deprecated.Destroy a property state.boolean
PersistenceManager. exists(NodeId id)
Checks whether the identified node exists.boolean
PersistenceManager. exists(PropertyId id)
Checks whether the identified property exists.boolean
PersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
IterablePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
IterablePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
Get allNodeInfo
s.NodeState
PersistenceManager. load(NodeId id)
Load the persistent members of a node state.PropertyState
PersistenceManager. load(PropertyId id)
Load the persistent members of a property state.NodeReferences
PersistenceManager. loadReferencesTo(NodeId id)
Load the persisted references to the node with the given identifier.void
AbstractPersistenceManager. store(ChangeLog changeLog)
Deprecated.Right now, this iterates over all items in the changelog and calls the individual methods that handle single item states or node references objects.protected abstract void
AbstractPersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.protected abstract void
AbstractPersistenceManager. store(NodeState state)
Deprecated.Store a node state.protected abstract void
AbstractPersistenceManager. store(PropertyState state)
Deprecated.Store a property state.void
PersistenceManager. store(ChangeLog changeLog)
Atomically saves the given set of changes. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.bundle
Methods in org.apache.jackrabbit.core.persistence.bundle that throw ItemStateException Modifier and Type Method Description protected abstract void
AbstractBundlePersistenceManager. destroy(NodeReferences refs)
Deletes the node references from the underlying system.void
BundleFsPersistenceManager. destroy(NodeReferences refs)
Deletes the node references from the underlying system.protected abstract void
AbstractBundlePersistenceManager. destroyBundle(NodePropBundle bundle)
Deletes the bundle from the underlying system.protected void
BundleFsPersistenceManager. destroyBundle(NodePropBundle bundle)
Deletes the bundle from the underlying system.boolean
AbstractBundlePersistenceManager. exists(NodeId id)
Checks whether the identified node exists.boolean
AbstractBundlePersistenceManager. exists(PropertyId id)
Checks whether the identified property exists.boolean
BundleFsPersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
BundleFsPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
AbstractBundlePersistenceManager. getAllNodeInfos(NodeId after, int maxCount)
NodeState
AbstractBundlePersistenceManager. load(NodeId id)
Load the persistent members of a node state.PropertyState
AbstractBundlePersistenceManager. load(PropertyId id)
Load the persistent members of a property state.protected abstract NodePropBundle
AbstractBundlePersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.protected NodePropBundle
BundleFsPersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
BundleFsPersistenceManager. loadReferencesTo(NodeId targetId)
Load the persisted references to the node with the given identifier.void
AbstractBundlePersistenceManager. store(ChangeLog changeLog)
Right now, this iterates over all items in the changelog and calls the individual methods that handle single item states or node references objects.protected abstract void
AbstractBundlePersistenceManager. store(NodeReferences refs)
Stores a node references to the underlying system.void
BundleFsPersistenceManager. store(NodeReferences refs)
Stores a node references to the underlying system.protected abstract void
AbstractBundlePersistenceManager. storeBundle(NodePropBundle bundle)
Stores a bundle to the underlying system.protected void
BundleFsPersistenceManager. storeBundle(NodePropBundle bundle)
Stores a bundle to the underlying system. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.db
Methods in org.apache.jackrabbit.core.persistence.db that throw ItemStateException Modifier and Type Method Description void
DatabasePersistenceManager. destroy(NodeReferences refs)
Deprecated.Destroy a node references object.void
DatabasePersistenceManager. destroy(NodeState state)
Deprecated.Destroy a node state.void
DatabasePersistenceManager. destroy(PropertyState state)
Deprecated.Destroy a property state.boolean
DatabasePersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
DatabasePersistenceManager. exists(PropertyId id)
Deprecated.Checks whether the identified property exists.boolean
DatabasePersistenceManager. existsReferencesTo(NodeId targetId)
Deprecated.Checks whether references of the identified target node exist.NodeState
DatabasePersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.PropertyState
DatabasePersistenceManager. load(PropertyId id)
Deprecated.Load the persistent members of a property state.NodeReferences
DatabasePersistenceManager. loadReferencesTo(NodeId targetId)
Deprecated.Load the persisted references to the node with the given identifier.void
DatabasePersistenceManager. store(ChangeLog changeLog)
Deprecated.Right now, this iterates over all items in the changelog and calls the individual methods that handle single item states or node references objects.void
DatabasePersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.void
DatabasePersistenceManager. store(NodeState state)
Deprecated.Store a node state.void
DatabasePersistenceManager. store(PropertyState state)
Deprecated.Store a property state.void
OraclePersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.void
OraclePersistenceManager. store(NodeState state)
Deprecated.Store a node state.void
OraclePersistenceManager. store(PropertyState state)
Deprecated.Store a property state. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.mem
Methods in org.apache.jackrabbit.core.persistence.mem that throw ItemStateException Modifier and Type Method Description protected void
InMemBundlePersistenceManager. destroy(NodeReferences refs)
Deletes the node references from the underlying system.protected void
InMemPersistenceManager. destroy(NodeReferences refs)
Deprecated.Destroy a node references object.protected void
InMemPersistenceManager. destroy(NodeState state)
Deprecated.Destroy a node state.protected void
InMemPersistenceManager. destroy(PropertyState state)
Deprecated.Destroy a property state.protected void
InMemBundlePersistenceManager. destroyBundle(NodePropBundle bundle)
Deletes the bundle from the underlying system.boolean
InMemPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
InMemPersistenceManager. exists(PropertyId id)
Deprecated.Checks whether the identified property exists.boolean
InMemBundlePersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.boolean
InMemPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.List<NodeId>
InMemBundlePersistenceManager. getAllNodeIds(NodeId after, int maxCount)
Get all node ids.NodeState
InMemPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.PropertyState
InMemPersistenceManager. load(PropertyId id)
Deprecated.Load the persistent members of a property state.protected NodePropBundle
InMemBundlePersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
InMemBundlePersistenceManager. loadReferencesTo(NodeId id)
Load the persisted references to the node with the given identifier.NodeReferences
InMemPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier.protected void
InMemBundlePersistenceManager. store(NodeReferences refs)
Stores a node references to the underlying system.protected void
InMemPersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.protected void
InMemPersistenceManager. store(NodeState state)
Deprecated.Store a node state.protected void
InMemPersistenceManager. store(PropertyState state)
Deprecated.Store a property state.protected void
InMemBundlePersistenceManager. storeBundle(NodePropBundle bundle)
Stores a bundle to the underlying system. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.obj
Methods in org.apache.jackrabbit.core.persistence.obj that throw ItemStateException Modifier and Type Method Description protected void
ObjectPersistenceManager. destroy(NodeReferences refs)
Deprecated.Destroy a node references object.protected void
ObjectPersistenceManager. destroy(NodeState state)
Deprecated.Destroy a node state.protected void
ObjectPersistenceManager. destroy(PropertyState state)
Deprecated.Destroy a property state.boolean
ObjectPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
ObjectPersistenceManager. exists(PropertyId id)
Deprecated.Checks whether the identified property exists.boolean
ObjectPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.NodeState
ObjectPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.PropertyState
ObjectPersistenceManager. load(PropertyId id)
Deprecated.Load the persistent members of a property state.NodeReferences
ObjectPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier.protected void
ObjectPersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.protected void
ObjectPersistenceManager. store(NodeState state)
Deprecated.Store a node state.protected void
ObjectPersistenceManager. store(PropertyState state)
Deprecated.Store a property state. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.pool
Methods in org.apache.jackrabbit.core.persistence.pool that throw ItemStateException Modifier and Type Method Description void
BundleDbPersistenceManager. destroy(NodeReferences refs)
Deletes the node references from the underlying system.protected void
BundleDbPersistenceManager. destroyBundle(NodePropBundle bundle)
Deletes the bundle from the underlying system.boolean
BundleDbPersistenceManager. existsReferencesTo(NodeId targetId)
Checks whether references of the identified target node exist.List<NodeId>
BundleDbPersistenceManager. getAllNodeIds(NodeId bigger, int maxCount)
Get all node ids.Map<NodeId,NodeInfo>
BundleDbPersistenceManager. getAllNodeInfos(NodeId bigger, int maxCount)
Get allNodeInfo
s.protected NodePropBundle
BundleDbPersistenceManager. loadBundle(NodeId id)
Loads a bundle from the underlying system.NodeReferences
BundleDbPersistenceManager. loadReferencesTo(NodeId targetId)
Load the persisted references to the node with the given identifier.void
BundleDbPersistenceManager. store(ChangeLog changeLog)
Right now, this iterates over all items in the changelog and calls the individual methods that handle single item states or node references objects.void
BundleDbPersistenceManager. store(NodeReferences refs)
Stores a node references to the underlying system.protected void
BundleDbPersistenceManager. storeBundle(NodePropBundle bundle)
Stores a bundle to the underlying system. -
Uses of ItemStateException in org.apache.jackrabbit.core.persistence.xml
Methods in org.apache.jackrabbit.core.persistence.xml that throw ItemStateException Modifier and Type Method Description protected void
XMLPersistenceManager. destroy(NodeReferences refs)
Deprecated.Destroy a node references object.protected void
XMLPersistenceManager. destroy(NodeState state)
Deprecated.Destroy a node state.protected void
XMLPersistenceManager. destroy(PropertyState state)
Deprecated.Destroy a property state.boolean
XMLPersistenceManager. exists(NodeId id)
Deprecated.Checks whether the identified node exists.boolean
XMLPersistenceManager. exists(PropertyId id)
Deprecated.Checks whether the identified property exists.boolean
XMLPersistenceManager. existsReferencesTo(NodeId id)
Deprecated.Checks whether references of the identified target node exist.NodeState
XMLPersistenceManager. load(NodeId id)
Deprecated.Load the persistent members of a node state.PropertyState
XMLPersistenceManager. load(PropertyId id)
Deprecated.Load the persistent members of a property state.NodeReferences
XMLPersistenceManager. loadReferencesTo(NodeId id)
Deprecated.Load the persisted references to the node with the given identifier.protected void
XMLPersistenceManager. store(NodeReferences refs)
Deprecated.Store a references object.protected void
XMLPersistenceManager. store(NodeState state)
Deprecated.Store a node state.protected void
XMLPersistenceManager. store(PropertyState state)
Deprecated.Store a property state. -
Uses of ItemStateException in org.apache.jackrabbit.core.query
Methods in org.apache.jackrabbit.core.query with parameters of type ItemStateException Modifier and Type Method Description void
OnWorkspaceInconsistency. logError(ItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)
Logs a generic workspace inconsistency error.Methods in org.apache.jackrabbit.core.query that throw ItemStateException Modifier and Type Method Description abstract void
OnWorkspaceInconsistency. handleMissingChildNode(NoSuchItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)
Handle a missing child node state. -
Uses of ItemStateException in org.apache.jackrabbit.core.query.lucene
Methods in org.apache.jackrabbit.core.query.lucene that throw ItemStateException Modifier and Type Method Description protected void
NodeIndexer. addParentChildRelation(Document doc, NodeId parentId)
Adds a parent child relation to the givendoc
.NodeState[]
AggregateRule. getAggregatedNodeStates(NodeState nodeState)
Returns the node states that are part of the indexing aggregate of thenodeState
.PropertyState[]
AggregateRule. getAggregatedPropertyStates(NodeState nodeState)
Returns the property states that are part of the indexing aggregate of thenodeState
.NodeState
AggregateRule. getAggregateRoot(NodeState nodeState)
Returns root node state for the indexing aggregate wherenodeState
belongs to.protected Path
SearchIndex. getRelativePath(NodeState nodeState, PropertyState propState)
Returns the relative path fromnodeState
topropState
.protected InternalValue
NodeIndexer. getValue(Name name)
Utility method that extracts the first value of the named property of the current node. -
Uses of ItemStateException in org.apache.jackrabbit.core.state
Subclasses of ItemStateException in org.apache.jackrabbit.core.state Modifier and Type Class Description class
NoSuchItemStateException
TheNoSuchItemStateException
...class
StaleItemStateException
Signals that an item has been modified externally and that the item state representing it has thus become stale.Methods in org.apache.jackrabbit.core.state that throw ItemStateException Modifier and Type Method Description org.apache.jackrabbit.core.state.SharedItemStateManager.Update
SharedItemStateManager. beginUpdate(ChangeLog local, EventStateCollectionFactory factory, VirtualItemStateProvider virtualProvider)
Begin update operation.void
ItemState. connect(ItemState overlayedState)
Connect this state to some underlying overlayed state.PropertyState
SessionItemStateManager. createNew(PropertyState transientState)
Customized variant ofSessionItemStateManager.createNew(Name, NodeId)
that connects the newly created persistent state with the transient state.NodeState
SessionItemStateManager. createTransientNodeState(NodeState overlayedState, int initialStatus)
PropertyState
SessionItemStateManager. createTransientPropertyState(NodeId parentId, Name propName, int initialStatus)
PropertyState
SessionItemStateManager. createTransientPropertyState(PropertyState overlayedState, int initialStatus)
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.NodeReferences
ItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
LocalItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
SessionItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
SharedItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
XAItemStateManager. getNodeReferences(NodeId id)
Return a node references object, given its target idprotected NodeState
LocalItemStateManager. getNodeState(NodeId id)
Retrieve a node state from the parent shared state manager and wraps it into a intermediate object that helps us handle local modifications.protected PropertyState
LocalItemStateManager. getPropertyState(PropertyId id)
Retrieve a property state from the parent shared state manager and wraps it into a intermediate object that helps us handle local modifications.ItemState
SessionItemStateManager. getTransientItemState(ItemId id)
protected void
ItemState. reconnect()
Reconnect this state to the overlayed state that it has been disconnected from earlier.void
LocalItemStateManager. update()
End an update operation.protected void
LocalItemStateManager. update(ChangeLog changeLog)
End an update operation.void
SessionItemStateManager. update()
End an update operation.void
SharedItemStateManager. update(ChangeLog local, EventStateCollectionFactory factory)
Store modifications registered in aChangeLog
.void
UpdatableItemStateManager. update()
End an update operation.protected void
XAItemStateManager. update(ChangeLog changeLog)
End an update operation.Constructors in org.apache.jackrabbit.core.state that throw ItemStateException Constructor Description SharedItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory, ISMLocking locking, NodeIdFactory nodeIdFactory)
Creates a newSharedItemStateManager
instance. -
Uses of ItemStateException in org.apache.jackrabbit.core.version
Methods in org.apache.jackrabbit.core.version that throw ItemStateException Modifier and Type Method Description protected void
VersionItemStateManager. checkReferentialIntegrity(ChangeLog changes)
protected VersionItemStateManager
InternalVersionManagerImpl. createItemStateManager(PersistenceManager pMgr, NodeId rootId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking, NodeIdFactory nodeIdFactory)
Creates aVersionItemStateManager
or derivative.ItemState
InternalXAVersionManager. getItemState(ItemId id)
Return an item state, given its item id.NodeReferences
InternalXAVersionManager. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeReferences
VersionItemStateManager. getNodeReferences(NodeId id)
PropertyState[]
NodeStateEx. getProperties()
Returns the properties of this nodeprotected Set<InternalVersion>
VersionManagerImplRestore. internalRestore(NodeStateEx state, InternalVersion version, VersionSelector vsel, boolean removeExisting)
Internal method to restore a version.protected void
VersionManagerImplRestore. internalRestore(VersionSet versions, boolean removeExisting)
protected void
VersionManagerImplRestore. internalRestoreFrozen(NodeStateEx state, InternalFrozenNode freeze, VersionSelector vsel, Set<InternalVersion> restored, boolean removeExisting, boolean copy)
Restores the properties and child nodes from the frozen state.protected void
VersionManagerImplMerge. merge(NodeStateEx state, NodeStateEx srcRoot, List<ItemId> failedIds, boolean bestEffort, boolean shallow)
Merges/Updates this node with its corresponding onesvoid
VersionManagerImplBase.WriteOperation. save()
Saves the pending operations in theLocalItemStateManager
.Constructors in org.apache.jackrabbit.core.version that throw ItemStateException Constructor Description VersionItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking locking, NodeIdFactory nodeIdFactory)
-
Uses of ItemStateException in org.apache.jackrabbit.core.virtual
Methods in org.apache.jackrabbit.core.virtual that throw ItemStateException Modifier and Type Method Description ItemState
AbstractVISProvider. getItemState(ItemId id)
Return an item state, given its item id.NodeReferences
AbstractVISProvider. getNodeReferences(NodeId id)
Return a node references object, given its target idNodeState
AbstractVISProvider. getRootState()
Returns the root stateprotected abstract VirtualNodeState
AbstractVISProvider. internalGetNodeState(NodeId id)
Retrieves the node state with the given node idprotected VirtualPropertyState
AbstractVISProvider. internalGetPropertyState(PropertyId id)
Retrieves the property state for the given id
-