Uses of Class
org.apache.jackrabbit.core.state.NodeState
-
Packages that use NodeState Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.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.util org.apache.jackrabbit.core.persistence.xml org.apache.jackrabbit.core.query org.apache.jackrabbit.core.query.lucene org.apache.jackrabbit.core.security.user org.apache.jackrabbit.core.state 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 Modifier and Type Method Description NodeStateBatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)Creates a new node.NodeStateBatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, QNodeDefinition def)Creates a new node based on the given definition.NodeStateAbstractNodeData. getNodeState()Return the associated node state.NodeStateBatchedItemOperations. getNodeState(NodeId id)Retrieves the state of the node with the given id.protected NodeStateBatchedItemOperations. getNodeState(ItemStateManager srcStateMgr, HierarchyManager srcHierMgr, Path nodePath)Retrieves the state of the node atnodePathusing the given item state manager.NodeStateBatchedItemOperations. getNodeState(Path nodePath)Retrieves the state of the node at the given path.Methods in org.apache.jackrabbit.core with parameters of type NodeState Modifier and Type Method Description voidBatchedItemOperations. checkAddNode(NodeState parentState, Name nodeName, Name nodeTypeName, int options)Checks if adding a child node callednodeNameof node typenodeTypeNameto the given parent node is allowed in the current context.voidBatchedItemOperations. checkRemoveNode(NodeState targetState, int options)Checks if removing the given target node is allowed in the current context.voidBatchedItemOperations. checkRemoveNode(NodeState targetState, NodeId parentId, int options)Checks if removing the given target node from the specifed parent is allowed in the current context.NodeIdBatchedItemOperations. clone(NodeState srcState, NodeState destParentState, Name destName)Implementation ofBatchedItemOperations.clone(Path, Path)that has already determined the affectedNodeStates.InternalValue[]NodeTypeInstanceHandler. computeSystemGeneratedPropertyValues(NodeState parent, QPropertyDefinition def)Computes the values of well-known system (i.e.NodeStateBatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id)Creates a new node.NodeStateBatchedItemOperations. createNodeState(NodeState parent, Name nodeName, Name nodeTypeName, Name[] mixinNames, NodeId id, QNodeDefinition def)Creates a new node based on the given definition.PropertyStateBatchedItemOperations. createPropertyState(NodeState parent, Name propName, int type, int numValues)Creates a new property.PropertyStateBatchedItemOperations. createPropertyState(NodeState parent, Name propName, int type, QPropertyDefinition def)Creates a new property based on the given definition.QNodeDefinitionItemValidator. 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.QPropertyDefinitionItemValidator. 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.QPropertyDefinitionItemValidator. 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 ChildNodeEntryHierarchyManagerImpl. getChildNodeEntry(NodeState parent, NodeId id)Returns theChildNodeEntryofparentwith the specifieduuidornullif there's no such entry.protected ChildNodeEntryHierarchyManagerImpl. getChildNodeEntry(NodeState parent, Name name, int index)Returns theChildNodeEntryofparentwith the specifiednameandindexornullif there's no such entry.protected ChildNodeEntryZombieHierarchyManager. getChildNodeEntry(NodeState parent, NodeId id)Returns theChildNodeEntryofparentwith the specifieduuidornullif there's no such entry.protected ChildNodeEntryZombieHierarchyManager. getChildNodeEntry(NodeState parent, Name name, int index)Returns theChildNodeEntryofparentwith the specifiednameandindexornullif there's no such entry.EffectiveNodeTypeItemValidator. getEffectiveNodeType(NodeState state)Helper method that builds the effective (i.e.voidCachingHierarchyManager. nodeAdded(NodeState state, Name name, int index, NodeId id)Called when a child node has been addedvoidCachingHierarchyManager. nodeModified(NodeState modified)Called when a node has been modified, typically as a result of removal or addition of a child node.voidCachingHierarchyManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)Called when a child node has been removedvoidCachingHierarchyManager. nodesReplaced(NodeState state)Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.voidBatchedItemOperations. removeNodeState(NodeState target)Unlinks the specified node state from its parent and recursively removes it including its properties and child nodes.protected voidNodeImpl. restoreTransient(NodeState transientState)voidNodeTypeInstanceHandler. setDefaultValues(PropertyState property, NodeState parent, QPropertyDefinition def)Sets the system-generated or node type -specified default values of the given property.voidItemValidator. 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 Constructor Description AbstractNodeData(NodeState state, ItemManager itemMgr)Create a new instance of this class. -
Uses of NodeState in org.apache.jackrabbit.core.persistence
Methods in org.apache.jackrabbit.core.persistence that return NodeState Modifier and Type Method Description NodeStateAbstractPersistenceManager. createNew(NodeId id)Deprecated.Creates a new node state instance with the given id.NodeStatePersistenceManager. createNew(NodeId id)Creates a new node state instance with the given id.NodeStatePersistenceManager. load(NodeId id)Load the persistent members of a node state.Methods in org.apache.jackrabbit.core.persistence with parameters of type NodeState Modifier and Type Method Description protected abstract voidAbstractPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected abstract voidAbstractPersistenceManager. store(NodeState state)Deprecated.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 Modifier and Type Method Description NodeStateAbstractBundlePersistenceManager. createNew(NodeId id)Creates a new node state instance with the given id.NodeStateAbstractBundlePersistenceManager. load(NodeId id)Load the persistent members of a node state. -
Uses of NodeState in org.apache.jackrabbit.core.persistence.db
Methods in org.apache.jackrabbit.core.persistence.db that return NodeState Modifier and Type Method Description NodeStateDatabasePersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.Methods in org.apache.jackrabbit.core.persistence.db with parameters of type NodeState Modifier and Type Method Description voidDatabasePersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.voidDatabasePersistenceManager. store(NodeState state)Deprecated.Store a node state.voidOraclePersistenceManager. store(NodeState state)Deprecated.Store a node state. -
Uses of NodeState in org.apache.jackrabbit.core.persistence.mem
Methods in org.apache.jackrabbit.core.persistence.mem that return NodeState Modifier and Type Method Description NodeStateInMemPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.Methods in org.apache.jackrabbit.core.persistence.mem with parameters of type NodeState Modifier and Type Method Description protected voidInMemPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidInMemPersistenceManager. store(NodeState state)Deprecated.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 Modifier and Type Method Description NodeStateObjectPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.Methods in org.apache.jackrabbit.core.persistence.obj with parameters of type NodeState Modifier and Type Method Description protected voidObjectPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidObjectPersistenceManager. store(NodeState state)Deprecated.Store a node state. -
Uses of NodeState in org.apache.jackrabbit.core.persistence.util
Methods in org.apache.jackrabbit.core.persistence.util that return NodeState Modifier and Type Method Description NodeStateNodePropBundle. createNodeState(PersistenceManager pMgr)Creates a node state from the values of this bundleMethods in org.apache.jackrabbit.core.persistence.util with parameters of type NodeState Modifier and Type Method Description static voidSerializer. deserialize(NodeState state, InputStream stream)Deserializes aNodeStateobject from the given binarystream.static voidSerializer. serialize(NodeState state, OutputStream stream)Serializes the specifiedNodeStateobject to the given binarystream.voidNodePropBundle. update(NodeState state)Updates this bundle with values from the given state.Constructors in org.apache.jackrabbit.core.persistence.util with parameters of type NodeState Constructor Description NodePropBundle(NodeState state)Creates a bundle from the given state -
Uses of NodeState in org.apache.jackrabbit.core.persistence.xml
Methods in org.apache.jackrabbit.core.persistence.xml that return NodeState Modifier and Type Method Description NodeStateXMLPersistenceManager. load(NodeId id)Deprecated.Load the persistent members of a node state.Methods in org.apache.jackrabbit.core.persistence.xml with parameters of type NodeState Modifier and Type Method Description protected voidXMLPersistenceManager. destroy(NodeState state)Deprecated.Destroy a node state.protected voidXMLPersistenceManager. store(NodeState state)Deprecated.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 Modifier and Type Method Description voidQueryHandler. addNode(NodeState node)Adds aNodeto the search index.abstract voidOnWorkspaceInconsistency. handleMissingChildNode(NoSuchItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)Handle a missing child node state.voidOnWorkspaceInconsistency. logError(ItemStateException exception, QueryHandler handler, Path path, NodeState node, ChildNodeEntry child)Logs a generic workspace inconsistency error. -
Uses of NodeState in org.apache.jackrabbit.core.query.lucene
Fields in org.apache.jackrabbit.core.query.lucene declared as NodeState Modifier and Type Field Description protected NodeStateNodeIndexer. nodeTheNodeStateof the node to indexMethods in org.apache.jackrabbit.core.query.lucene that return NodeState Modifier and Type Method Description NodeState[]AggregateRule. getAggregatedNodeStates(NodeState nodeState)Returns the node states that are part of the indexing aggregate of thenodeState.NodeStateAggregateRule. getAggregateRoot(NodeState nodeState)Returns root node state for the indexing aggregate wherenodeStatebelongs to.Methods in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState Modifier and Type Method Description voidSearchIndex. addNode(NodeState node)Adds thenodeto the search index.protected DocumentSearchIndex. createDocument(NodeState node, NamespaceMappings nsMappings, IndexFormatVersion indexFormatVersion)Creates a luceneDocumentfor a node state using the namespace mappingsnsMappings.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.floatIndexingConfiguration. getNodeBoost(NodeState state)Returns the boost for the node scope fulltext index field.floatIndexingConfigurationImpl. getNodeBoost(NodeState state)Returns the boost for the node scope fulltext index field.floatIndexingConfiguration. getPropertyBoost(NodeState state, Name propertyName)Returns the boost value for the given property name.floatIndexingConfigurationImpl. getPropertyBoost(NodeState state, Name propertyName)Returns the boost value for the given property name.protected PathSearchIndex. getRelativePath(NodeState nodeState, PropertyState propState)Returns the relative path fromnodeStatetopropState.booleanIndexingConfiguration. isIncludedInNodeScopeIndex(NodeState state, Name propertyName)Returnstrueif the property with the given name should be included in the node scope fulltext index.booleanIndexingConfigurationImpl. isIncludedInNodeScopeIndex(NodeState state, Name propertyName)Returnstrueif the property with the given name should be included in the node scope fulltext index.booleanIndexingConfiguration. isIndexed(NodeState state, Name propertyName)Returnstrueif the property with the given name is indexed according to this configuration.booleanIndexingConfigurationImpl. isIndexed(NodeState state, Name propertyName)Returnstrueif the property with the given name is fulltext indexed according to this configuration.protected voidSearchIndex. mergeAggregatedNodeIndexes(NodeState state, Document doc, IndexFormatVersion ifv)Merges the fulltext indexed fields of the aggregated node states intodoc.protected voidSearchIndex. retrieveAggregateRoot(NodeState state, Map<NodeId,NodeState> aggregates)Retrieves the root of the indexing aggregate forstateand puts it intoaggregatesmap.booleanIndexingConfiguration. useInExcerpt(NodeState state, Name propertyName)Returnstrueif the content of the property with the given name should show up in an excerpt.booleanIndexingConfigurationImpl. useInExcerpt(NodeState state, Name propertyName)Returnstrueif the content of the property with the given name should show up in an excerpt.Method parameters in org.apache.jackrabbit.core.query.lucene with type arguments of type NodeState Modifier and Type Method Description protected voidSearchIndex. retrieveAggregateRoot(Set<NodeId> removedIds, Map<NodeId,NodeState> aggregates)Retrieves the root of the indexing aggregate forremovedIdsand puts it intomap.protected voidSearchIndex. retrieveAggregateRoot(NodeState state, Map<NodeId,NodeState> aggregates)Retrieves the root of the indexing aggregate forstateand puts it intoaggregatesmap.Constructors in org.apache.jackrabbit.core.query.lucene with parameters of type NodeState Constructor Description NodeIndexer(NodeState node, ItemStateManager stateProvider, NamespaceMappings mappings, Executor executor, org.apache.tika.parser.Parser parser)Creates a new node indexer. -
Uses of NodeState in org.apache.jackrabbit.core.security.user
Methods in org.apache.jackrabbit.core.security.user with parameters of type NodeState Modifier and Type Method Description voidUserImporter. end(NodeState protectedParent)booleanUserImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)booleanUserImporter. start(NodeState protectedParent) -
Uses of NodeState in org.apache.jackrabbit.core.state
Methods in org.apache.jackrabbit.core.state that return NodeState Modifier and Type Method Description NodeStateLocalItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)Creates aNodeStateinstance representing new, i.e.NodeStateSessionItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)Creates aNodeStateinstance representing new, i.e.NodeStateUpdatableItemStateManager. createNew(NodeId id, Name nodeTypeName, NodeId parentId)Creates aNodeStateinstance representing new, i.e.NodeStateSessionItemStateManager. createTransientNodeState(NodeId id, Name nodeTypeName, NodeId parentId, int initialStatus)NodeStateSessionItemStateManager. createTransientNodeState(NodeState overlayedState, int initialStatus)protected 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.NodeStateLocalItemStateManager. getOrCreateLocalState(NodeState transientState)Returns the local node state below the given transient one.NodeStateSessionItemStateManager. makePersistent(NodeState transientState)Pushes the given transient state to the change log so it'll be persisted when the change log is committed.Methods in org.apache.jackrabbit.core.state with parameters of type NodeState Modifier and Type Method Description NodeStateSessionItemStateManager. createTransientNodeState(NodeState overlayedState, int initialStatus)NodeStateLocalItemStateManager. getOrCreateLocalState(NodeState transientState)Returns the local node state below the given transient one.NodeStateSessionItemStateManager. makePersistent(NodeState transientState)Pushes the given transient state to the change log so it'll be persisted when the change log is committed.voidLocalItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)Called when a child node has been addedvoidNodeStateListener. nodeAdded(NodeState state, Name name, int index, NodeId id)Called when a child node has been addedvoidSessionItemStateManager. nodeAdded(NodeState state, Name name, int index, NodeId id)Called when a child node has been addedvoidLocalItemStateManager. nodeModified(NodeState state)Called when a node has been modified, typically as a result of removal or addition of a child node.voidNodeStateListener. nodeModified(NodeState state)Called when a node has been modified, typically as a result of removal or addition of a child node.voidSessionItemStateManager. nodeModified(NodeState state)Called when a node has been modified, typically as a result of removal or addition of a child node.voidLocalItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)Called when a child node has been removedvoidNodeStateListener. nodeRemoved(NodeState state, Name name, int index, NodeId id)Called when a child node has been removedvoidSessionItemStateManager. nodeRemoved(NodeState state, Name name, int index, NodeId id)Called when a child node has been removedvoidLocalItemStateManager. nodesReplaced(NodeState state)Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.voidNodeStateListener. nodesReplaced(NodeState state)Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.voidSessionItemStateManager. nodesReplaced(NodeState state)Called when the children nodes were replaced by other nodes, typically as result of a reorder operation.voidStateChangeDispatcher. notifyNodeAdded(NodeState state, Name name, int index, NodeId id)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyNodeModified(NodeState state)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyNodeRemoved(NodeState state, Name name, int index, NodeId id)Notify listeners about changes to some state.voidStateChangeDispatcher. notifyNodesReplaced(NodeState state)Notify listeners about changes to some state.Constructors in org.apache.jackrabbit.core.state with parameters of type NodeState Constructor Description 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.version
Methods in org.apache.jackrabbit.core.version that return NodeState Modifier and Type Method Description NodeStateNodeStateEx. getState()Returns the underlaying node state.Methods in org.apache.jackrabbit.core.version with parameters of type NodeState Modifier and Type Method Description protected VersionHistoryInfoInternalVersionManagerImpl. createVersionHistory(Session session, NodeState node, NodeId copiedFrom)Creates a new version history.protected VersionHistoryInfoInternalXAVersionManager. createVersionHistory(Session session, NodeState node, NodeId copiedFrom)Creates a new version history.VersionHistoryInfoInternalVersionManager. getVersionHistory(Session session, NodeState vNode, NodeId copiedFrom)Returns information about the version history of the specified node.Constructors in org.apache.jackrabbit.core.version with parameters of type NodeState Constructor Description NodeStateEx(UpdatableItemStateManager stateMgr, NodeTypeRegistry ntReg, NodeState nodeState, Name name)Creates a new persistent node -
Uses of NodeState in org.apache.jackrabbit.core.virtual
Subclasses of NodeState in org.apache.jackrabbit.core.virtual Modifier and Type Class Description classVirtualNodeStateThis Class implements a virtual node stateMethods in org.apache.jackrabbit.core.virtual that return NodeState Modifier and Type Method Description protected NodeStateAbstractVISProvider. cache(NodeState state)adds the node state to the cacheNodeStateAbstractVISProvider. getRootState()Returns the root stateMethods in org.apache.jackrabbit.core.virtual with parameters of type NodeState Modifier and Type Method Description voidVirtualNodeState. addStateReference(NodeState state)Adds a hard reference to another stateprotected NodeStateAbstractVISProvider. cache(NodeState state)adds the node state to the cacheprotected QNodeDefinitionAbstractVISProvider. getApplicableChildNodeDef(NodeState parent, Name nodeName, Name nodeTypeName)Retrieves the node definition for the given constraints.protected QPropertyDefinitionAbstractVISProvider. getApplicablePropertyDef(NodeState parent, Name propertyName, int type, boolean multiValued)retrieves the property definition for the given constraintsprotected EffectiveNodeTypeAbstractVISProvider. 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 Modifier and Type Method Description protected NodeStateWorkspaceImporter. resolveUUIDConflict(NodeState parent, NodeState conflicting, NodeInfo nodeInfo)Methods in org.apache.jackrabbit.core.xml with parameters of type NodeState Modifier and Type Method Description voidAccessControlImporter. end(NodeState protectedParent)voidDefaultProtectedItemImporter. end(NodeState protectedParent)Does nothing.voidProtectedNodeImporter. end(NodeState protectedParent)Informs this importer that the tree to be imported belowprotectedParenthas bee completed.booleanDefaultProtectedItemImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)Always returnsfalse.booleanProtectedPropertyImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)Handles a single protected property.protected voidWorkspaceImporter. postProcessNode(NodeState node)Post-process imported node (initialize properties with special semantics etc.)protected voidWorkspaceImporter. processProperty(NodeState node, PropInfo pInfo)protected NodeStateWorkspaceImporter. resolveUUIDConflict(NodeState parent, NodeState conflicting, NodeInfo nodeInfo)booleanAccessControlImporter. start(NodeState protectedParent)booleanDefaultProtectedItemImporter. start(NodeState protectedParent)Always returnsfalse.booleanProtectedNodeImporter. start(NodeState protectedParent)Notifies this importer about the existence of a protected node that has either been created (NEW) or has been found to be existing.
-