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 NodeBuilder
IndexerSupport.childBuilder
(NodeBuilder nb, String path, boolean createNew) Methods in org.apache.jackrabbit.oak.index with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilder
IndexerSupport.childBuilder
(NodeBuilder nb, String path, boolean createNew) @Nullable Editor
SegmentPropertyIndexEditorProvider.getIndexEditor
(@NotNull String type, @NotNull NodeBuilder definition, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) void
IndexerSupport.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 NodeStateIndexer
NodeStateIndexerProvider.getIndexer
(@NotNull String type, @NotNull String indexPath, @NotNull NodeBuilder definition, @NotNull NodeState root, org.apache.jackrabbit.oak.plugins.index.progress.IndexingProgressReporter progressReporter) protected CompositeIndexer
DocumentStoreIndexerBase.prepareIndexers
(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 NodeBuilder
PurgeOldVersionUtils.getNode
(@NotNull NodeBuilder nodeBuilder, @NotNull String path) Methods in org.apache.jackrabbit.oak.indexversion with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilder
PurgeOldVersionUtils.getNode
(@NotNull NodeBuilder nodeBuilder, @NotNull String path) protected void
LucenePurgeOldIndexVersion.preserveDetailsFromIndexDefForPostOp
(NodeBuilder builder) protected abstract void
PurgeOldIndexVersion.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 void
AtomicCounterEditor.consolidateCount
(@NotNull NodeBuilder builder) consolidate theAtomicCounterEditor.PREFIX_PROP_COUNTER
properties and sum them into theAtomicCounterEditor.PROP_COUNTER
AtomicCounterEditorProvider.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.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.addExistingNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.addExistingProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull ThreeWayConflictHandler.Resolution
JcrLastModifiedConflictHandler.addExistingProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.changeChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.Resolution
JcrLastModifiedConflictHandler.changeChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.changeDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.changeDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.deleteChangedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.deleteChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.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.Resolution
DefaultThreeWayConflictHandler.deleteDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) @NotNull ThreeWayConflictHandler.Resolution
AnnotatingConflictHandler.deleteDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState base) ChildOrderConflictHandler.deleteDeletedProperty
(NodeBuilder parent, PropertyState ours) DefaultConflictHandler.deleteDeletedProperty
(NodeBuilder parent, PropertyState ours) Deprecated.@NotNull ThreeWayConflictHandler.Resolution
DefaultThreeWayConflictHandler.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 NodeState
BranchNodeStore.merge
(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeState
COWNodeStore.merge
(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeState
BranchNodeStore.rebase
(@NotNull NodeBuilder builder) @NotNull NodeState
COWNodeStore.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 NodeState
DocumentNodeStore.merge
(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeState
DocumentNodeStore.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 TypeMethodDescriptionvoid
BundlingConfigInitializer.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 TypeMethodDescriptionvoid
BundlingConfigInitializer.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 NodeBuilder
IndexUtils.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 NodeBuilder
IndexUtils.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 givenindexNode
of the providedpropertyIndexType
.static NodeBuilder
IndexUtils.getOrCreateOakIndex
(NodeBuilder root) Methods in org.apache.jackrabbit.oak.plugins.index with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic NodeBuilder
IndexUtils.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 NodeBuilder
IndexUtils.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 givenindexNode
of the providedpropertyIndexType
.static void
IndexUtils.createReferenceIndex
(@NotNull NodeBuilder index) CompositeIndexEditorProvider.getIndexEditor
(@NotNull String type, @NotNull NodeBuilder builder, @NotNull NodeState root, @NotNull IndexUpdateCallback callback) @Nullable Editor
IndexEditorProvider.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 NodeBuilder
IndexUtils.getOrCreateOakIndex
(NodeBuilder root) @Nullable Editor
IndexUpdateProvider.getRootEditor
(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) void
IndexUpdate.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 NodeBuilder
EmptyNodeState.builder()
@NotNull NodeBuilder
ModifiedNodeState.builder()
@NotNull NodeBuilder
@NotNull NodeBuilder
MemoryNodeBuilder.getChildNode
(@NotNull String name) @NotNull NodeBuilder
MemoryNodeBuilder.removeProperty
(String name) @NotNull NodeBuilder
MemoryNodeBuilder.setChildNode
(@NotNull String name) @NotNull NodeBuilder
MemoryNodeBuilder.setChildNode
(@NotNull String name, @NotNull NodeState state) @NotNull NodeBuilder
MemoryNodeBuilder.setProperty
(@NotNull PropertyState property) <T> @NotNull NodeBuilder
MemoryNodeBuilder.setProperty
(String name, T value) <T> @NotNull NodeBuilder
MemoryNodeBuilder.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.boolean
MemoryNodeBuilder.moveTo
(@NotNull NodeBuilder newParent, @NotNull String newName) This implementation has the same semantics as adding this node with namenewName
as a new child ofnewParent
followed 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 usingConflictAnnotatingRebaseDiff
for 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 NodeBuilder
AbstractDecoratedNodeState.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 TypeMethodDescriptionboolean
NodeStateCopier.Builder.copy
(@NotNull NodeState sourceRoot, @NotNull NodeBuilder targetRoot) Creates a NodeStateCopier to copy thesourceRoot
NodeState to thetargetRoot
NodeBuilder, using any include, exclude, merge paths and consumer set on this NodeStateCopier.Builder.static boolean
NodeStateCopier.copyProperties
(NodeState source, NodeBuilder target) Copies all changed properties from the source NodeState to the target NodeBuilder instance.static boolean
NodeStateCopier.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 NodeBuilder
VersionHistoryUtil.createVersionStorage
(NodeBuilder root) static NodeBuilder
VersionHistoryUtil.getVersionHistoryBuilder
(NodeBuilder versionStorage, String versionableUuid) static NodeBuilder
VersionHistoryUtil.getVersionStorage
(NodeBuilder root) static NodeBuilder
VersionHistoryUtil.removeVersions
(NodeState root, List<String> toRemove) Methods in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic void
VersionCopier.copyVersionStorage
(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config) static void
VersionCopier.copyVersionStorage
(NodeBuilder targetRoot, NodeState sourceVersionStorage, NodeBuilder targetVersionStorage, VersionCopyConfiguration config, @NotNull Consumer<String> consumer) static NodeBuilder
VersionHistoryUtil.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 NodeBuilder
VersionHistoryUtil.getVersionHistoryBuilder
(NodeBuilder versionStorage, String versionableUuid) static NodeBuilder
VersionHistoryUtil.getVersionStorage
(NodeBuilder root) static void
VersionHistoryUtil.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 NodeBuilder
Namespaces.createStandardMappings
(NodeBuilder system) Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type NodeBuilderModifier and TypeMethodDescriptionstatic String
Namespaces.addCustomMapping
(NodeBuilder namespaces, String uri, String prefixHint) static void
Namespaces.buildIndexNode
(NodeBuilder namespaces) static NodeBuilder
Namespaces.createStandardMappings
(NodeBuilder system) NamespaceEditorProvider.getRootEditor
(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) static void
Namespaces.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 TypeEditor
TypeEditor.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 Tree
TreeFactory.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 NodeBuilder
AbstractTree.getNodeBuilder()
protected @NotNull NodeBuilder
ImmutableTree.getNodeBuilder()
protected @NotNull NodeBuilder
NodeBuilderTree.getNodeBuilder()
Constructors in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type NodeBuilderModifierConstructorDescriptionNodeBuilderTree
(@NotNull String name, @NotNull NodeBuilder nodeBuilder) Create a newAbstractTree
instanceprotected
NodeBuilderTree
(@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 NodeBuilder
ReadWriteVersionManager.getOrCreateVersionHistory
(@NotNull NodeBuilder versionable, @NotNull Map<String, Object> infoMap) Gets or creates the version history for the givenversionable
node.Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type NodeBuilderModifier and TypeMethodDescriptionprotected String
ReadWriteVersionManager.calculateVersion
(@NotNull NodeBuilder history, @NotNull NodeBuilder versionable) Copied from Apache Jackrabbit Corevoid
ReadWriteVersionManager.checkin
(@NotNull NodeBuilder versionable) void
ReadWriteVersionManager.checkout
(NodeBuilder versionable) @NotNull NodeBuilder
ReadWriteVersionManager.getOrCreateVersionHistory
(@NotNull NodeBuilder versionable, @NotNull Map<String, Object> infoMap) Gets or creates the version history for the givenversionable
node.void
ReadWriteVersionManager.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 boolean
PermissionUtil.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 TypeClassDescriptionclass
A 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 NodeState
SegmentNodeStore.merge
(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) @NotNull NodeState
SegmentNodeStore.rebase
(@NotNull NodeBuilder builder) @NotNull NodeState
SegmentNodeStore.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.Resolution
CompositeConflictHandler.addExistingNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) @NotNull PartialConflictHandler.Resolution
ConflictHandler.addExistingNode
(NodeBuilder parent, String name, NodeState ours, NodeState theirs) Deprecated.The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.addExistingNode
(NodeBuilder parent, String name, NodeState ours, NodeState theirs) Deprecated.The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.addExistingNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState theirs) The nodeours
has been added toparent
which conflicts with nodetheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.addExistingProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) @NotNull PartialConflictHandler.Resolution
ConflictHandler.addExistingProperty
(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyours
has been added toparent
which conflicts with propertytheirs
which has been added in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.addExistingProperty
(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyours
has been added toparent
which conflicts with propertytheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.addExistingProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs) The propertyours
has been added toparent
which conflicts with propertytheirs
which has been added in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.changeChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.changeChangedProperty
(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyours
has been changed inparent
while it was also changed to a different value (theirs
) in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.changeChangedProperty
(NodeBuilder parent, PropertyState ours, PropertyState theirs) Deprecated.The propertyours
has been changed inparent
while it was also changed to a different value (theirs
) in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.changeChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState theirs, @NotNull PropertyState base) The propertyours
has been changed inparent
while it was also changed to a different value (theirs
) in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.changeDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.changeDeletedNode
(NodeBuilder parent, String name, NodeState ours) Deprecated.The nodeours
has been changed inparent
while it was removed in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.changeDeletedNode
(NodeBuilder parent, String name, NodeState ours) Deprecated.The nodeours
has been changed inparent
while it was removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.changeDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState ours, @NotNull NodeState base) The nodeours
has been changed inparent
while it was removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.changeDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.changeDeletedProperty
(NodeBuilder parent, PropertyState ours) Deprecated.The propertyours
has been changed inparent
while it was removed in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.changeDeletedProperty
(NodeBuilder parent, PropertyState ours) Deprecated.The propertyours
has been changed inparent
while it was removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.changeDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState ours, @NotNull PropertyState base) The propertyours
has been changed inparent
while it was removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.deleteChangedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.deleteChangedNode
(NodeBuilder parent, String name, NodeState theirs) Deprecated.The nodetheirs
changed in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.deleteChangedNode
(NodeBuilder parent, String name, NodeState theirs) Deprecated.The nodetheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.deleteChangedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState theirs, @NotNull NodeState base) The nodetheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.deleteChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.deleteChangedProperty
(NodeBuilder parent, PropertyState theirs) Deprecated.The propertytheirs
changed in the persistence store while it has been deleted locally.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.deleteChangedProperty
(NodeBuilder parent, PropertyState theirs) Deprecated.The propertytheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.deleteChangedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState theirs, @NotNull PropertyState base) The propertytheirs
changed in the persistence store while it has been deleted locally.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.deleteDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.deleteDeletedNode
(NodeBuilder parent, String name) Deprecated.The nodename
has been removed inparent
while it was also removed in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.deleteDeletedNode
(NodeBuilder parent, String name) Deprecated.The nodename
has been removed inparent
while it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.deleteDeletedNode
(@NotNull NodeBuilder parent, @NotNull String name, @NotNull NodeState base) The nodename
has been removed inparent
while it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
CompositeConflictHandler.deleteDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState base) @NotNull PartialConflictHandler.Resolution
ConflictHandler.deleteDeletedProperty
(NodeBuilder parent, PropertyState ours) Deprecated.The propertyours
has been removed inparent
while it was also removed in the persistence store.@Nullable PartialConflictHandler.Resolution
PartialConflictHandler.deleteDeletedProperty
(NodeBuilder parent, PropertyState ours) Deprecated.The propertyours
has been removed inparent
while it was also removed in the persistence store.@NotNull ThreeWayConflictHandler.Resolution
ThreeWayConflictHandler.deleteDeletedProperty
(@NotNull NodeBuilder parent, @NotNull PropertyState base) The propertyours
has been removed inparent
while it was also removed in the persistence store.@Nullable Editor
CompositeEditorProvider.getRootEditor
(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) @Nullable Editor
EditorProvider.getRootEditor
(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) Returns an editor for processing changes between the given two states.final @Nullable Editor
ValidatorProvider.getRootEditor
(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info) @Nullable Editor
WhiteboardEditorProvider.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 PathFilter
PathFilter.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 TypeMethodDescriptionvoid
CompositeInitializer.initialize
(@NotNull NodeBuilder builder) void
CompositeWorkspaceInitializer.initialize
(NodeBuilder builder, String workspaceName) void
RepositoryInitializer.initialize
(@NotNull NodeBuilder builder) Initializes repository content.void
WorkspaceInitializer.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 TypeClassDescriptionclass
A node builder that throws anUnsupportedOperationException
on 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 NodeBuilder
NodeState.builder()
Returns a builder for constructing a new node state based on this state, i.e.@NotNull NodeBuilder
Returns a builder for constructing changes to the named child node.@NotNull NodeBuilder
NodeBuilder.getChildNode
(@NotNull String name) Returns a builder for constructing changes to the named child node.@NotNull NodeBuilder
ReadOnlyBuilder.getChildNode
(@NotNull String name) @NotNull NodeBuilder
NodeBuilder.removeProperty
(String name) Remove the named property.@NotNull NodeBuilder
ReadOnlyBuilder.removeProperty
(String name) @NotNull NodeBuilder
NodeBuilder.setChildNode
(@NotNull String name) Adds the named child node and returns a builder for modifying it.@NotNull NodeBuilder
NodeBuilder.setChildNode
(@NotNull String name, @NotNull NodeState nodeState) Adds or replaces a subtree.@NotNull NodeBuilder
ReadOnlyBuilder.setChildNode
(@NotNull String name) @NotNull NodeBuilder
ReadOnlyBuilder.setChildNode
(@NotNull String name, @NotNull NodeState nodeState) @NotNull NodeBuilder
NodeBuilder.setProperty
(@NotNull PropertyState property) Set a property state<T> @NotNull NodeBuilder
NodeBuilder.setProperty
(String name, T value) Set a property state<T> @NotNull NodeBuilder
NodeBuilder.setProperty
(String name, T value, Type<T> type) Set a property state@NotNull NodeBuilder
ReadOnlyBuilder.setProperty
(@NotNull PropertyState property) <T> @NotNull NodeBuilder
ReadOnlyBuilder.setProperty
(String name, T value) <T> @NotNull NodeBuilder
ReadOnlyBuilder.setProperty
(String name, T value, Type<T> type) Methods in org.apache.jackrabbit.oak.spi.state with parameters of type NodeBuilderModifier and TypeMethodDescriptionprotected abstract void
AbstractRebaseDiff.addExistingNode
(NodeBuilder builder, String name, NodeState before, NodeState after) Called when the nodeafter
was added on the branch but the node exists already in the trunk.protected void
ConflictAnnotatingRebaseDiff.addExistingNode
(NodeBuilder builder, String name, NodeState before, NodeState after) protected abstract void
AbstractRebaseDiff.addExistingProperty
(NodeBuilder builder, PropertyState before, PropertyState after) Called when the propertyafter
was added on the branch but the property exists already in the trunk.protected void
ConflictAnnotatingRebaseDiff.addExistingProperty
(NodeBuilder builder, PropertyState before, PropertyState after) protected abstract void
AbstractRebaseDiff.changeChangedProperty
(NodeBuilder builder, PropertyState before, PropertyState after) Called when the propertyafter
was changed on the branch but was already changed tobefore
in the trunk.protected void
ConflictAnnotatingRebaseDiff.changeChangedProperty
(NodeBuilder builder, PropertyState before, PropertyState after) protected abstract void
AbstractRebaseDiff.changeDeletedNode
(NodeBuilder builder, String name, NodeState after, NodeState base) Called when the nodeafter
was changed on the branch but was deleted already in the trunk.protected void
ConflictAnnotatingRebaseDiff.changeDeletedNode
(NodeBuilder builder, String name, NodeState after, NodeState base) protected abstract void
AbstractRebaseDiff.changeDeletedProperty
(NodeBuilder builder, PropertyState after, PropertyState base) Called when the propertyafter
was changed on the branch but was deleted already in the trunk.protected void
ConflictAnnotatingRebaseDiff.changeDeletedProperty
(NodeBuilder builder, PropertyState after, PropertyState base) protected abstract AbstractRebaseDiff
AbstractRebaseDiff.createDiff
(NodeBuilder builder, String name) Factory method for creating a rebase handler for the named child of the passed parent builder.protected ConflictAnnotatingRebaseDiff
ConflictAnnotatingRebaseDiff.createDiff
(NodeBuilder builder, String name) protected abstract void
AbstractRebaseDiff.deleteChangedNode
(NodeBuilder builder, String name, NodeState before) Called when the nodebefore
was deleted in the branch but was already changed in the trunk.protected void
ConflictAnnotatingRebaseDiff.deleteChangedNode
(NodeBuilder builder, String name, NodeState before) protected abstract void
AbstractRebaseDiff.deleteChangedProperty
(NodeBuilder builder, PropertyState before) Called when the propertybefore
was deleted in the branch but was already changed in the trunk.protected void
ConflictAnnotatingRebaseDiff.deleteChangedProperty
(NodeBuilder builder, PropertyState before) protected abstract void
AbstractRebaseDiff.deleteDeletedNode
(NodeBuilder builder, String name, NodeState before) Called when the nodebefore
was deleted in the branch but was already deleted in the trunk.protected void
ConflictAnnotatingRebaseDiff.deleteDeletedNode
(NodeBuilder builder, String name, NodeState before) protected abstract void
AbstractRebaseDiff.deleteDeletedProperty
(NodeBuilder builder, PropertyState before) Called when the propertybefore
was deleted in the branch but was already deleted in the trunk.protected void
ConflictAnnotatingRebaseDiff.deleteDeletedProperty
(NodeBuilder builder, PropertyState before) @NotNull NodeState
NodeStore.merge
(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info) ProxyNodeStore.merge
(NodeBuilder builder, CommitHook commitHook, CommitInfo info) boolean
NodeBuilder.moveTo
(@NotNull NodeBuilder newParent, @NotNull String newName) Move this child to a new parent with a new name.boolean
ReadOnlyBuilder.moveTo
(@NotNull NodeBuilder newParent, @NotNull String newName) @NotNull NodeState
NodeStore.rebase
(@NotNull NodeBuilder builder) ProxyNodeStore.rebase
(NodeBuilder builder) NodeStore.reset
(@NotNull NodeBuilder builder) Reset the passedbuilder
by 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 NodeBuilderModifierConstructorDescriptionprotected
AbstractRebaseDiff
(NodeBuilder builder) ApplyDiff
(NodeBuilder builder) ConflictAnnotatingRebaseDiff
(NodeBuilder builder)