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-basedSimpleDbPersistenceManagerPersistenceManagerfor 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 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.protected SharedItemStateManagerRepositoryImpl. createItemStateManager(PersistenceManager persistMgr, boolean usesReferences, ISMLocking locking)Creates aSharedItemStateManageror derivative.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 ItemIdHierarchyManagerImpl. 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 VirtualNodeStateVirtualNodeTypeStateProvider. 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 voidEventStateCollection. createEventStates(NodeId rootNodeId, ChangeLog changes, ItemStateManager stateMgr)static EventStateEventState. nodeMovedWithInfo(NodeId parentId, Path destPath, NodeId childId, Path srcPath, Name nodeType, Set<Name> mixins, Session session, boolean external)Creates a newEventof 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 voidAbstractPersistenceManager. destroy(NodeReferences refs)Deprecated.Destroy a node references object.protected abstract voidAbstractPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected abstract voidAbstractPersistenceManager. destroy(PropertyState state)Deprecated.Destroy a property state.booleanPersistenceManager. exists(NodeId id)Checks whether the identified node exists.booleanPersistenceManager. exists(PropertyId id)Checks whether the identified property exists.booleanPersistenceManager. 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 allNodeInfos.NodeStatePersistenceManager. load(NodeId id)Load the persistent members of a node state.PropertyStatePersistenceManager. load(PropertyId id)Load the persistent members of a property state.NodeReferencesPersistenceManager. loadReferencesTo(NodeId id)Load the persisted references to the node with the given identifier.voidAbstractPersistenceManager. 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 voidAbstractPersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.protected abstract voidAbstractPersistenceManager. store(NodeState state)Deprecated.Store a node state.protected abstract voidAbstractPersistenceManager. store(PropertyState state)Deprecated.Store a property state.voidPersistenceManager. 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 voidAbstractBundlePersistenceManager. destroy(NodeReferences refs)Deletes the node references from the underlying system.voidBundleFsPersistenceManager. destroy(NodeReferences refs)Deletes the node references from the underlying system.protected abstract voidAbstractBundlePersistenceManager. destroyBundle(NodePropBundle bundle)Deletes the bundle from the underlying system.protected voidBundleFsPersistenceManager. destroyBundle(NodePropBundle bundle)Deletes the bundle from the underlying system.booleanAbstractBundlePersistenceManager. exists(NodeId id)Checks whether the identified node exists.booleanAbstractBundlePersistenceManager. exists(PropertyId id)Checks whether the identified property exists.booleanBundleFsPersistenceManager. 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)NodeStateAbstractBundlePersistenceManager. load(NodeId id)Load the persistent members of a node state.PropertyStateAbstractBundlePersistenceManager. load(PropertyId id)Load the persistent members of a property state.protected abstract NodePropBundleAbstractBundlePersistenceManager. loadBundle(NodeId id)Loads a bundle from the underlying system.protected NodePropBundleBundleFsPersistenceManager. loadBundle(NodeId id)Loads a bundle from the underlying system.NodeReferencesBundleFsPersistenceManager. loadReferencesTo(NodeId targetId)Load the persisted references to the node with the given identifier.voidAbstractBundlePersistenceManager. 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 voidAbstractBundlePersistenceManager. store(NodeReferences refs)Stores a node references to the underlying system.voidBundleFsPersistenceManager. store(NodeReferences refs)Stores a node references to the underlying system.protected abstract voidAbstractBundlePersistenceManager. storeBundle(NodePropBundle bundle)Stores a bundle to the underlying system.protected voidBundleFsPersistenceManager. 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 voidDatabasePersistenceManager. destroy(NodeReferences refs)Deprecated.Destroy a node references object.voidDatabasePersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.voidDatabasePersistenceManager. destroy(PropertyState state)Deprecated.Destroy a property state.booleanDatabasePersistenceManager. exists(NodeId id)Deprecated.Checks whether the identified node exists.booleanDatabasePersistenceManager. exists(PropertyId id)Deprecated.Checks whether the identified property exists.booleanDatabasePersistenceManager. existsReferencesTo(NodeId targetId)Deprecated.Checks whether references of the identified target node exist.NodeStateDatabasePersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.PropertyStateDatabasePersistenceManager. load(PropertyId id)Deprecated.Load the persistent members of a property state.NodeReferencesDatabasePersistenceManager. loadReferencesTo(NodeId targetId)Deprecated.Load the persisted references to the node with the given identifier.voidDatabasePersistenceManager. 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.voidDatabasePersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.voidDatabasePersistenceManager. store(NodeState state)Deprecated.Store a node state.voidDatabasePersistenceManager. store(PropertyState state)Deprecated.Store a property state.voidOraclePersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.voidOraclePersistenceManager. store(NodeState state)Deprecated.Store a node state.voidOraclePersistenceManager. 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 voidInMemBundlePersistenceManager. destroy(NodeReferences refs)Deletes the node references from the underlying system.protected voidInMemPersistenceManager. destroy(NodeReferences refs)Deprecated.Destroy a node references object.protected voidInMemPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidInMemPersistenceManager. destroy(PropertyState state)Deprecated.Destroy a property state.protected voidInMemBundlePersistenceManager. destroyBundle(NodePropBundle bundle)Deletes the bundle from the underlying system.booleanInMemPersistenceManager. exists(NodeId id)Deprecated.Checks whether the identified node exists.booleanInMemPersistenceManager. exists(PropertyId id)Deprecated.Checks whether the identified property exists.booleanInMemBundlePersistenceManager. existsReferencesTo(NodeId targetId)Checks whether references of the identified target node exist.booleanInMemPersistenceManager. 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.NodeStateInMemPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.PropertyStateInMemPersistenceManager. load(PropertyId id)Deprecated.Load the persistent members of a property state.protected NodePropBundleInMemBundlePersistenceManager. loadBundle(NodeId id)Loads a bundle from the underlying system.NodeReferencesInMemBundlePersistenceManager. loadReferencesTo(NodeId id)Load the persisted references to the node with the given identifier.NodeReferencesInMemPersistenceManager. loadReferencesTo(NodeId id)Deprecated.Load the persisted references to the node with the given identifier.protected voidInMemBundlePersistenceManager. store(NodeReferences refs)Stores a node references to the underlying system.protected voidInMemPersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.protected voidInMemPersistenceManager. store(NodeState state)Deprecated.Store a node state.protected voidInMemPersistenceManager. store(PropertyState state)Deprecated.Store a property state.protected voidInMemBundlePersistenceManager. 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 voidObjectPersistenceManager. destroy(NodeReferences refs)Deprecated.Destroy a node references object.protected voidObjectPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidObjectPersistenceManager. destroy(PropertyState state)Deprecated.Destroy a property state.booleanObjectPersistenceManager. exists(NodeId id)Deprecated.Checks whether the identified node exists.booleanObjectPersistenceManager. exists(PropertyId id)Deprecated.Checks whether the identified property exists.booleanObjectPersistenceManager. existsReferencesTo(NodeId id)Deprecated.Checks whether references of the identified target node exist.NodeStateObjectPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.PropertyStateObjectPersistenceManager. load(PropertyId id)Deprecated.Load the persistent members of a property state.NodeReferencesObjectPersistenceManager. loadReferencesTo(NodeId id)Deprecated.Load the persisted references to the node with the given identifier.protected voidObjectPersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.protected voidObjectPersistenceManager. store(NodeState state)Deprecated.Store a node state.protected voidObjectPersistenceManager. 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 voidBundleDbPersistenceManager. destroy(NodeReferences refs)Deletes the node references from the underlying system.protected voidBundleDbPersistenceManager. destroyBundle(NodePropBundle bundle)Deletes the bundle from the underlying system.booleanBundleDbPersistenceManager. 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 allNodeInfos.protected NodePropBundleBundleDbPersistenceManager. loadBundle(NodeId id)Loads a bundle from the underlying system.NodeReferencesBundleDbPersistenceManager. loadReferencesTo(NodeId targetId)Load the persisted references to the node with the given identifier.voidBundleDbPersistenceManager. 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.voidBundleDbPersistenceManager. store(NodeReferences refs)Stores a node references to the underlying system.protected voidBundleDbPersistenceManager. 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 voidXMLPersistenceManager. destroy(NodeReferences refs)Deprecated.Destroy a node references object.protected voidXMLPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidXMLPersistenceManager. destroy(PropertyState state)Deprecated.Destroy a property state.booleanXMLPersistenceManager. exists(NodeId id)Deprecated.Checks whether the identified node exists.booleanXMLPersistenceManager. exists(PropertyId id)Deprecated.Checks whether the identified property exists.booleanXMLPersistenceManager. existsReferencesTo(NodeId id)Deprecated.Checks whether references of the identified target node exist.NodeStateXMLPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.PropertyStateXMLPersistenceManager. load(PropertyId id)Deprecated.Load the persistent members of a property state.NodeReferencesXMLPersistenceManager. loadReferencesTo(NodeId id)Deprecated.Load the persisted references to the node with the given identifier.protected voidXMLPersistenceManager. store(NodeReferences refs)Deprecated.Store a references object.protected voidXMLPersistenceManager. store(NodeState state)Deprecated.Store a node state.protected voidXMLPersistenceManager. 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 voidOnWorkspaceInconsistency. 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 voidOnWorkspaceInconsistency. 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 voidNodeIndexer. 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.NodeStateAggregateRule. getAggregateRoot(NodeState nodeState)Returns root node state for the indexing aggregate wherenodeStatebelongs to.protected PathSearchIndex. getRelativePath(NodeState nodeState, PropertyState propState)Returns the relative path fromnodeStatetopropState.protected InternalValueNodeIndexer. 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 classNoSuchItemStateExceptionTheNoSuchItemStateException...classStaleItemStateExceptionSignals 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.UpdateSharedItemStateManager. beginUpdate(ChangeLog local, EventStateCollectionFactory factory, VirtualItemStateProvider virtualProvider)Begin update operation.voidItemState. connect(ItemState overlayedState)Connect this state to some underlying overlayed state.PropertyStateSessionItemStateManager. createNew(PropertyState transientState)Customized variant ofSessionItemStateManager.createNew(Name, NodeId)that connects the newly created persistent state with the transient state.NodeStateSessionItemStateManager. createTransientNodeState(NodeState overlayedState, int initialStatus)PropertyStateSessionItemStateManager. createTransientPropertyState(NodeId parentId, Name propName, int initialStatus)PropertyStateSessionItemStateManager. createTransientPropertyState(PropertyState overlayedState, int initialStatus)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.NodeReferencesItemStateManager. getNodeReferences(NodeId id)Return a node references object, given its target idNodeReferencesLocalItemStateManager. getNodeReferences(NodeId id)Return a node references object, given its target idNodeReferencesSessionItemStateManager. getNodeReferences(NodeId id)Return a node references object, given its target idNodeReferencesSharedItemStateManager. getNodeReferences(NodeId id)Return a node references object, given its target idNodeReferencesXAItemStateManager. getNodeReferences(NodeId id)Return a node references object, given its target idprotected NodeStateLocalItemStateManager. 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 PropertyStateLocalItemStateManager. 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.ItemStateSessionItemStateManager. getTransientItemState(ItemId id)protected voidItemState. reconnect()Reconnect this state to the overlayed state that it has been disconnected from earlier.voidLocalItemStateManager. update()End an update operation.protected voidLocalItemStateManager. update(ChangeLog changeLog)End an update operation.voidSessionItemStateManager. update()End an update operation.voidSharedItemStateManager. update(ChangeLog local, EventStateCollectionFactory factory)Store modifications registered in aChangeLog.voidUpdatableItemStateManager. update()End an update operation.protected voidXAItemStateManager. 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 newSharedItemStateManagerinstance. -
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 voidVersionItemStateManager. checkReferentialIntegrity(ChangeLog changes)protected VersionItemStateManagerInternalVersionManagerImpl. createItemStateManager(PersistenceManager pMgr, NodeId rootId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking ismLocking, NodeIdFactory nodeIdFactory)Creates aVersionItemStateManageror derivative.ItemStateInternalXAVersionManager. getItemState(ItemId id)Return an item state, given its item id.NodeReferencesInternalXAVersionManager. getNodeReferences(NodeId id)Return a node references object, given its target idNodeReferencesVersionItemStateManager. 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 voidVersionManagerImplRestore. internalRestore(VersionSet versions, boolean removeExisting)protected voidVersionManagerImplRestore. 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 voidVersionManagerImplMerge. merge(NodeStateEx state, NodeStateEx srcRoot, List<ItemId> failedIds, boolean bestEffort, boolean shallow)Merges/Updates this node with its corresponding onesvoidVersionManagerImplBase.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 ItemStateAbstractVISProvider. getItemState(ItemId id)Return an item state, given its item id.NodeReferencesAbstractVISProvider. getNodeReferences(NodeId id)Return a node references object, given its target idNodeStateAbstractVISProvider. getRootState()Returns the root stateprotected abstract VirtualNodeStateAbstractVISProvider. internalGetNodeState(NodeId id)Retrieves the node state with the given node idprotected VirtualPropertyStateAbstractVISProvider. internalGetPropertyState(PropertyId id)Retrieves the property state for the given id
-