Uses of Class
org.apache.jackrabbit.core.state.ItemStateException

Packages that use ItemStateException
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 SimpleDbPersistenceManager, a simple generic JDBC-based PersistenceManager for Jackrabbit. 
org.apache.jackrabbit.core.persistence.mem   
org.apache.jackrabbit.core.persistence.obj   
org.apache.jackrabbit.core.persistence.xml   
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
protected  void CachingHierarchyManager.buildPath(Path.PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built.

Overridden method tries to find a mapping for the intermediate item state and add its path elements to the builder currently being used.

protected  void HierarchyManagerImpl.buildPath(Path.PathBuilder builder, ItemState state)
          Adds the path element of an item id to the path currently being built.
protected  SharedItemStateManager RepositoryImpl.createItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory)
          Creates a SharedItemStateManager or derivative.
protected  ItemState ZombieHierarchyManager.getItemState(ItemId id)
          Return an item state, given its item id.

Delivers state from attic if such exists, otherwise calls base class.

protected  ItemState HierarchyManagerImpl.getItemState(ItemId id)
          Return an item state, given its item id.
protected  ItemId CachingHierarchyManager.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id.

Cache the intermediate item inside our cache.

protected  ItemId HierarchyManagerImpl.resolvePath(Path path, ItemState state, int next)
          Resolve a path into an item id.
 

Uses of ItemStateException in org.apache.jackrabbit.core.nodetype.virtual
 

Methods in org.apache.jackrabbit.core.nodetype.virtual that throw ItemStateException
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
 void EventStateCollection.createEventStates(NodeId rootNodeId, ChangeLog changes, ItemStateManager stateMgr)
          Creates EventState instances from ItemState changes.
 

Uses of ItemStateException in org.apache.jackrabbit.core.persistence
 

Methods in org.apache.jackrabbit.core.persistence that throw ItemStateException
protected abstract  void AbstractPersistenceManager.destroy(NodeReferences refs)
          Destroy a node references object.
protected abstract  void AbstractPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected abstract  void AbstractPersistenceManager.destroy(PropertyState state)
          Destroy a property state.
 boolean PersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 boolean PersistenceManager.exists(NodeReferencesId targetId)
          Checks whether references of the identified target node exist.
 boolean PersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists.
 NodeState PersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeReferences PersistenceManager.load(NodeReferencesId id)
          Load the persistent members of a node references object.
 PropertyState PersistenceManager.load(PropertyId id)
          Load the persistent members of a property state.
 void AbstractPersistenceManager.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 PersistenceManager.store(ChangeLog changeLog)
          Atomically saves the given set of changes.
protected abstract  void AbstractPersistenceManager.store(NodeReferences refs)
          Store a references object.
protected abstract  void AbstractPersistenceManager.store(NodeState state)
          Store a node state.
protected abstract  void AbstractPersistenceManager.store(PropertyState state)
          Store a property state.
 

Uses of ItemStateException in org.apache.jackrabbit.core.persistence.bundle
 

Methods in org.apache.jackrabbit.core.persistence.bundle that throw ItemStateException
 void BundleDbPersistenceManager.destroy(NodeReferences refs)
          Deletes the node references from the undelying system.
protected abstract  void AbstractBundlePersistenceManager.destroy(NodeReferences refs)
          Deletes the node references from the undelying system.
 void BundleFsPersistenceManager.destroy(NodeReferences refs)
          Deletes the node references from the undelying system.
protected  void BundleDbPersistenceManager.destroyBundle(NodePropBundle bundle)
          Deletes the bundle 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. Checks the existance via the appropriate NodePropBundle.
 boolean BundleDbPersistenceManager.exists(NodeReferencesId targetId)
          Checks whether references of the identified target node exist.
 boolean BundleFsPersistenceManager.exists(NodeReferencesId targetId)
          Checks whether references of the identified target node exist.
 boolean AbstractBundlePersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists. Loads the state via the appropriate NodePropBundle.
protected  boolean BundleDbPersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
protected abstract  boolean AbstractBundlePersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
protected  boolean BundleFsPersistenceManager.existsBundle(NodeId id)
          Checks if a bundle exists in the underlying system.
 NodeState AbstractBundlePersistenceManager.load(NodeId id)
          Load the persistent members of a node state. Loads the state via the appropriate NodePropBundle.
 NodeReferences BundleDbPersistenceManager.load(NodeReferencesId targetId)
          Load the persistent members of a node references object.
abstract  NodeReferences AbstractBundlePersistenceManager.load(NodeReferencesId targetId)
          Load the persistent members of a node references object.
 NodeReferences BundleFsPersistenceManager.load(NodeReferencesId targetId)
          Load the persistent members of a node references object.
 PropertyState AbstractBundlePersistenceManager.load(PropertyId id)
          Load the persistent members of a property state. Loads the state via the appropriate NodePropBundle.
protected  NodePropBundle BundleDbPersistenceManager.loadBundle(NodeId id)
          Loads a bundle from the underlying system.
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.
 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. Basically wrapps a JDBC transaction around super.store().
 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.
 void Oracle9PersistenceManager.store(NodeReferences refs)
           
 void BundleDbPersistenceManager.store(NodeReferences refs)
          This method uses shared PreparedStatements, which must be used strictly sequentially.
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  void Oracle9PersistenceManager.storeBundle(NodePropBundle bundle)
           
protected  void BundleDbPersistenceManager.storeBundle(NodePropBundle bundle)
          Stores a bundle 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
 void DatabasePersistenceManager.destroy(NodeReferences refs)
          Destroy a node references object.
 void DatabasePersistenceManager.destroy(NodeState state)
          Destroy a node state.
 void DatabasePersistenceManager.destroy(PropertyState state)
          Destroy a property state.
 boolean DatabasePersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 boolean DatabasePersistenceManager.exists(NodeReferencesId targetId)
          Checks whether references of the identified target node exist.
 boolean DatabasePersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists.
 NodeState DatabasePersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeReferences DatabasePersistenceManager.load(NodeReferencesId targetId)
          Load the persistent members of a node references object.
 PropertyState DatabasePersistenceManager.load(PropertyId id)
          Load the persistent members of a property state.
 void DatabasePersistenceManager.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 OraclePersistenceManager.store(NodeReferences refs)
          Store a references object. Subclass responsibility.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 void DatabasePersistenceManager.store(NodeReferences refs)
          Store a references object.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 void OraclePersistenceManager.store(NodeState state)
          Store a node state. Subclass responsibility.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 void DatabasePersistenceManager.store(NodeState state)
          Store a node state.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 void OraclePersistenceManager.store(PropertyState state)
          Store a property state. Subclass responsibility.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 void DatabasePersistenceManager.store(PropertyState state)
          Store a property state.

This method uses shared PreparedStatements which must be executed strictly sequentially.

 

Uses of ItemStateException in org.apache.jackrabbit.core.persistence.mem
 

Methods in org.apache.jackrabbit.core.persistence.mem that throw ItemStateException
protected  void InMemPersistenceManager.destroy(NodeReferences refs)
          Destroy a node references object.
protected  void InMemPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected  void InMemPersistenceManager.destroy(PropertyState state)
          Destroy a property state.
 boolean InMemPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 boolean InMemPersistenceManager.exists(NodeReferencesId id)
          Checks whether references of the identified target node exist.
 boolean InMemPersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists.
 NodeState InMemPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeReferences InMemPersistenceManager.load(NodeReferencesId id)
          Load the persistent members of a node references object.
 PropertyState InMemPersistenceManager.load(PropertyId id)
          Load the persistent members of a property state.
protected  void InMemPersistenceManager.store(NodeReferences refs)
          Store a references object.
protected  void InMemPersistenceManager.store(NodeState state)
          Store a node state.
protected  void InMemPersistenceManager.store(PropertyState state)
          Store a property state.
 

Uses of ItemStateException in org.apache.jackrabbit.core.persistence.obj
 

Methods in org.apache.jackrabbit.core.persistence.obj that throw ItemStateException
protected  void ObjectPersistenceManager.destroy(NodeReferences refs)
          Destroy a node references object.
protected  void ObjectPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected  void ObjectPersistenceManager.destroy(PropertyState state)
          Destroy a property state.
 boolean ObjectPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 boolean ObjectPersistenceManager.exists(NodeReferencesId id)
          Checks whether references of the identified target node exist.
 boolean ObjectPersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists.
 NodeState ObjectPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeReferences ObjectPersistenceManager.load(NodeReferencesId id)
          Load the persistent members of a node references object.
 PropertyState ObjectPersistenceManager.load(PropertyId id)
          Load the persistent members of a property state.
protected  void ObjectPersistenceManager.store(NodeReferences refs)
          Store a references object.
protected  void ObjectPersistenceManager.store(NodeState state)
          Store a node state.
protected  void ObjectPersistenceManager.store(PropertyState state)
          Store a property state.
 

Uses of ItemStateException in org.apache.jackrabbit.core.persistence.xml
 

Methods in org.apache.jackrabbit.core.persistence.xml that throw ItemStateException
protected  void XMLPersistenceManager.destroy(NodeReferences refs)
          Destroy a node references object.
protected  void XMLPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected  void XMLPersistenceManager.destroy(PropertyState state)
          Destroy a property state.
 boolean XMLPersistenceManager.exists(NodeId id)
          Checks whether the identified node exists.
 boolean XMLPersistenceManager.exists(NodeReferencesId id)
          Checks whether references of the identified target node exist.
 boolean XMLPersistenceManager.exists(PropertyId id)
          Checks whether the identified property exists.
 NodeState XMLPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeReferences XMLPersistenceManager.load(NodeReferencesId id)
          Load the persistent members of a node references object.
 PropertyState XMLPersistenceManager.load(PropertyId id)
          Load the persistent members of a property state.
protected  void XMLPersistenceManager.store(NodeReferences refs)
          Store a references object.
protected  void XMLPersistenceManager.store(NodeState state)
          Store a node state.
protected  void XMLPersistenceManager.store(PropertyState state)
          Store a property state.
 

Uses of ItemStateException in org.apache.jackrabbit.core.query.lucene
 

Methods in org.apache.jackrabbit.core.query.lucene that throw ItemStateException
protected  InternalValue NodeIndexer.getValue(QName 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
 class NoSuchItemStateException
          The NoSuchItemStateException ...
 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
 org.apache.jackrabbit.core.state.SharedItemStateManager.Update SharedItemStateManager.beginUpdate(ChangeLog local, EventStateCollectionFactory factory, VirtualItemStateProvider virtualProvider)
          Begin update operation.
protected  void SharedItemStateManager.checkReferentialIntegrity(ChangeLog changes)
          Verifies that no referenceable nodes are deleted if they are still being referenced targets of modified node references exist
 NodeState SessionItemStateManager.createTransientNodeState(NodeId id, QName nodeTypeName, NodeId parentId, int initialStatus)
           
 NodeState SessionItemStateManager.createTransientNodeState(NodeState overlayedState, int initialStatus)
           
 PropertyState SessionItemStateManager.createTransientPropertyState(NodeId parentId, QName propName, int initialStatus)
           
 PropertyState SessionItemStateManager.createTransientPropertyState(PropertyState overlayedState, int initialStatus)
           
 ItemState XAItemStateManager.getItemState(ItemId id)
          Return an item state, given its item id.

If this state manager is committing changes, this method first checks the commitLog ThreadLocal.

 ItemState SharedItemStateManager.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 ItemStateManager.getItemState(ItemId id)
          Return an item state, given its item id.
 NodeReferences XAItemStateManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id

If this state manager is committing changes, this method first checks the commitLog ThreadLocal.

 NodeReferences SharedItemStateManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
 NodeReferences LocalItemStateManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
 NodeReferences SessionItemStateManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
 NodeReferences ItemStateManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
protected  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)
           
 void LocalItemStateManager.update()
          End an update operation.
 void UpdatableItemStateManager.update()
          End an update operation.
 void SessionItemStateManager.update()
          End an update operation.
protected  void XAItemStateManager.update(ChangeLog changeLog)
          End an update operation.

If associated with a transaction, simply merge the changes given to the ones already known (removing items that were first added and then again deleted).

protected  void LocalItemStateManager.update(ChangeLog changeLog)
          End an update operation.
 void SharedItemStateManager.update(ChangeLog local, EventStateCollectionFactory factory)
          Store modifications registered in a ChangeLog.
protected  void SharedItemStateManager.updateReferences(ChangeLog changes, VirtualItemStateProvider virtualProvider)
          Updates the target node references collections based on the modifications in the change log (i.e.
 

Constructors in org.apache.jackrabbit.core.state that throw ItemStateException
SharedItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, boolean usesReferences, ItemStateCacheFactory cacheFactory)
          Creates a new SharedItemStateManager instance.
 

Uses of ItemStateException in org.apache.jackrabbit.core.version
 

Methods in org.apache.jackrabbit.core.version that throw ItemStateException
protected  void VersionManagerImpl.VersionItemStateManager.checkReferentialIntegrity(ChangeLog changes)
           
protected  SharedItemStateManager VersionManagerImpl.createSharedStateManager(PersistenceManager pMgr, NodeId rootId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory)
          Creates a SharedItemStateManager or derivative.
 ItemState XAVersionManager.getItemState(ItemId id)
          Return an item state, given its item id.

Return item states for changes only.

 NodeReferences XAVersionManager.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
 PropertyState[] NodeStateEx.getProperties()
          Returns the properties of this node
 

Constructors in org.apache.jackrabbit.core.version that throw ItemStateException
VersionManagerImpl.VersionItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory)
           
 

Uses of ItemStateException in org.apache.jackrabbit.core.virtual
 

Methods in org.apache.jackrabbit.core.virtual that throw ItemStateException
 ItemState AbstractVISProvider.getItemState(ItemId id)
          Return an item state, given its item id.
 NodeReferences AbstractVISProvider.getNodeReferences(NodeReferencesId id)
          Return a node references object, given its target id
 NodeState AbstractVISProvider.getRootState()
          Returns the root state
protected abstract  VirtualNodeState AbstractVISProvider.internalGetNodeState(NodeId id)
          Retrieves the node state with the given node id
protected  VirtualPropertyState AbstractVISProvider.internalGetPropertyState(PropertyId id)
          Retrieces the property state for the given id
 



Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.