Package | Description |
---|---|
org.apache.jackrabbit.oak.jcr.observation | |
org.apache.jackrabbit.oak.jcr.observation.filter |
Modifier and Type | Class and Description |
---|---|
class |
OakEventFilterImpl
Implements OakEventFilter which is an extension to the JackrabbitEventFilter
with features only supported by Oak.
|
Modifier and Type | Method and Description |
---|---|
OakEventFilter |
OakEventFilterImpl.withApplyNodeTypeOnSelf() |
OakEventFilter |
OakEventFilterImpl.withIncludeAncestorsRemove() |
OakEventFilter |
OakEventFilterImpl.withIncludeGlobPaths(String... globPaths) |
OakEventFilter |
OakEventFilterImpl.withIncludeSubtreeOnRemove() |
OakEventFilter |
OakEventFilterImpl.withNodeTypeAggregate(String[] nodeTypes,
String[] relativeGlobPaths) |
Modifier and Type | Method and Description |
---|---|
abstract OakEventFilter |
OakEventFilter.withApplyNodeTypeOnSelf()
This causes the node type filter to be applied on 'this' node instead of
the 'parent' node, thus allows to create a filter which listens on
adding/removing/etc on nodes of a particular node type (while the default
was that the node type was applicable on the parent).
|
abstract OakEventFilter |
OakEventFilter.withIncludeAncestorsRemove()
This causes the registration of independent, additional
!deep NODE_REMOVED filter-conditions
of all parents of the include paths (both normal and glob).
|
abstract OakEventFilter |
OakEventFilter.withIncludeGlobPaths(String... globPaths)
Adds the provided glob paths to the set of include paths.
|
abstract OakEventFilter |
OakEventFilter.withIncludeSubtreeOnRemove()
This flag causes remove events to be sent for all nodes and properties
of an entire subtree (hence use with care!).
|
abstract OakEventFilter |
OakEventFilter.withNodeTypeAggregate(String[] nodeTypes,
String[] relativeGlobPaths)
Greedy aggregating filter which upon first (hence greedy) hit of provided
nodeTypes checks if the child subtree leading to the actual change
matches any of the provided relativeGlobPaths.
|
static OakEventFilter |
FilterFactory.wrap(JackrabbitEventFilter baseFilter)
Wrap a JackrabbitEventFilter into its corresponding oak extension,
OakEventFilter, on which some Oak specific observation filter extensions
can then be used.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.