Interface SearchResultProvider

    • Method Detail

      • sendEntry

        boolean sendEntry​(SearchResultEntry entry,
                          boolean applyTransformations)
        Attempts to return the provided search result entry to the client.
        Parameters:
        entry - The entry to return to the client.
        applyTransformations - Indicates whether to apply any configured proxy transformations to the entry before returning it to the client.
        Returns:
        true if the caller may attempt to send additional entries or references to the client if desired, or false if not (e.g., because the size limit or time limit has been exceeded, or because the connection has been closed).
      • sendReference

        boolean sendReference​(SearchResultReference reference,
                              boolean applyTransformations)
        Attempts to return the provided search result reference to the client.
        Parameters:
        reference - The reference to return to the client.
        applyTransformations - Indicates whether to apply any configured proxy transformations to the reference before returning it to the client.
        Returns:
        true if the caller may attempt to send additional entries or references to the client if desired, or false if not (e.g., because the size limit or time limit has been exceeded, or because the connection has been closed).