public interface ReplicationContentFilter
ReplicationContentFilter indicate to ContentBuilders whether a given child
Node of a node being activated (e.g. a page or asset) shall be included in the replication content or not.
Implementations must be instantiated by their respective ReplicationContentFilterFactory, the factory
registering itself as an OSGi service.
For convenience a ReplicationContentFilterChain is provided to content builders
via the parameter ContentBuilder.PARAMETER_CONTENT_FILER_CHAIN.| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Node node)
Indicates whether the given
Node is to be included in the content of the replication built by ContentBuilders. |
boolean |
accepts(Property property)
Indicates whether the given
Property is to be included in the content of the replication built by ContentBuilders. |
boolean |
allowsDescent(Node node)
Indicates whether the
ContentBuilders may descend / traverse the children of the given node
for inclusion in the replication content. |
java.util.List<java.lang.String> |
getFilteredPaths()
Get the
List of paths that have been filtered by this filter. |
boolean accepts(Node node)
Node is to be included in the content of the replication built by ContentBuilders.node - The Node to check.true if this node may be included in the replication content.boolean accepts(Property property)
Property is to be included in the content of the replication built by ContentBuilders.property - The Property to check.true if this property may be included in the replication content.boolean allowsDescent(Node node)
ContentBuilders may descend / traverse the children of the given node
for inclusion in the replication content. If this returns false, the given node itself and its
properties are still included in the replication content (if returns true and
properties are accepted via {@link #accepts(javax.jcr.Property)}.node - The Node to check.true if the content builder may traverse the children of the given node, false
otherwise.java.util.List<java.lang.String> getFilteredPaths()
List of paths that have been filtered by this filter.Strings representing the filtered
paths or null if this is not supported.Copyright © 2010 - 2023 Adobe. All Rights Reserved