Package com.day.cq.replication
Interface ReplicationContentFilterChain
-
@ProviderType public interface ReplicationContentFilterChain
The replication content filter chain is passed to content builders to support filtering of content during replication. The chain uses all available filters and queries them one after the other.- Since:
- 5.14
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicationContentFilterChain
ALLOW_ALL
Chain accepting all operations
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(Node node)
Indicates whether all availableReplicationContentFilter
s accept the given node for inclusion in the replication content.boolean
accept(Property property)
Indicates whether all of the availableReplicationContentFilter
s accept the given property for inclusion in the replication content.boolean
allowDescent(Node node)
Indicates whether all of the availableReplicationContentFilter
s accept the given node for recursion into its children.
-
-
-
Field Detail
-
ALLOW_ALL
static final ReplicationContentFilterChain ALLOW_ALL
Chain accepting all operations
-
-
Method Detail
-
accept
boolean accept(Node node) throws RepositoryException
Indicates whether all availableReplicationContentFilter
s accept the given node for inclusion in the replication content.- Parameters:
node
- TheNode
to check.- Returns:
true
if the node is accepted by every available filter.- Throws:
RepositoryException
- thrown in case of failure
-
accept
boolean accept(Property property) throws RepositoryException
Indicates whether all of the availableReplicationContentFilter
s accept the given property for inclusion in the replication content.- Parameters:
property
- TheProperty
to check.- Returns:
true
if the node is accepted by every available filter.- Throws:
RepositoryException
- thrown in case of failure
-
allowDescent
boolean allowDescent(Node node) throws RepositoryException
Indicates whether all of the availableReplicationContentFilter
s accept the given node for recursion into its children.- Parameters:
node
- TheNode
to check.- Returns:
true
if the node is accepted by traversal into its children.- Throws:
RepositoryException
- thrown in case of failure
-
-