Uses of Interface
org.apache.jackrabbit.oak.spi.state.NodeBuilder
-
-
Uses of NodeBuilder in org.apache.jackrabbit.oak
Methods in org.apache.jackrabbit.oak with parameters of type NodeBuilder Modifier and Type Method Description void
InitialContent. initialize(@NotNull NodeBuilder builder)
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.composite
Methods in org.apache.jackrabbit.oak.composite with parameters of type NodeBuilder Modifier and Type Method Description NodeState
CompositeNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
NodeState
CompositeNodeStore. rebase(NodeBuilder builder)
NodeState
CompositeNodeStore. reset(NodeBuilder builder)
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.index
Methods in org.apache.jackrabbit.oak.index that return NodeBuilder Modifier and Type Method Description static NodeBuilder
IndexerSupport. childBuilder(NodeBuilder nb, String path, boolean createNew)
Methods in org.apache.jackrabbit.oak.index with parameters of type NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description NodeStateIndexer
LuceneIndexerProvider. 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 NodeBuilder Constructor Description LuceneIndexer(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 Modifier and Type Method Description @NotNull NodeBuilder
TreeStoreNodeState. builder()
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.indexversion
Methods in org.apache.jackrabbit.oak.indexversion that return NodeBuilder Modifier and Type Method Description static NodeBuilder
PurgeOldVersionUtils. getNode(@NotNull NodeBuilder nodeBuilder, @NotNull String path)
Methods in org.apache.jackrabbit.oak.indexversion with parameters of type NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description static void
AtomicCounterEditor. consolidateCount(@NotNull NodeBuilder builder)
consolidate theAtomicCounterEditor.PREFIX_PROP_COUNTER
properties and sum them into theAtomicCounterEditor.PROP_COUNTER
Editor
AtomicCounterEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Constructors in org.apache.jackrabbit.oak.plugins.atomic with parameters of type NodeBuilder Constructor Description AtomicCounterEditor(@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 NodeBuilder Modifier and Type Method Description NodeBuilder
DepthFirstNodeIterator. getBuilder(NodeBuilder rootBuilder)
Methods in org.apache.jackrabbit.oak.plugins.blob.migration with parameters of type NodeBuilder Modifier and Type Method Description NodeBuilder
DepthFirstNodeIterator. getBuilder(NodeBuilder rootBuilder)
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.commit
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.cow
Methods in org.apache.jackrabbit.oak.plugins.cow with parameters of type NodeBuilder Modifier and Type Method Description @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)
NodeState
BranchNodeStore. reset(@NotNull NodeBuilder builder)
NodeState
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 NodeBuilder Modifier and Type Method Description @NotNull NodeBuilder
DocumentNodeState. builder()
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type NodeBuilder Modifier and Type Method Description @NotNull NodeState
DocumentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
DocumentNodeStore. rebase(@NotNull NodeBuilder builder)
NodeState
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 NodeBuilder Modifier and Type Method Description void
BundlingConfigInitializer. initialize(@NotNull NodeBuilder builder)
Constructors in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type NodeBuilder Constructor Description BundledTypesRegistryBuilder(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 Modifier and Type Method Description @NotNull NodeBuilder
DelegatingDocumentNodeState. builder()
-
Uses of NodeBuilder in org.apache.jackrabbit.oak.plugins.index
Methods in org.apache.jackrabbit.oak.plugins.index that return NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description static 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)
Editor
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.Editor
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 NodeBuilder Constructor Description IndexUpdate(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 NodeBuilder Modifier and Type Class Description class
MemoryNodeBuilder
In-memory node state builder.Methods in org.apache.jackrabbit.oak.plugins.memory that return NodeBuilder Modifier and Type Method Description @NotNull NodeBuilder
EmptyNodeState. builder()
@NotNull NodeBuilder
ModifiedNodeState. builder()
@NotNull NodeBuilder
MemoryNodeBuilder. child(@NotNull String name)
@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 NodeBuilder Modifier and Type Method Description NodeState
MemoryNodeStore. 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.NodeState
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.NodeState
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 NodeBuilder Modifier and Type Method Description @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 NodeBuilder Modifier and Type Method Description boolean
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 NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description static 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)
Editor
VersionableEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder rootBuilder, CommitInfo info)
Editor
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 NodeBuilder Constructor Description VersionCopier(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 NodeBuilder Modifier and Type Method Description static NodeBuilder
Namespaces. createStandardMappings(NodeBuilder system)
Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type NodeBuilder Modifier and Type Method Description static String
Namespaces. addCustomMapping(NodeBuilder namespaces, String uri, String prefixHint)
static void
Namespaces. buildIndexNode(NodeBuilder namespaces)
static NodeBuilder
Namespaces. createStandardMappings(NodeBuilder system)
Editor
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 NodeBuilder Modifier and Type Method Description static 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 instanceEditor
TypeEditorProvider. 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 NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description protected 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 NodeBuilder Constructor Description NodeBuilderTree(@NotNull String name, @NotNull NodeBuilder nodeBuilder)
Create a newAbstractTree
instanceNodeBuilderTree(@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 NodeBuilder Modifier and Type Method Description @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 NodeBuilder Modifier and Type Method Description protected 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 NodeBuilder Constructor Description ReadWriteVersionManager(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 NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Class Description class
SegmentNodeBuilder
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 NodeBuilder Modifier and Type Method Description @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 NodeBuilder Constructor Description Commit(@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 NodeBuilder Modifier and Type Method Description @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.@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 NodeBuilder Modifier and Type Method Description static 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 NodeBuilder Modifier and Type Method Description void
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 NodeBuilder Modifier and Type Class Description class
ReadOnlyBuilder
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 NodeBuilder Modifier and Type Field Description protected NodeBuilder
ApplyDiff. builder
Methods in org.apache.jackrabbit.oak.spi.state that return NodeBuilder Modifier and Type Method Description @NotNull NodeBuilder
NodeState. builder()
Returns a builder for constructing a new node state based on this state, i.e.@NotNull NodeBuilder
NodeBuilder. child(@NotNull String name)
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 NodeBuilder Modifier and Type Method Description protected 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)
NodeState
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)
NodeState
ProxyNodeStore. rebase(NodeBuilder builder)
NodeState
NodeStore. reset(@NotNull NodeBuilder builder)
Reset the passedbuilder
by throwing away all its changes and setting its base state to the current root state.NodeState
ProxyNodeStore. reset(NodeBuilder builder)
Constructors in org.apache.jackrabbit.oak.spi.state with parameters of type NodeBuilder Constructor Description AbstractRebaseDiff(NodeBuilder builder)
ApplyDiff(NodeBuilder builder)
ConflictAnnotatingRebaseDiff(NodeBuilder builder)
-