Package com.day.cq.replication
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
FieldsModifier and TypeFieldDescriptionstatic final ReplicationContentFilterChainChain accepting all operations -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether all availableReplicationContentFilters accept the given node for inclusion in the replication content.booleanIndicates whether all of the availableReplicationContentFilters accept the given property for inclusion in the replication content.booleanallowDescent(Node node) Indicates whether all of the availableReplicationContentFilters accept the given node for recursion into its children.
-
Field Details
-
ALLOW_ALL
Chain accepting all operations
-
-
Method Details
-
accept
Indicates whether all availableReplicationContentFilters accept the given node for inclusion in the replication content.- Parameters:
node- TheNodeto check.- Returns:
trueif the node is accepted by every available filter.- Throws:
RepositoryException- thrown in case of failure
-
accept
Indicates whether all of the availableReplicationContentFilters accept the given property for inclusion in the replication content.- Parameters:
property- ThePropertyto check.- Returns:
trueif the node is accepted by every available filter.- Throws:
RepositoryException- thrown in case of failure
-
allowDescent
Indicates whether all of the availableReplicationContentFilters accept the given node for recursion into its children.- Parameters:
node- TheNodeto check.- Returns:
trueif the node is accepted by traversal into its children.- Throws:
RepositoryException- thrown in case of failure
-