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

Packages that use NodeState
org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API. 
org.apache.jackrabbit.core.query   
org.apache.jackrabbit.core.query.lucene   
org.apache.jackrabbit.core.state   
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   
org.apache.jackrabbit.core.xml   
 

Uses of NodeState in org.apache.jackrabbit.core
 

Methods in org.apache.jackrabbit.core that return NodeState
 NodeState BatchedItemOperations.createNodeState(NodeState parent, QName nodeName, QName nodeTypeName, QName[] mixinNames, String uuid)
          Creates a new node.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, QName nodeName, QName nodeTypeName, QName[] mixinNames, String uuid, NodeDef def)
          Creates a new node based on the given definition.
 NodeState BatchedItemOperations.getNodeState(Path nodePath)
          Retrieves the state of the node at the given path.
 NodeState BatchedItemOperations.getNodeState(NodeId id)
          Retrieves the state of the node with the given id.
protected  NodeState BatchedItemOperations.getNodeState(ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, Path nodePath)
          Retrieves the state of the node at nodePath using the given item state manager.
 

Methods in org.apache.jackrabbit.core with parameters of type NodeState
 void ItemValidator.validate(NodeState nodeState)
          Checks whether the given node state satisfies the constraints specified by its primary and mixin node types.
 EffectiveNodeType ItemValidator.getEffectiveNodeType(NodeState state)
          Helper method that builds the effective (i.e.
protected  NodeState.ChildNodeEntry ZombieHierarchyManager.getChildNodeEntry(NodeState parent, QName name, int index)
          Returns the ChildNodeEntry of parent with the specified name and index or null if there's no such entry.

Low-level hook provided for specialized derived classes.

Also allows for removed/renamed child node entries.

protected  NodeState.ChildNodeEntry ZombieHierarchyManager.getChildNodeEntry(NodeState parent, String uuid)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.

Low-level hook provided for specialized derived classes.

Also allows for removed child node entries.

 void BatchedItemOperations.checkAddNode(NodeState parentState, QName nodeName, QName nodeTypeName, int options)
          Checks if adding a child node called nodeName of node type nodeTypeName to the given parent node is allowed in the current context.
 void BatchedItemOperations.checkRemoveNode(NodeState targetState, int options)
          Checks if removing the given target node is allowed in the current context.
 void BatchedItemOperations.checkRemoveNode(NodeState targetState, NodeId parentId, int options)
          Checks if removing the given target node from the specifed parent is allowed in the current context.
 NodeDef BatchedItemOperations.findApplicableNodeDefinition(QName name, QName nodeTypeName, NodeState parentState)
          Helper method that finds the applicable definition for a child node with the given name and node type in the parent node's node type and mixin types.
 PropDef BatchedItemOperations.findApplicablePropertyDefinition(QName name, int type, boolean multiValued, NodeState parentState)
          Helper method that finds the applicable definition for a property with the given name, type and multiValued characteristic in the parent node's node type and mixin types.
 PropDef BatchedItemOperations.findApplicablePropertyDefinition(QName name, int type, NodeState parentState)
          Helper method that finds the applicable definition for a property with the given name, type in the parent node's node type and mixin types.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, QName nodeName, QName nodeTypeName, QName[] mixinNames, String uuid)
          Creates a new node.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, QName nodeName, QName nodeTypeName, QName[] mixinNames, String uuid, NodeDef def)
          Creates a new node based on the given definition.
 PropertyState BatchedItemOperations.createPropertyState(NodeState parent, QName propName, int type, int numValues)
          Creates a new property.
 PropertyState BatchedItemOperations.createPropertyState(NodeState parent, QName propName, int type, PropDef def)
          Creates a new property based on the given definition.
 void BatchedItemOperations.removeNodeState(NodeState target)
          Unlinks the specified node state from its parent and recursively removes it including its properties and child nodes.
protected  NodeState.ChildNodeEntry HierarchyManagerImpl.getChildNodeEntry(NodeState parent, String uuid)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.
protected  NodeState.ChildNodeEntry HierarchyManagerImpl.getChildNodeEntry(NodeState parent, QName name, int index)
          Returns the ChildNodeEntry of parent with the specified name and index or null if there's no such entry.
 void CachingHierarchyManager.nodeAdded(NodeState state, QName name, int index, String uuid)
          Called when a child node has been added
 void CachingHierarchyManager.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.

Generate subsequent add and remove notifications for every replacement.

 void CachingHierarchyManager.nodeRemoved(NodeState state, QName name, int index, String uuid)
          Called when a child node has been removed
 

Constructors in org.apache.jackrabbit.core with parameters of type NodeState
NodeImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Protected constructor.
 

Uses of NodeState in org.apache.jackrabbit.core.query
 

Methods in org.apache.jackrabbit.core.query with parameters of type NodeState
 void QueryHandler.addNode(NodeState node)
          Adds a Node to the search index.
 

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

Fields in org.apache.jackrabbit.core.query.lucene declared as NodeState
protected  NodeState NodeIndexer.node
          The NodeState of the node to index
 

Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState
static org.apache.lucene.document.Document NodeIndexer.createDocument(NodeState node, ItemStateManager stateProvider, NamespaceMappings mappings)
          Creates a lucene Document from a node.
 void SearchIndex.addNode(NodeState node)
          Adds the node to the search index.
protected  org.apache.lucene.document.Document SearchIndex.createDocument(NodeState node, NamespaceMappings nsMappings)
          Creates a lucene Document from a node state using the namespace mappings nsMappings.
 

Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState
NodeIndexer(NodeState node, ItemStateManager stateProvider, NamespaceMappings mappings)
          Creates a new node indexer.
 

Uses of NodeState in org.apache.jackrabbit.core.state
 

Methods in org.apache.jackrabbit.core.state that return NodeState
 NodeState AbstractPersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given 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.
 NodeState LocalItemStateManager.createNew(String uuid, QName nodeTypeName, String parentUUID)
          Creates a NodeState instance representing new, i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState) on the returned object to make it persistent.
 NodeState PersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 NodeState PersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 NodeState UpdatableItemStateManager.createNew(String uuid, QName nodeTypeName, String parentUUID)
          Creates a NodeState instance representing new, i.e.
 NodeState SessionItemStateManager.createNew(String uuid, QName nodeTypeName, String parentUUID)
          Creates a NodeState instance representing new, i.e. not yet existing state. Call UpdatableItemStateManager.store(org.apache.jackrabbit.core.state.ItemState) on the returned object to make it persistent.
 NodeState SessionItemStateManager.createNew(NodeState transientState)
          Customized variant of SessionItemStateManager.createNew(String, QName, String) that connects the newly created persistent state with the transient state.
 NodeState SessionItemStateManager.createTransientNodeState(String uuid, QName nodeTypeName, String parentUUID, int initialStatus)
           
 NodeState SessionItemStateManager.createTransientNodeState(NodeState overlayedState, int initialStatus)
           
 

Methods in org.apache.jackrabbit.core.state with parameters of type NodeState
protected abstract  void AbstractPersistenceManager.store(NodeState state)
          Store a node state.
protected abstract  void AbstractPersistenceManager.destroy(NodeState state)
          Destroy a node state.
 void NodeStateListener.nodeAdded(NodeState state, QName name, int index, String uuid)
          Called when a child node has been added
 void NodeStateListener.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.
 void NodeStateListener.nodeRemoved(NodeState state, QName name, int index, String uuid)
          Called when a child node has been removed
 NodeState SessionItemStateManager.createNew(NodeState transientState)
          Customized variant of SessionItemStateManager.createNew(String, QName, String) that connects the newly created persistent state with the transient state.
 NodeState SessionItemStateManager.createTransientNodeState(NodeState overlayedState, int initialStatus)
           
 

Constructors in org.apache.jackrabbit.core.state with parameters of type NodeState
NodeState(NodeState overlayedState, int initialStatus, boolean isTransient)
          Constructor
 

Uses of NodeState in org.apache.jackrabbit.core.state.mem
 

Methods in org.apache.jackrabbit.core.state.mem that return NodeState
 NodeState InMemPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Methods in org.apache.jackrabbit.core.state.mem with parameters of type NodeState
protected  void InMemPersistenceManager.store(NodeState state)
          Store a node state. Subclass responsibility.
protected  void InMemPersistenceManager.destroy(NodeState state)
          Destroy a node state. Subclass responsibility.
 

Uses of NodeState in org.apache.jackrabbit.core.state.obj
 

Methods in org.apache.jackrabbit.core.state.obj that return NodeState
 NodeState ObjectPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Methods in org.apache.jackrabbit.core.state.obj with parameters of type NodeState
static void ObjectPersistenceManager.serialize(NodeState state, OutputStream stream)
          Serializes the specified state object to the given stream.
static void ObjectPersistenceManager.deserialize(NodeState state, InputStream stream)
          Deserializes a state object from the given stream.
protected  void ObjectPersistenceManager.store(NodeState state)
          Store a node state. Subclass responsibility.
protected  void ObjectPersistenceManager.destroy(NodeState state)
          Destroy a node state. Subclass responsibility.
 

Uses of NodeState in org.apache.jackrabbit.core.state.xml
 

Methods in org.apache.jackrabbit.core.state.xml that return NodeState
 NodeState XMLPersistenceManager.load(NodeId id)
          Load the persistent members of a node state.
 

Methods in org.apache.jackrabbit.core.state.xml with parameters of type NodeState
protected  void XMLPersistenceManager.store(NodeState state)
          Store a node state. Subclass responsibility.
protected  void XMLPersistenceManager.destroy(NodeState state)
          Destroy a node state. Subclass responsibility.
 

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

Methods in org.apache.jackrabbit.core.version with parameters of type NodeState
 VersionHistory VersionManagerImpl.createVersionHistory(Session session, NodeState node)
          Creates a new version history.
 VersionHistory VersionManagerImpl.getVersionHistory(Session session, NodeState node)
          Returns the version history of the specified node or null if the given node doesn't (yet) have an associated version history.
 VersionHistory VersionManager.createVersionHistory(Session session, NodeState node)
          Creates a new version history.
 VersionHistory VersionManager.getVersionHistory(Session session, NodeState node)
          Returns the version history of the specified node or null if the given node doesn't (yet) have an associated version history.
 

Constructors in org.apache.jackrabbit.core.version with parameters of type NodeState
VersionImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersion version)
          creates a new version node
VersionHistoryImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersionHistory history)
          creates a new version history node.
 

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

Subclasses of NodeState in org.apache.jackrabbit.core.virtual
 class VirtualNodeState
          This Class implements a virtual node state
 

Methods in org.apache.jackrabbit.core.virtual that return NodeState
 NodeState AbstractVISProvider.getRootState()
          Returns the root state
protected  NodeState AbstractVISProvider.cache(NodeState state)
          adds the node state to the cache
 

Methods in org.apache.jackrabbit.core.virtual with parameters of type NodeState
protected  NodeState AbstractVISProvider.cache(NodeState state)
          adds the node state to the cache
protected  PropDef AbstractVISProvider.getApplicablePropertyDef(NodeState parent, QName propertyName, int type, boolean multiValued)
          retrieves the property definition for the given contraints
protected  NodeDef AbstractVISProvider.getApplicableChildNodeDef(NodeState parent, QName nodeName, QName nodeTypeName)
          Retrieves the node definition for the given contraints.
protected  EffectiveNodeType AbstractVISProvider.getEffectiveNodeType(NodeState parent)
          Returns the effective (i.e.
 void VirtualNodeState.addStateReference(NodeState state)
          Adds a hard reference to another state
 

Uses of NodeState in org.apache.jackrabbit.core.xml
 

Methods in org.apache.jackrabbit.core.xml that return NodeState
protected  NodeState WorkspaceImporter.resolveUUIDConflict(NodeState parent, NodeState conflicting, Importer.NodeInfo nodeInfo)
           
 

Methods in org.apache.jackrabbit.core.xml with parameters of type NodeState
protected  NodeState WorkspaceImporter.resolveUUIDConflict(NodeState parent, NodeState conflicting, Importer.NodeInfo nodeInfo)
           
protected  void WorkspaceImporter.postProcessNode(NodeState node)
          Post-process imported node (initialize properties with special semantics etc.)
 



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