|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.state | |
org.apache.jackrabbit.core.state.db | This package contains the class ,
a simple generic JDBC-based PersistenceManager for Jackrabbit. |
org.apache.jackrabbit.core.state.mem | |
org.apache.jackrabbit.core.state.obj | |
org.apache.jackrabbit.core.state.xml | |
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 ItemState |
HierarchyManagerImpl.getItemState(ItemId id)
Return an item state, given its item id. |
protected ItemId |
HierarchyManagerImpl.resolvePath(Path path,
ItemState state,
int next)
Resolve a path into an item id. |
protected void |
HierarchyManagerImpl.buildPath(Path.PathBuilder builder,
ItemState state)
Adds the path element of an item id to the path currently being built. |
protected ItemId |
CachingHierarchyManager.resolvePath(Path path,
ItemState state,
int next)
Resolve a path into an item id. Recursively invoked method that may be overridden by some subclass to either return cached responses or add response to cache. Cache the intermediate item inside our cache. |
protected void |
CachingHierarchyManager.buildPath(Path.PathBuilder builder,
ItemState state)
Adds the path element of an item id to the path currently being built. Recursively invoked method that may be overridden by some subclass to either return cached responses or add response to cache. On exit, builder contains the path of state .
Overridden method tries to find a mapping for the intermediate item
state and add its path elements to the builder currently
being used. |
protected ItemState |
ZombieHierarchyManager.getItemState(ItemId id)
Return an item state, given its item id. Low-level hook provided for specialized derived classes. Delivers state from attic if such exists, otherwise calls base class. |
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.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 | |
ItemState |
ItemStateManager.getItemState(ItemId id)
Return an item state, given its item id. |
NodeReferences |
ItemStateManager.getNodeReferences(NodeReferencesId id)
Return a node references object, given its target id |
ItemState |
SessionItemStateManager.getItemState(ItemId id)
Return an item state, given its item id. |
NodeReferences |
SessionItemStateManager.getNodeReferences(NodeReferencesId id)
Return a node references object, given its target id |
void |
SessionItemStateManager.update()
End an update operation. This will save all items added to this update operation in a single step. If this operation fails, no item will have been saved. |
ItemState |
SessionItemStateManager.getTransientItemState(ItemId id)
|
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. |
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. |
protected void |
XAItemStateManager.update(ChangeLog changeLog)
End an update operation. Fetch the states and references from the parent (shared) item manager, reconnect them to the items collected in our (local) change log and overwrite the shared items with our copies. 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). |
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.load(NodeReferencesId id)
Load the persistent members of a node references object. |
boolean |
PersistenceManager.exists(NodeId id)
Checks whether the identified node exists. |
boolean |
PersistenceManager.exists(PropertyId id)
Checks whether the identified property exists. |
boolean |
PersistenceManager.exists(NodeReferencesId targetId)
Checks whether references of the identified target node exist. |
void |
PersistenceManager.store(ChangeLog changeLog)
Atomically saves the given set of changes. |
ItemState |
SharedItemStateManager.getItemState(ItemId id)
Return an item state, given its item id. |
NodeReferences |
SharedItemStateManager.getNodeReferences(NodeReferencesId id)
Return a node references object, given its target id |
org.apache.jackrabbit.core.state.SharedItemStateManager.Update |
SharedItemStateManager.beginUpdate(ChangeLog local,
EventStateCollectionFactory factory,
VirtualItemStateProvider virtualProvider)
Begin 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. |
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 |
void |
UpdatableItemStateManager.update()
End an update operation. |
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 |
LocalItemStateManager.getItemState(ItemId id)
Return an item state, given its item id. |
NodeReferences |
LocalItemStateManager.getNodeReferences(NodeReferencesId id)
Return a node references object, given its target id |
void |
LocalItemStateManager.update()
End an update operation. This will save all items added to this update operation in a single step. If this operation fails, no item will have been saved. |
protected void |
LocalItemStateManager.update(ChangeLog changeLog)
End an update operation. |
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. |
protected abstract void |
AbstractPersistenceManager.store(NodeState state)
Store a node state. |
protected abstract void |
AbstractPersistenceManager.store(PropertyState state)
Store a property state. |
protected abstract void |
AbstractPersistenceManager.store(NodeReferences refs)
Store a references object. |
protected abstract void |
AbstractPersistenceManager.destroy(NodeState state)
Destroy a node state. |
protected abstract void |
AbstractPersistenceManager.destroy(PropertyState state)
Destroy a property state. |
protected abstract void |
AbstractPersistenceManager.destroy(NodeReferences refs)
Destroy a node references object. |
Constructors in org.apache.jackrabbit.core.state that throw ItemStateException | |
SharedItemStateManager(PersistenceManager persistMgr,
NodeId rootNodeId,
NodeTypeRegistry ntReg,
boolean usesReferences)
Creates a new SharedItemStateManager instance. |
Uses of ItemStateException in org.apache.jackrabbit.core.state.db |
Methods in org.apache.jackrabbit.core.state.db that throw ItemStateException | |
void |
SimpleDbPersistenceManager.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. Properly implemented, this method should ensure that changes are either written completely to the underlying persistence layer, or not at all. Atomically saves the given set of changes. |
NodeState |
SimpleDbPersistenceManager.load(NodeId id)
Load the persistent members of a node state. |
PropertyState |
SimpleDbPersistenceManager.load(PropertyId id)
Load the persistent members of a property state. |
void |
SimpleDbPersistenceManager.store(NodeState state)
Store a node state. Subclass responsibility. This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
void |
SimpleDbPersistenceManager.store(PropertyState state)
Store a property state. Subclass responsibility. This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
void |
SimpleDbPersistenceManager.destroy(NodeState state)
Destroy a node state. Subclass responsibility. |
void |
SimpleDbPersistenceManager.destroy(PropertyState state)
Destroy a property state. Subclass responsibility. |
NodeReferences |
SimpleDbPersistenceManager.load(NodeReferencesId targetId)
Load the persistent members of a node references object. |
void |
SimpleDbPersistenceManager.store(NodeReferences refs)
Store a references object. Subclass responsibility. This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
void |
SimpleDbPersistenceManager.destroy(NodeReferences refs)
Destroy a node references object. Subclass responsibility. |
boolean |
SimpleDbPersistenceManager.exists(NodeId id)
Checks whether the identified node exists. |
boolean |
SimpleDbPersistenceManager.exists(PropertyId id)
Checks whether the identified property exists. |
boolean |
SimpleDbPersistenceManager.exists(NodeReferencesId targetId)
Checks whether references of the identified target node exist. |
Uses of ItemStateException in org.apache.jackrabbit.core.state.mem |
Methods in org.apache.jackrabbit.core.state.mem that throw ItemStateException | |
NodeState |
InMemPersistenceManager.load(NodeId id)
Load the persistent members of a node state. |
PropertyState |
InMemPersistenceManager.load(PropertyId id)
Load the persistent members of a property state. |
protected void |
InMemPersistenceManager.store(NodeState state)
Store a node state. Subclass responsibility. |
protected void |
InMemPersistenceManager.store(PropertyState state)
Store a property state. Subclass responsibility. |
protected void |
InMemPersistenceManager.destroy(NodeState state)
Destroy a node state. Subclass responsibility. |
protected void |
InMemPersistenceManager.destroy(PropertyState state)
Destroy a property state. Subclass responsibility. |
NodeReferences |
InMemPersistenceManager.load(NodeReferencesId id)
Load the persistent members of a node references object. |
protected void |
InMemPersistenceManager.store(NodeReferences refs)
Store a references object. Subclass responsibility. |
protected void |
InMemPersistenceManager.destroy(NodeReferences refs)
Destroy a node references object. Subclass responsibility. |
boolean |
InMemPersistenceManager.exists(PropertyId id)
Checks whether the identified property exists. |
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. |
Uses of ItemStateException in org.apache.jackrabbit.core.state.obj |
Methods in org.apache.jackrabbit.core.state.obj that throw ItemStateException | |
NodeState |
ObjectPersistenceManager.load(NodeId id)
Load the persistent members of a node state. |
PropertyState |
ObjectPersistenceManager.load(PropertyId id)
Load the persistent members of a property state. |
NodeReferences |
ObjectPersistenceManager.load(NodeReferencesId id)
Load the persistent members of a node references object. |
protected void |
ObjectPersistenceManager.store(NodeState state)
Store a node state. Subclass responsibility. |
protected void |
ObjectPersistenceManager.store(PropertyState state)
Store a property state. Subclass responsibility. |
protected void |
ObjectPersistenceManager.store(NodeReferences refs)
Store a references object. Subclass responsibility. |
protected void |
ObjectPersistenceManager.destroy(NodeState state)
Destroy a node state. Subclass responsibility. |
protected void |
ObjectPersistenceManager.destroy(PropertyState state)
Destroy a property state. Subclass responsibility. |
protected void |
ObjectPersistenceManager.destroy(NodeReferences refs)
Destroy a node references object. Subclass responsibility. |
boolean |
ObjectPersistenceManager.exists(PropertyId id)
Checks whether the identified property exists. |
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. |
Uses of ItemStateException in org.apache.jackrabbit.core.state.xml |
Methods in org.apache.jackrabbit.core.state.xml that throw ItemStateException | |
NodeState |
XMLPersistenceManager.load(NodeId id)
Load the persistent members of a node state. |
PropertyState |
XMLPersistenceManager.load(PropertyId id)
Load the persistent members of a property state. |
protected void |
XMLPersistenceManager.store(NodeState state)
Store a node state. Subclass responsibility. |
protected void |
XMLPersistenceManager.store(PropertyState state)
Store a property state. Subclass responsibility. |
protected void |
XMLPersistenceManager.destroy(NodeState state)
Destroy a node state. Subclass responsibility. |
protected void |
XMLPersistenceManager.destroy(PropertyState state)
Destroy a property state. Subclass responsibility. |
NodeReferences |
XMLPersistenceManager.load(NodeReferencesId id)
Load the persistent members of a node references object. |
protected void |
XMLPersistenceManager.store(NodeReferences refs)
Store a references object. Subclass responsibility. |
protected void |
XMLPersistenceManager.destroy(NodeReferences refs)
Destroy a node references object. Subclass responsibility. |
boolean |
XMLPersistenceManager.exists(NodeId id)
Checks whether the identified node exists. |
boolean |
XMLPersistenceManager.exists(PropertyId id)
Checks whether the identified property exists. |
boolean |
XMLPersistenceManager.exists(NodeReferencesId id)
Checks whether references of the identified target node exist. |
Uses of ItemStateException in org.apache.jackrabbit.core.version |
Methods in org.apache.jackrabbit.core.version that throw ItemStateException | |
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 |
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 |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |