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

Packages that use NodeState
org.apache.jackrabbit.core   
org.apache.jackrabbit.core.cluster   
org.apache.jackrabbit.core.persistence   
org.apache.jackrabbit.core.persistence.bundle   
org.apache.jackrabbit.core.persistence.bundle.util   
org.apache.jackrabbit.core.persistence.db   
org.apache.jackrabbit.core.persistence.mem   
org.apache.jackrabbit.core.persistence.obj   
org.apache.jackrabbit.core.persistence.util   
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.state.util   
org.apache.jackrabbit.core.version   
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, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
          Creates a new node.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, NodeDef def)
          Creates a new node based on the given definition.
protected  NodeState BatchedItemOperations.getNodeState(ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, Path nodePath)
          Retrieves the state of the node at nodePath using the given item state manager.
 NodeState BatchedItemOperations.getNodeState(NodeId id)
          Retrieves the state of the node with the given id.
 NodeState BatchedItemOperations.getNodeState(Path nodePath)
          Retrieves the state of the node at the given path.
 

Methods in org.apache.jackrabbit.core with parameters of type NodeState
 void BatchedItemOperations.checkAddNode(NodeState parentState, Name nodeName, Name 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.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)
          Creates a new node.
 NodeState BatchedItemOperations.createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, NodeDef def)
          Creates a new node based on the given definition.
 PropertyState BatchedItemOperations.createPropertyState(NodeState parent, Name propName, int type, int numValues)
          Creates a new property.
 PropertyState BatchedItemOperations.createPropertyState(NodeState parent, Name propName, int type, PropDef def)
          Creates a new property based on the given definition.
protected  VersionHistoryImpl ItemManager.createVersionHistoryInstance(NodeId id, NodeState state, NodeDefinition def, ItemLifeCycleListener[] listeners)
          Create a version history instance.
protected  VersionImpl ItemManager.createVersionInstance(NodeId id, NodeState state, NodeDefinition def, ItemLifeCycleListener[] listeners)
          Create a version instance.
 NodeDef BatchedItemOperations.findApplicableNodeDefinition(Name name, Name 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(Name 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(Name 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.
protected  NodeState.ChildNodeEntry ZombieHierarchyManager.getChildNodeEntry(NodeState parent, Name name, int index)
          Returns the ChildNodeEntry of parent with the specified name and index or null if there's no such entry.

Also allows for removed/renamed child node entries.

protected  NodeState.ChildNodeEntry HierarchyManagerImpl.getChildNodeEntry(NodeState parent, Name name, int index)
          Returns the ChildNodeEntry of parent with the specified name and index or null if there's no such entry.
protected  NodeState.ChildNodeEntry ZombieHierarchyManager.getChildNodeEntry(NodeState parent, NodeId id)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.

Also allows for removed child node entries.

protected  NodeState.ChildNodeEntry HierarchyManagerImpl.getChildNodeEntry(NodeState parent, NodeId id)
          Returns the ChildNodeEntry of parent with the specified uuid or null if there's no such entry.
 EffectiveNodeType ItemValidator.getEffectiveNodeType(NodeState nodeState)
          Helper method that builds the effective (i.e.
 void CachingHierarchyManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added
 void CachingHierarchyManager.nodeModified(NodeState modified)
          Called when a node has been modified, typically as a result of removal or addition of a child node. Evict moved or renamed items from the cache.
 void CachingHierarchyManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed
 void CachingHierarchyManager.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.

Iterate over all cached children of this state and verify each child's position.

 void BatchedItemOperations.removeNodeState(NodeState target)
          Unlinks the specified node state from its parent and recursively removes it including its properties and child nodes.
protected  void NodeImpl.restoreTransient(NodeState transientState)
           
 void ItemValidator.validate(NodeState nodeState)
          Checks whether the given node state satisfies the constraints specified by its primary and mixin node types.
 

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.cluster
 

Methods in org.apache.jackrabbit.core.cluster with parameters of type NodeState
static org.apache.jackrabbit.core.cluster.NodeOperation NodeAddedOperation.create(NodeState state)
          Create a node operation for an added node.
static org.apache.jackrabbit.core.cluster.NodeOperation NodeModifiedOperation.create(NodeState state)
          Create a node operation for a modified node.
static org.apache.jackrabbit.core.cluster.NodeOperation NodeDeletedOperation.create(NodeState state)
          Create a node operation for a deleted node.
 

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

Methods in org.apache.jackrabbit.core.persistence that return NodeState
 NodeState AbstractPersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 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.
 

Methods in org.apache.jackrabbit.core.persistence with parameters of type NodeState
protected abstract  void AbstractPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected abstract  void AbstractPersistenceManager.store(NodeState state)
          Store a node state.
 

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

Methods in org.apache.jackrabbit.core.persistence.bundle that return NodeState
 NodeState AbstractBundlePersistenceManager.createNew(NodeId id)
          Creates a new node state instance with the given id.
 NodeState AbstractBundlePersistenceManager.load(NodeId id)
          Load the persistent members of a node state. Loads the state via the appropriate NodePropBundle.
 

Uses of NodeState in org.apache.jackrabbit.core.persistence.bundle.util
 

Methods in org.apache.jackrabbit.core.persistence.bundle.util that return NodeState
 NodeState NodePropBundle.createNodeState(PersistenceManager pMgr)
          Creates a node state from the values of this bundle
 NodeState ItemStateBinding.readState(DataInputStream in, NodeId id, PersistenceManager pMgr)
          Deserializes a NodeState from the data input stream.
 

Methods in org.apache.jackrabbit.core.persistence.bundle.util with parameters of type NodeState
 void NodePropBundle.update(NodeState state)
          Updates this bundle with values from the given state.
 void ItemStateBinding.writeState(DataOutputStream out, NodeState state)
          Serializes a NodeState to the data output stream
 

Constructors in org.apache.jackrabbit.core.persistence.bundle.util with parameters of type NodeState
NodePropBundle(BundleBinding binding, NodeState state)
          Creates a bundle from the given state
 

Uses of NodeState in org.apache.jackrabbit.core.persistence.db
 

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

Methods in org.apache.jackrabbit.core.persistence.db with parameters of type NodeState
 void DatabasePersistenceManager.destroy(NodeState state)
          Destroy a node state.
 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.

 

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

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

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

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

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

Methods in org.apache.jackrabbit.core.persistence.obj with parameters of type NodeState
protected  void ObjectPersistenceManager.destroy(NodeState state)
          Destroy a node state.
protected  void ObjectPersistenceManager.store(NodeState state)
          Store a node state.
 

Uses of NodeState in org.apache.jackrabbit.core.persistence.util
 

Methods in org.apache.jackrabbit.core.persistence.util with parameters of type NodeState
static void Serializer.deserialize(NodeState state, InputStream stream)
          Deserializes a NodeState object from the given binary stream.
static void Serializer.serialize(NodeState state, OutputStream stream)
          Serializes the specified NodeState object to the given binary stream.
 

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

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

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

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 that return NodeState
 NodeState[] AggregateRule.getAggregatedNodeStates(NodeState nodeState)
          Returns the node states that are part of the indexing aggregate of the nodeState.
 NodeState AggregateRule.getAggregateRoot(NodeState nodeState)
          Returns root node state for the indexing aggregate where nodeState belongs to.
 

Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState
 void SearchIndex.addNode(NodeState node)
          Adds the node to the search index.
protected  org.apache.lucene.document.Document SearchIndex.createDocument(NodeState node, NamespaceMappings nsMappings, IndexFormatVersion indexFormatVersion)
          Creates a lucene Document for a node state using the namespace mappings nsMappings.
 NodeState[] AggregateRule.getAggregatedNodeStates(NodeState nodeState)
          Returns the node states that are part of the indexing aggregate of the nodeState.
 NodeState AggregateRule.getAggregateRoot(NodeState nodeState)
          Returns root node state for the indexing aggregate where nodeState belongs to.
 float IndexingConfigurationImpl.getNodeBoost(NodeState state)
          Returns the boost for the node scope fulltext index field.
 float IndexingConfiguration.getNodeBoost(NodeState state)
          Returns the boost for the node scope fulltext index field.
 float IndexingConfigurationImpl.getPropertyBoost(NodeState state, Name propertyName)
          Returns the boost value for the given property name.
 float IndexingConfiguration.getPropertyBoost(NodeState state, Name propertyName)
          Returns the boost value for the given property name.
 boolean IndexingConfigurationImpl.isIncludedInNodeScopeIndex(NodeState state, Name propertyName)
          Returns true if the property with the given name should be included in the node scope fulltext index.
 boolean IndexingConfiguration.isIncludedInNodeScopeIndex(NodeState state, Name propertyName)
          Returns true if the property with the given name should be included in the node scope fulltext index.
 boolean IndexingConfigurationImpl.isIndexed(NodeState state, Name propertyName)
          Returns true if the property with the given name is fulltext indexed according to this configuration.
 boolean IndexingConfiguration.isIndexed(NodeState state, Name propertyName)
          Returns true if the property with the given name is indexed according to this configuration.
protected  void SearchIndex.mergeAggregatedNodeIndexes(NodeState state, org.apache.lucene.document.Document doc)
          Merges the fulltext indexed fields of the aggregated node states into doc.
protected  void SearchIndex.retrieveAggregateRoot(NodeState state, Map map)
          Retrieves the root of the indexing aggregate for state and puts it into map.
 

Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState
NodeIndexer(NodeState node, ItemStateManager stateProvider, NamespaceMappings mappings, TextExtractor extractor)
          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 SessionItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState UpdatableItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState LocalItemStateManager.createNew(NodeId id, Name nodeTypeName, NodeId parentId)
          Creates a NodeState instance representing new, i.e.
 NodeState SessionItemStateManager.createNew(NodeState transientState)
          Customized variant of SessionItemStateManager.createNew(NodeId, Name, NodeId) that connects the newly created persistent state with the transient state.
 NodeState SessionItemStateManager.createTransientNodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus)
           
 NodeState SessionItemStateManager.createTransientNodeState(NodeState overlayedState, int initialStatus)
           
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 NodeStateIterator.nextNodeState()
          Returns the next node state of the iterator.
 

Methods in org.apache.jackrabbit.core.state with parameters of type NodeState
 NodeState SessionItemStateManager.createNew(NodeState transientState)
          Customized variant of SessionItemStateManager.createNew(NodeId, Name, NodeId) that connects the newly created persistent state with the transient state.
 NodeState SessionItemStateManager.createTransientNodeState(NodeState overlayedState, int initialStatus)
           
 void SessionItemStateManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added
 void LocalItemStateManager.nodeAdded(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been added

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void SessionItemStateManager.nodeModified(NodeState state)
          Called when a node has been modified, typically as a result of removal or addition of a child node.

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodeModified(NodeState state)
          Called when a node has been modified, typically as a result of removal or addition of a child node.
 void LocalItemStateManager.nodeModified(NodeState state)
          Called when a node has been modified, typically as a result of removal or addition of a child node.

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void SessionItemStateManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed
 void LocalItemStateManager.nodeRemoved(NodeState state, Name name, int index, NodeId id)
          Called when a child node has been removed

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void SessionItemStateManager.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.

Pass notification to listeners if a transient state was modified or if the local state is not overlayed.

 void NodeStateListener.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.
 void LocalItemStateManager.nodesReplaced(NodeState state)
          Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.

Optimization: shared state manager we're listening to does not deliver node state changes, therefore the state concerned must be a local state.

 void StateChangeDispatcher.notifyNodeAdded(NodeState state, Name name, int index, NodeId id)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyNodeModified(NodeState state)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyNodeRemoved(NodeState state, Name name, int index, NodeId id)
          Notify listeners about changes to some state.
 void StateChangeDispatcher.notifyNodesReplaced(NodeState state)
          Notify listeners about changes to some state.
 

Constructors in org.apache.jackrabbit.core.state with parameters of type NodeState
NodeState(NodeState overlayedState, int initialStatus, boolean isTransient)
          Constructs a new node state that is initially connected to an overlayed state.
 

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

Methods in org.apache.jackrabbit.core.state.util with parameters of type NodeState
static void Serializer.deserialize(NodeState state, InputStream stream)
          Deprecated. use Serializer.deserialize(NodeState, InputStream)
static void Serializer.serialize(NodeState state, OutputStream stream)
          Deprecated. use Serializer.serialize(NodeState, OutputStream)
 

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

Methods in org.apache.jackrabbit.core.version that return NodeState
 NodeState NodeStateEx.getState()
          Returns the underlaying node state.
 

Methods in org.apache.jackrabbit.core.version with parameters of type NodeState
 VersionHistory XAVersionManager.createVersionHistory(Session session, NodeState node)
          Creates a new version history.
 VersionHistory VersionManager.createVersionHistory(Session session, NodeState node)
          Creates a new version history.
 VersionHistory VersionManagerImpl.createVersionHistory(Session session, NodeState node)
          Creates a new version history.

This method must not be synchronized since it could cause deadlocks with item-reading listeners in the observation thread.

 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
NodeStateEx(UpdatableItemStateManager stateMgr, NodeTypeRegistry ntReg, NodeState nodeState, Name name)
          Creates a new persistent node
VersionHistoryImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Create a new instance of this class.
VersionImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners)
          Create a new instance of this class.
 

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
protected  NodeState AbstractVISProvider.cache(NodeState state)
          adds the node state to the cache
 NodeState AbstractVISProvider.getRootState()
          Returns the root state
 

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

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, NodeInfo nodeInfo)
           
 

Methods in org.apache.jackrabbit.core.xml with parameters of type NodeState
 void PropInfo.apply(NodeState node, BatchedItemOperations itemOps, NodeTypeRegistry ntReg, ReferenceChangeTracker refTracker)
           
protected  void WorkspaceImporter.postProcessNode(NodeState node)
          Post-process imported node (initialize properties with special semantics etc.)
protected  NodeState WorkspaceImporter.resolveUUIDConflict(NodeState parent, NodeState conflicting, NodeInfo nodeInfo)
           
 



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