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
    • Method Detail

      • accept

        boolean accept​(javax.jcr.Node node)
                throws javax.jcr.RepositoryException
        Indicates whether all available ReplicationContentFilters accept the given node for inclusion in the replication content.
        Parameters:
        node - The Node to check.
        Returns:
        true if the node is accepted by every available filter.
        Throws:
        javax.jcr.RepositoryException - thrown in case of failure
      • accept

        boolean accept​(javax.jcr.Property property)
                throws javax.jcr.RepositoryException
        Indicates whether all of the available ReplicationContentFilters accept the given property for inclusion in the replication content.
        Parameters:
        property - The Property to check.
        Returns:
        true if the node is accepted by every available filter.
        Throws:
        javax.jcr.RepositoryException - thrown in case of failure
      • allowDescent

        boolean allowDescent​(javax.jcr.Node node)
                      throws javax.jcr.RepositoryException
        Indicates whether all of the available ReplicationContentFilters accept the given node for recursion into its children.
        Parameters:
        node - The Node to check.
        Returns:
        true if the node is accepted by traversal into its children.
        Throws:
        javax.jcr.RepositoryException - thrown in case of failure