Uses of Interface
org.apache.jackrabbit.oak.spi.commit.CommitHook
-
-
Uses of CommitHook in org.apache.jackrabbit.oak
Methods in org.apache.jackrabbit.oak that return types with arguments of type CommitHook Modifier and Type Method Description Iterable<CommitHook>
Oak.OakDefaultComponents. commitHooks()
Methods in org.apache.jackrabbit.oak with parameters of type CommitHook Modifier and Type Method Description static void
OakInitializer. initialize(@NotNull Iterable<WorkspaceInitializer> initializer, @NotNull NodeStore store, @NotNull String workspaceName, @NotNull CommitHook hook)
static void
OakInitializer. initialize(@NotNull NodeStore store, @NotNull RepositoryInitializer initializer, @NotNull CommitHook hook)
@NotNull Oak
Oak. with(@NotNull CommitHook hook)
Associates the given commit hook with the repository to be created. -
Uses of CommitHook in org.apache.jackrabbit.oak.composite
Methods in org.apache.jackrabbit.oak.composite with parameters of type CommitHook Modifier and Type Method Description NodeState
CompositeNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
-
Uses of CommitHook in org.apache.jackrabbit.oak.core
Methods in org.apache.jackrabbit.oak.core with parameters of type CommitHook Modifier and Type Method Description static SystemRoot
SystemRoot. create(@NotNull NodeStore store, @NotNull CommitHook hook, @NotNull String workspaceName, @NotNull SecurityProvider securityProvider, @NotNull QueryIndexProvider indexProvider)
static SystemRoot
SystemRoot. create(@NotNull NodeStore store, @NotNull CommitHook hook, @NotNull String workspaceName, @NotNull SecurityProvider securityProvider, @Nullable QueryEngineSettings queryEngineSettings, @NotNull QueryIndexProvider indexProvider)
Constructors in org.apache.jackrabbit.oak.core with parameters of type CommitHook Constructor Description ContentRepositoryImpl(@NotNull NodeStore nodeStore, @NotNull CommitHook commitHook, @NotNull String defaultWorkspaceName, QueryEngineSettings queryEngineSettings, @Nullable QueryIndexProvider indexProvider, @NotNull SecurityProvider securityProvider, @Nullable Descriptors baseDescriptors, @Nullable Feature classicMove)
Creates an content repository instance based on the given, already initialized components. -
Uses of CommitHook in org.apache.jackrabbit.oak.exercise.security.authorization.models.readonly
Methods in org.apache.jackrabbit.oak.exercise.security.authorization.models.readonly that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
ReadOnlyAuthorizationConfiguration. getCommitHooks(@NotNull String workspaceName)
-
Uses of CommitHook in org.apache.jackrabbit.oak.jcr
Methods in org.apache.jackrabbit.oak.jcr with parameters of type CommitHook Modifier and Type Method Description @NotNull Jcr
Jcr. with(@NotNull CommitHook hook)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.atomic
Constructors in org.apache.jackrabbit.oak.plugins.atomic with parameters of type CommitHook Constructor Description ConsolidatorTask(@NotNull String path, @Nullable PropertyState revision, @NotNull NodeStore store, @NotNull ScheduledExecutorService exec, long delay, @NotNull CommitHook hook)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.commit
Classes in org.apache.jackrabbit.oak.plugins.commit that implement CommitHook Modifier and Type Class Description class
ConflictHook
This commit hook implementation is responsible for resolving conflicts. -
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.cow
Methods in org.apache.jackrabbit.oak.plugins.cow with parameters of type CommitHook 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)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type CommitHook Modifier and Type Method Description @NotNull NodeState
DocumentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.memory
Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type CommitHook 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. -
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.observation
Classes in org.apache.jackrabbit.oak.plugins.observation that implement CommitHook Modifier and Type Class Description class
CommitRateLimiter
ThisCommitHook
can be used to block or delay commits for any length of time. -
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.tree
Methods in org.apache.jackrabbit.oak.plugins.tree with parameters of type CommitHook Modifier and Type Method Description @NotNull Root
RootProvider. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook commitHook)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.tree.factories
Methods in org.apache.jackrabbit.oak.plugins.tree.factories with parameters of type CommitHook Modifier and Type Method Description static @NotNull Root
RootFactory. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryEngineSettings queryEngineSettings, @Nullable QueryIndexProvider indexProvider)
Deprecated.with Oak 1.7.2 due to the usage of deprecatedQueryEngineSettings
static @NotNull Root
RootFactory. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryIndexProvider indexProvider)
Deprecated. -
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.tree.impl
Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type CommitHook Modifier and Type Method Description @NotNull Root
RootProviderService. createSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook)
-
Uses of CommitHook in org.apache.jackrabbit.oak.plugins.version
Classes in org.apache.jackrabbit.oak.plugins.version that implement CommitHook Modifier and Type Class Description class
VersionHook
This class gathers together editors related to handling version storage:VersionEditorProvider
VersionEditor
- creates version history, handles checking-in, checking-out and restoring, prevents a checked-in node from being modified,VersionStorageEditor
- validates changes on the version storage,VersionableCollector
- collects all existing versionable UUIDs, so assigned histories won't be removed in the next step,OrphanedVersionCleaner
- removes all histories that are empty and have no longer a parent versionable node. -
Uses of CommitHook in org.apache.jackrabbit.oak.security.authorization
Methods in org.apache.jackrabbit.oak.security.authorization that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
AuthorizationConfigurationImpl. getCommitHooks(@NotNull String workspaceName)
-
Uses of CommitHook in org.apache.jackrabbit.oak.security.authorization.permission
Classes in org.apache.jackrabbit.oak.security.authorization.permission that implement CommitHook Modifier and Type Class Description class
PermissionHook
CommitHook
implementation that processes any modification made to access control content and updates persisted permission store associated with access control related data stored in the repository.class
VersionablePathHook
Commit hook which is responsible for storing the path of the versionable node with every version history. -
Uses of CommitHook in org.apache.jackrabbit.oak.security.privilege
Methods in org.apache.jackrabbit.oak.security.privilege that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
PrivilegeConfigurationImpl. getCommitHooks(@NotNull String workspaceName)
-
Uses of CommitHook in org.apache.jackrabbit.oak.segment
Classes in org.apache.jackrabbit.oak.segment that implement CommitHook Modifier and Type Class Description class
LoggingHook
Methods in org.apache.jackrabbit.oak.segment with parameters of type CommitHook Modifier and Type Method Description @NotNull NodeState
SegmentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
-
Uses of CommitHook in org.apache.jackrabbit.oak.segment.scheduler
Constructors in org.apache.jackrabbit.oak.segment.scheduler with parameters of type CommitHook Constructor Description Commit(@NotNull NodeBuilder changes, @NotNull CommitHook hook, @NotNull CommitInfo info)
-
Uses of CommitHook in org.apache.jackrabbit.oak.spi.commit
Subinterfaces of CommitHook in org.apache.jackrabbit.oak.spi.commit Modifier and Type Interface Description interface
PostValidationHook
Extension to theCommitHook
interface that indicates that this commit hook implementation must be executed after the validation hooks.Classes in org.apache.jackrabbit.oak.spi.commit that implement CommitHook Modifier and Type Class Description class
CompositeHook
Composite commit hook.class
EditorHook
This commit hook implementation processes changes to be committed using theEditor
instance provided by theEditorProvider
passed to the constructor.class
EmptyHook
Basic commit hook implementation that by default doesn't do anything.class
ResetCommitAttributeHook
Fields in org.apache.jackrabbit.oak.spi.commit declared as CommitHook Modifier and Type Field Description static CommitHook
EmptyHook. INSTANCE
Static instance of this class, useful as a "null object".Methods in org.apache.jackrabbit.oak.spi.commit that return CommitHook Modifier and Type Method Description static CommitHook
CompositeHook. compose(@NotNull Collection<CommitHook> hooks)
Method parameters in org.apache.jackrabbit.oak.spi.commit with type arguments of type CommitHook Modifier and Type Method Description static CommitHook
CompositeHook. compose(@NotNull Collection<CommitHook> hooks)
Constructors in org.apache.jackrabbit.oak.spi.commit with parameters of type CommitHook Constructor Description CompositeHook(CommitHook... hooks)
-
Uses of CommitHook in org.apache.jackrabbit.oak.spi.security
Methods in org.apache.jackrabbit.oak.spi.security that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
CompositeConfiguration. getCommitHooks(@NotNull String workspaceName)
@NotNull List<? extends CommitHook>
SecurityConfiguration.Default. getCommitHooks(@NotNull String workspaceName)
@NotNull List<? extends CommitHook>
SecurityConfiguration. getCommitHooks(@NotNull String workspaceName)
Returns the list of commit hooks that need to be executed for the specified workspace name. -
Uses of CommitHook in org.apache.jackrabbit.oak.spi.security.authorization.cug.impl
Methods in org.apache.jackrabbit.oak.spi.security.authorization.cug.impl that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
CugConfiguration. getCommitHooks(@NotNull String workspaceName)
-
Uses of CommitHook in org.apache.jackrabbit.oak.spi.security.authorization.principalbased.impl
Methods in org.apache.jackrabbit.oak.spi.security.authorization.principalbased.impl that return types with arguments of type CommitHook Modifier and Type Method Description @NotNull List<? extends CommitHook>
PrincipalBasedAuthorizationConfiguration. getCommitHooks(@NotNull String workspaceName)
-
Uses of CommitHook in org.apache.jackrabbit.oak.spi.state
Methods in org.apache.jackrabbit.oak.spi.state with parameters of type CommitHook Modifier and Type Method Description @NotNull NodeState
NodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
NodeStoreBranch. merge(@NotNull CommitHook hook, @NotNull CommitInfo info)
Merges the changes in this branch to the main content tree.NodeState
ProxyNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
-