Uses of Interface
org.apache.jackrabbit.oak.spi.state.NodeBuilder
Packages that use NodeBuilder
Package
Description
Composition support
Internal utilities and implementation of a memory-based store.
-
Uses of NodeBuilder in org.apache.jackrabbit.oak
Methods in org.apache.jackrabbit.oak with parameters of type NodeBuilder -
Uses of NodeBuilder in org.apache.jackrabbit.oak.composite
Methods in org.apache.jackrabbit.oak.composite with parameters of type NodeBuilderModifier and TypeMethodDescriptionCompositeNodeStore.merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info) CompositeNodeStore.rebase(NodeBuilder builder) CompositeNodeStore.reset(NodeBuilder builder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.index
Methods in org.apache.jackrabbit.oak.index that return NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderIndexerSupport.childBuilder(NodeBuilder nb, String path, boolean createNew) Methods in org.apache.jackrabbit.oak.index with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderIndexerSupport.childBuilder(NodeBuilder nb, String path, boolean createNew) @Nullable EditorSegmentPropertyIndexEditorProvider.getIndexEditor(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) voidIndexerSupport.updateIndexDefinitions(NodeBuilder rootBuilder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.index.indexer.document
Methods in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeBuilderModifier and TypeMethodDescriptionLuceneIndexerProvider.getIndexer(@NotNull String type, @NotNull String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter) @Nullable NodeStateIndexerNodeStateIndexerProvider.getIndexer(@NotNull String type, @NotNull String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter) protected CompositeIndexerDocumentStoreIndexerBase.prepareIndexers(NodeStateIndexerProvider indexerProvider, NodeStore copyOnWriteStore, NodeBuilder builder, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter) Constructors in org.apache.jackrabbit.oak.index.indexer.document with parameters of type NodeBuilderModifierConstructorDescriptionLuceneIndexer(org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition definition, org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter indexWriter, NodeBuilder builder, org.apache.jackrabbit.oak.plugins.index.search.spi.binary.FulltextBinaryTextExtractor binaryTextExtractor, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.index.indexer.document.tree
Methods in org.apache.jackrabbit.oak.index.indexer.document.tree that return NodeBuilder -
Uses of NodeBuilder in org.apache.jackrabbit.oak.indexversion
Methods in org.apache.jackrabbit.oak.indexversion that return NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderPurgeOldVersionUtils.getNode(@NotNull NodeBuilder nodeBuilder, @NotNull String path) Methods in org.apache.jackrabbit.oak.indexversion with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderPurgeOldVersionUtils.getNode(@NotNull NodeBuilder nodeBuilder, @NotNull String path) protected voidLucenePurgeOldIndexVersion.preserveDetailsFromIndexDefForPostOp(NodeBuilder builder) protected abstract voidPurgeOldIndexVersion.preserveDetailsFromIndexDefForPostOp(NodeBuilder builder) To preserve any required details from index def builder to be used in post op -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.atomic
Methods in org.apache.jackrabbit.oak.plugins.atomic with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic voidAtomicCounterEditor.consolidateCount(@NotNull NodeBuilder builder) consolidate theAtomicCounterEditor.PREFIX_PROP_COUNTERproperties and sum them into theAtomicCounterEditor.PROP_COUNTERAtomicCounterEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) Constructors in org.apache.jackrabbit.oak.plugins.atomic with parameters of type NodeBuilderModifierConstructorDescriptionAtomicCounterEditor(@NotNull NodeBuilder builder, @Nullable String instanceId, @Nullable ScheduledExecutorService executor, @Nullable NodeStore store, @Nullable Whiteboard board) Create an instance of the editor for atomic increments. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.blob.migration
Methods in org.apache.jackrabbit.oak.plugins.blob.migration that return NodeBuilderMethods in org.apache.jackrabbit.oak.plugins.blob.migration with parameters of type NodeBuilder -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.commit
Methods in org.apache.jackrabbit.oak.plugins.commit with parameters of type NodeBuilderModifier and TypeMethodDescription@NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) ChildOrderConflictHandler.addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs) DefaultConflictHandler.addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.addExistingProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) ChildOrderConflictHandler.addExistingProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) DefaultConflictHandler.addExistingProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.addExistingProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull ThreeWayConflictHandler.ResolutionJcrLastModifiedConflictHandler.addExistingProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.changeChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) ChildOrderConflictHandler.changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) DefaultConflictHandler.changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.changeChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.ResolutionJcrLastModifiedConflictHandler.changeChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) ChildOrderConflictHandler.changeDeletedNode(NodeBuilder parent, String name, NodeState ours) DefaultConflictHandler.changeDeletedNode(NodeBuilder parent, String name, NodeState ours) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.changeDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) ChildOrderConflictHandler.changeDeletedProperty(NodeBuilder parent, PropertyState ours) DefaultConflictHandler.changeDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.changeDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) ChildOrderConflictHandler.deleteChangedNode(NodeBuilder parent, String name, NodeState theirs) DefaultConflictHandler.deleteChangedNode(NodeBuilder parent, String name, NodeState theirs) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.deleteChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) ChildOrderConflictHandler.deleteChangedProperty(NodeBuilder parent, PropertyState theirs) DefaultConflictHandler.deleteChangedProperty(NodeBuilder parent, PropertyState theirs) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.deleteChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) ChildOrderConflictHandler.deleteDeletedNode(NodeBuilder parent, String name) DefaultConflictHandler.deleteDeletedNode(NodeBuilder parent, String name) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.ResolutionAnnotatingConflictHandler.deleteDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState base) ChildOrderConflictHandler.deleteDeletedProperty(NodeBuilder parent, PropertyState ours) DefaultConflictHandler.deleteDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.@NotNull ThreeWayConflictHandler.ResolutionDefaultThreeWayConflictHandler.deleteDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState base) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.cow
Methods in org.apache.jackrabbit.oak.plugins.cow with parameters of type NodeBuilderModifier and TypeMethodDescription@NotNull NodeStateBranchNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeStateCOWNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeStateBranchNodeStore.rebase(@NotNull NodeBuilder builder) @NotNull NodeStateCOWNodeStore.rebase(@NotNull NodeBuilder builder) BranchNodeStore.reset(@NotNull NodeBuilder builder) COWNodeStore.reset(@NotNull NodeBuilder builder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return NodeBuilderMethods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeBuilderModifier and TypeMethodDescription@NotNull NodeStateDocumentNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeStateDocumentNodeStore.rebase(@NotNull NodeBuilder builder) DocumentNodeStore.reset(@NotNull NodeBuilder builder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.document.bundlor
Methods in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type NodeBuilderModifier and TypeMethodDescriptionvoidBundlingConfigInitializer.initialize(@NotNull NodeBuilder builder) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type NodeBuilder -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.document.init
Methods in org.apache.jackrabbit.oak.plugins.document.init with parameters of type NodeBuilderModifier and TypeMethodDescriptionvoidBundlingConfigInitializer.initialize(@NotNull NodeBuilder builder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.document.secondary
Methods in org.apache.jackrabbit.oak.plugins.document.secondary that return NodeBuilder -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.index
Methods in org.apache.jackrabbit.oak.plugins.index that return NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderIndexUtils.createIndexDefinition(@NotNull NodeBuilder index, @NotNull String indexDefName, boolean reindex, boolean unique, @NotNull Collection<String> propertyNames, @Nullable Collection<String> declaringNodeTypeNames) Create a new property index definition below the givenindexNode.static NodeBuilderIndexUtils.createIndexDefinition(@NotNull NodeBuilder indexNode, @NotNull String indexDefName, boolean unique, @NotNull Iterable<String> propertyNames, @Nullable String[] declaringNodeTypeNames, @NotNull String propertyIndexType, Map<String, String> properties) Create a new property index definition below the givenindexNodeof the providedpropertyIndexType.static NodeBuilderIndexUtils.getOrCreateOakIndex(NodeBuilder root) Methods in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderIndexUtils.createIndexDefinition(@NotNull NodeBuilder index, @NotNull String indexDefName, boolean reindex, boolean unique, @NotNull Collection<String> propertyNames, @Nullable Collection<String> declaringNodeTypeNames) Create a new property index definition below the givenindexNode.static NodeBuilderIndexUtils.createIndexDefinition(@NotNull NodeBuilder indexNode, @NotNull String indexDefName, boolean unique, @NotNull Iterable<String> propertyNames, @Nullable String[] declaringNodeTypeNames, @NotNull String propertyIndexType, Map<String, String> properties) Create a new property index definition below the givenindexNodeof the providedpropertyIndexType.static voidIndexUtils.createReferenceIndex(@NotNull NodeBuilder index) CompositeIndexEditorProvider.getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) @Nullable EditorIndexEditorProvider.getIndexEditor(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) Each provider knows how to produce a certain type of index.WhiteboardIndexEditorProvider.getIndexEditor(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) static NodeBuilderIndexUtils.getOrCreateOakIndex(NodeBuilder root) @Nullable EditorIndexUpdateProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) voidIndexUpdate.MissingIndexProviderStrategy.onMissingIndex(String type, NodeBuilder definition, String indexPath) Constructors in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeBuilderModifierConstructorDescriptionIndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback) IndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, NodeTraversalCallback traversalCallback, CommitInfo commitInfo, CorruptIndexHandler corruptIndexHandler) IndexUpdate(IndexEditorProvider provider, String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, CommitInfo commitInfo) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.memory
Classes in org.apache.jackrabbit.oak.plugins.memory that implement NodeBuilderMethods in org.apache.jackrabbit.oak.plugins.memory that return NodeBuilderModifier and TypeMethodDescription@NotNull NodeBuilderEmptyNodeState.builder()@NotNull NodeBuilderModifiedNodeState.builder()@NotNull NodeBuilder@NotNull NodeBuilderMemoryNodeBuilder.getChildNode(@NotNull String name) @NotNull NodeBuilderMemoryNodeBuilder.removeProperty(String name) @NotNull NodeBuilderMemoryNodeBuilder.setChildNode(@NotNull String name) @NotNull NodeBuilderMemoryNodeBuilder.setChildNode(@NotNull String name, @NotNull NodeState state) @NotNull NodeBuilderMemoryNodeBuilder.setProperty(@NotNull PropertyState property) <T> @NotNull NodeBuilderMemoryNodeBuilder.setProperty(String name, T value) <T> @NotNull NodeBuilderMemoryNodeBuilder.setProperty(String name, T value, Type<T> type) Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type NodeBuilderModifier and TypeMethodDescriptionMemoryNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) This implementation is equal to first rebasing the builder and then applying it to a new branch and immediately merging it back.booleanMemoryNodeBuilder.moveTo(@NotNull NodeBuilder newParent, @NotNull String newName) This implementation has the same semantics as adding this node with namenewNameas a new child ofnewParentfollowed by removing this node.MemoryNodeStore.rebase(@NotNull NodeBuilder builder) This implementation is equal to applying the differences between the builders base state and its head state to a fresh builder on the stores root state usingConflictAnnotatingRebaseDifffor resolving conflicts.MemoryNodeStore.reset(@NotNull NodeBuilder builder) This implementation is equal resetting the builder to the root of the store and returning the resulting node state from the builder. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.migration
Methods in org.apache.jackrabbit.oak.plugins.migration that return NodeBuilderModifier and TypeMethodDescription@NotNull NodeBuilderAbstractDecoratedNodeState.builder()The AbstractDecoratedNodeState implementation returns a ReadOnlyBuilder, which will fail for any mutable operation.Methods in org.apache.jackrabbit.oak.plugins.migration with parameters of type NodeBuilderModifier and TypeMethodDescriptionbooleanNodeStateCopier.Builder.copy(@NotNull NodeState sourceRoot, @NotNull NodeBuilder targetRoot) Creates a NodeStateCopier to copy thesourceRootNodeState to thetargetRootNodeBuilder, using any include, exclude, merge paths and consumer set on this NodeStateCopier.Builder.static booleanNodeStateCopier.copyProperties(NodeState source, NodeBuilder target) Copies all changed properties from the source NodeState to the target NodeBuilder instance.static booleanNodeStateCopier.copyProperties(NodeState source, NodeBuilder target, boolean preserveOnTarget, String path) Copies all changed properties from the source NodeState to the target NodeBuilder instance. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.migration.version
Methods in org.apache.jackrabbit.oak.plugins.migration.version that return NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderVersionHistoryUtil.createVersionStorage(NodeBuilder root) static NodeBuilderVersionHistoryUtil.getVersionHistoryBuilder(NodeBuilder versionStorage, String versionableUuid) static NodeBuilderVersionHistoryUtil.getVersionStorage(NodeBuilder root) static NodeBuilderVersionHistoryUtil.removeVersions(NodeState root, List<String> toRemove) Methods in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic voidVersionCopier.copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config) static voidVersionCopier.copyVersionStorage(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config, @NotNull Consumer<String> consumer) static NodeBuilderVersionHistoryUtil.createVersionStorage(NodeBuilder root) VersionableEditor.Provider.getRootEditor(NodeState before, NodeState after, NodeBuilder rootBuilder, CommitInfo info) VersionablePropertiesEditor.Provider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) static NodeBuilderVersionHistoryUtil.getVersionHistoryBuilder(NodeBuilder versionStorage, String versionableUuid) static NodeBuilderVersionHistoryUtil.getVersionStorage(NodeBuilder root) static voidVersionHistoryUtil.removeVersionProperties(NodeBuilder versionableBuilder, TypePredicate isReferenceable) Constructors in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeBuilderModifierConstructorDescriptionVersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage) VersionCopier(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, Consumer<String> consumer) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.name
Methods in org.apache.jackrabbit.oak.plugins.name that return NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilderNamespaces.createStandardMappings(NodeBuilder system) Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic StringNamespaces.addCustomMapping(NodeBuilder namespaces, String uri, String prefixHint) static voidNamespaces.buildIndexNode(NodeBuilder namespaces) static NodeBuilderNamespaces.createStandardMappings(NodeBuilder system) NamespaceEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) static voidNamespaces.setupNamespaces(NodeBuilder system) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.nodetype
Methods in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic TypeEditorTypeEditor.create(@NotNull TypeEditor.ConstraintViolationCallback callback, Set<String> typesToCheck, @NotNull NodeState types, String primary, Iterable<String> mixins, @NotNull NodeBuilder builder) Creates a new TypeEditor instanceTypeEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.tree.factories
Methods in org.apache.jackrabbit.oak.plugins.tree.factories with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic TreeTreeFactory.createTree(@NotNull NodeBuilder builder) Deprecated. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.tree.impl
Methods in org.apache.jackrabbit.oak.plugins.tree.impl that return NodeBuilderModifier and TypeMethodDescriptionprotected abstract @NotNull NodeBuilderAbstractTree.getNodeBuilder()protected @NotNull NodeBuilderImmutableTree.getNodeBuilder()protected @NotNull NodeBuilderNodeBuilderTree.getNodeBuilder()Constructors in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type NodeBuilderModifierConstructorDescriptionNodeBuilderTree(@NotNull String name, @NotNull NodeBuilder nodeBuilder) Create a newAbstractTreeinstanceprotectedNodeBuilderTree(@Nullable NodeBuilderTree parent, @NotNull NodeBuilder nodeBuilder, @NotNull String name) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.version
Methods in org.apache.jackrabbit.oak.plugins.version that return NodeBuilderModifier and TypeMethodDescription@NotNull NodeBuilderReadWriteVersionManager.getOrCreateVersionHistory(@NotNull NodeBuilder versionable, @NotNull Map<String, Object> infoMap) Gets or creates the version history for the givenversionablenode.Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type NodeBuilderModifier and TypeMethodDescriptionprotected StringReadWriteVersionManager.calculateVersion(@NotNull NodeBuilder history, @NotNull NodeBuilder versionable) Copied from Apache Jackrabbit CorevoidReadWriteVersionManager.checkin(@NotNull NodeBuilder versionable) voidReadWriteVersionManager.checkout(NodeBuilder versionable) @NotNull NodeBuilderReadWriteVersionManager.getOrCreateVersionHistory(@NotNull NodeBuilder versionable, @NotNull Map<String, Object> infoMap) Gets or creates the version history for the givenversionablenode.voidReadWriteVersionManager.restore(@NotNull NodeBuilder versionable, @NotNull String versionUUID, @Nullable org.apache.jackrabbit.oak.plugins.version.VersionSelector selector) Constructors in org.apache.jackrabbit.oak.plugins.version with parameters of type NodeBuilderModifierConstructorDescriptionReadWriteVersionManager(NodeBuilder versionStorageNode, NodeBuilder workspaceRoot) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic booleanPermissionUtil.checkACLPath(@NotNull NodeBuilder node, @NotNull String path) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.segment
Classes in org.apache.jackrabbit.oak.segment that implement NodeBuilderModifier and TypeClassDescriptionclassA node builder that keeps track of the number of updates (set property calls and so on).Methods in org.apache.jackrabbit.oak.segment with parameters of type NodeBuilderModifier and TypeMethodDescription@NotNull NodeStateSegmentNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeStateSegmentNodeStore.rebase(@NotNull NodeBuilder builder) @NotNull NodeStateSegmentNodeStore.reset(@NotNull NodeBuilder builder) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.segment.scheduler
Constructors in org.apache.jackrabbit.oak.segment.scheduler with parameters of type NodeBuilderModifierConstructorDescriptionCommit(@NotNull NodeBuilder changes, @NotNull CommitHook hook, @NotNull CommitInfo info) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.spi.commit
Methods in org.apache.jackrabbit.oak.spi.commit with parameters of type NodeBuilderModifier and TypeMethodDescription@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) @NotNull PartialConflictHandler.ResolutionConflictHandler.addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs) Deprecated.The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.addExistingNode(NodeBuilder parent, String name, NodeState ours, NodeState theirs) Deprecated.The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.addExistingNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) The nodeourshas been added toparentwhich conflicts with nodetheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.addExistingProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull PartialConflictHandler.ResolutionConflictHandler.addExistingProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyourshas been added toparentwhich conflicts with propertytheirswhich has been added in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.addExistingProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyourshas been added toparentwhich conflicts with propertytheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.addExistingProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) The propertyourshas been added toparentwhich conflicts with propertytheirswhich has been added in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.changeChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyourshas been changed inparentwhile it was also changed to a different value (theirs) in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyourshas been changed inparentwhile it was also changed to a different value (theirs) in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.changeChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) The propertyourshas been changed inparentwhile it was also changed to a different value (theirs) in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.changeDeletedNode(NodeBuilder parent, String name, NodeState ours) Deprecated.The nodeourshas been changed inparentwhile it was removed in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.changeDeletedNode(NodeBuilder parent, String name, NodeState ours) Deprecated.The nodeourshas been changed inparentwhile it was removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.changeDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) The nodeourshas been changed inparentwhile it was removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.changeDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.changeDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.The propertyourshas been changed inparentwhile it was removed in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.changeDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.The propertyourshas been changed inparentwhile it was removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.changeDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) The propertyourshas been changed inparentwhile it was removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.deleteChangedNode(NodeBuilder parent, String name, NodeState theirs) Deprecated.The nodetheirschanged in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.deleteChangedNode(NodeBuilder parent, String name, NodeState theirs) Deprecated.The nodetheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.deleteChangedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) The nodetheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.deleteChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.deleteChangedProperty(NodeBuilder parent, PropertyState theirs) Deprecated.The propertytheirschanged in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.deleteChangedProperty(NodeBuilder parent, PropertyState theirs) Deprecated.The propertytheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.deleteChangedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) The propertytheirschanged in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.deleteDeletedNode(NodeBuilder parent, String name) Deprecated.The nodenamehas been removed inparentwhile it was also removed in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.deleteDeletedNode(NodeBuilder parent, String name) Deprecated.The nodenamehas been removed inparentwhile it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.deleteDeletedNode(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) The nodenamehas been removed inparentwhile it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionCompositeConflictHandler.deleteDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState base) @NotNull PartialConflictHandler.ResolutionConflictHandler.deleteDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.The propertyourshas been removed inparentwhile it was also removed in the persistence store.@Nullable PartialConflictHandler.ResolutionPartialConflictHandler.deleteDeletedProperty(NodeBuilder parent, PropertyState ours) Deprecated.The propertyourshas been removed inparentwhile it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.ResolutionThreeWayConflictHandler.deleteDeletedProperty(@NotNull NodeBuilder parent, @NotNull PropertyState base) The propertyourshas been removed inparentwhile it was also removed in the persistence store.@Nullable EditorCompositeEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) @Nullable EditorEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) Returns an editor for processing changes between the given two states.final @Nullable EditorValidatorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) @Nullable EditorWhiteboardEditorProvider.getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) -
Uses of NodeBuilder in org.apache.jackrabbit.oak.spi.filter
Methods in org.apache.jackrabbit.oak.spi.filter with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic PathFilterPathFilter.from(@NotNull NodeBuilder defn) Constructs the predicate based on given definition state. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.spi.lifecycle
Methods in org.apache.jackrabbit.oak.spi.lifecycle with parameters of type NodeBuilderModifier and TypeMethodDescriptionvoidCompositeInitializer.initialize(@NotNull NodeBuilder builder) voidCompositeWorkspaceInitializer.initialize(NodeBuilder builder, String workspaceName) voidRepositoryInitializer.initialize(@NotNull NodeBuilder builder) Initializes repository content.voidWorkspaceInitializer.initialize(NodeBuilder builder, String workspaceName) Initialize the content of a new workspace. -
Uses of NodeBuilder in org.apache.jackrabbit.oak.spi.state
Classes in org.apache.jackrabbit.oak.spi.state that implement NodeBuilderModifier and TypeClassDescriptionclassA node builder that throws anUnsupportedOperationExceptionon all attempts to modify the given base state.Fields in org.apache.jackrabbit.oak.spi.state declared as NodeBuilderMethods in org.apache.jackrabbit.oak.spi.state that return NodeBuilderModifier and TypeMethodDescription@NotNull NodeBuilderNodeState.builder()Returns a builder for constructing a new node state based on this state, i.e.@NotNull NodeBuilderReturns a builder for constructing changes to the named child node.@NotNull NodeBuilderNodeBuilder.getChildNode(@NotNull String name) Returns a builder for constructing changes to the named child node.@NotNull NodeBuilderReadOnlyBuilder.getChildNode(@NotNull String name) @NotNull NodeBuilderNodeBuilder.removeProperty(String name) Remove the named property.@NotNull NodeBuilderReadOnlyBuilder.removeProperty(String name) @NotNull NodeBuilderNodeBuilder.setChildNode(@NotNull String name) Adds the named child node and returns a builder for modifying it.@NotNull NodeBuilderNodeBuilder.setChildNode(@NotNull String name, @NotNull NodeState nodeState) Adds or replaces a subtree.@NotNull NodeBuilderReadOnlyBuilder.setChildNode(@NotNull String name) @NotNull NodeBuilderReadOnlyBuilder.setChildNode(@NotNull String name, @NotNull NodeState nodeState) @NotNull NodeBuilderNodeBuilder.setProperty(@NotNull PropertyState property) Set a property state<T> @NotNull NodeBuilderNodeBuilder.setProperty(String name, T value) Set a property state<T> @NotNull NodeBuilderNodeBuilder.setProperty(String name, T value, Type<T> type) Set a property state@NotNull NodeBuilderReadOnlyBuilder.setProperty(@NotNull PropertyState property) <T> @NotNull NodeBuilderReadOnlyBuilder.setProperty(String name, T value) <T> @NotNull NodeBuilderReadOnlyBuilder.setProperty(String name, T value, Type<T> type) Methods in org.apache.jackrabbit.oak.spi.state with parameters of type NodeBuilderModifier and TypeMethodDescriptionprotected abstract voidAbstractRebaseDiff.addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after) Called when the nodeafterwas added on the branch but the node exists already in the trunk.protected voidConflictAnnotatingRebaseDiff.addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after) protected abstract voidAbstractRebaseDiff.addExistingProperty(NodeBuilder builder, PropertyState before, PropertyState after) Called when the propertyafterwas added on the branch but the property exists already in the trunk.protected voidConflictAnnotatingRebaseDiff.addExistingProperty(NodeBuilder builder, PropertyState before, PropertyState after) protected abstract voidAbstractRebaseDiff.changeChangedProperty(NodeBuilder builder, PropertyState before, PropertyState after) Called when the propertyafterwas changed on the branch but was already changed tobeforein the trunk.protected voidConflictAnnotatingRebaseDiff.changeChangedProperty(NodeBuilder builder, PropertyState before, PropertyState after) protected abstract voidAbstractRebaseDiff.changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base) Called when the nodeafterwas changed on the branch but was deleted already in the trunk.protected voidConflictAnnotatingRebaseDiff.changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base) protected abstract voidAbstractRebaseDiff.changeDeletedProperty(NodeBuilder builder, PropertyState after, PropertyState base) Called when the propertyafterwas changed on the branch but was deleted already in the trunk.protected voidConflictAnnotatingRebaseDiff.changeDeletedProperty(NodeBuilder builder, PropertyState after, PropertyState base) protected abstract AbstractRebaseDiffAbstractRebaseDiff.createDiff(NodeBuilder builder, String name) Factory method for creating a rebase handler for the named child of the passed parent builder.protected ConflictAnnotatingRebaseDiffConflictAnnotatingRebaseDiff.createDiff(NodeBuilder builder, String name) protected abstract voidAbstractRebaseDiff.deleteChangedNode(NodeBuilder builder, String name, NodeState before) Called when the nodebeforewas deleted in the branch but was already changed in the trunk.protected voidConflictAnnotatingRebaseDiff.deleteChangedNode(NodeBuilder builder, String name, NodeState before) protected abstract voidAbstractRebaseDiff.deleteChangedProperty(NodeBuilder builder, PropertyState before) Called when the propertybeforewas deleted in the branch but was already changed in the trunk.protected voidConflictAnnotatingRebaseDiff.deleteChangedProperty(NodeBuilder builder, PropertyState before) protected abstract voidAbstractRebaseDiff.deleteDeletedNode(NodeBuilder builder, String name, NodeState before) Called when the nodebeforewas deleted in the branch but was already deleted in the trunk.protected voidConflictAnnotatingRebaseDiff.deleteDeletedNode(NodeBuilder builder, String name, NodeState before) protected abstract voidAbstractRebaseDiff.deleteDeletedProperty(NodeBuilder builder, PropertyState before) Called when the propertybeforewas deleted in the branch but was already deleted in the trunk.protected voidConflictAnnotatingRebaseDiff.deleteDeletedProperty(NodeBuilder builder, PropertyState before) @NotNull NodeStateNodeStore.merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) ProxyNodeStore.merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info) booleanNodeBuilder.moveTo(@NotNull NodeBuilder newParent, @NotNull String newName) Move this child to a new parent with a new name.booleanReadOnlyBuilder.moveTo(@NotNull NodeBuilder newParent, @NotNull String newName) @NotNull NodeStateNodeStore.rebase(@NotNull NodeBuilder builder) ProxyNodeStore.rebase(NodeBuilder builder) NodeStore.reset(@NotNull NodeBuilder builder) Reset the passedbuilderby throwing away all its changes and setting its base state to the current root state.ProxyNodeStore.reset(NodeBuilder builder) Constructors in org.apache.jackrabbit.oak.spi.state with parameters of type NodeBuilderModifierConstructorDescriptionprotectedAbstractRebaseDiff(NodeBuilder builder) ApplyDiff(NodeBuilder builder) ConflictAnnotatingRebaseDiff(NodeBuilder builder)