Class DuplicateFilteringResultsHandler

java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.DuplicateFilteringResultsHandler
All Implemented Interfaces:
ResultsHandler, SearchResultsHandler

public final class DuplicateFilteringResultsHandler extends Object implements SearchResultsHandler
  • Constructor Details

    • DuplicateFilteringResultsHandler

      public DuplicateFilteringResultsHandler(SearchResultsHandler handler)
      Filter chain for producers.
      Parameters:
      handler - Producer to filter.
  • Method Details

    • handle

      public boolean handle(ConnectorObject object)
      Description copied from interface: ResultsHandler
      Invoked each time a matching ConnectorObject is returned from a query request.
      Specified by:
      handle in interface ResultsHandler
      Parameters:
      object - The matching ConnectorObject.
      Returns:
      true if this handler should continue to be notified of any remaining matching ConnectorObjects, or false if the remaining ConnectorObjects should be skipped for some reason (e.g. a client side size limit has been reached or the failed to handle the last item). If returns false the last items should be considers unhandled and in next page request it should be the first item.
    • handleResult

      public void handleResult(SearchResult result)
      Description copied from interface: SearchResultsHandler
      Invoked when the request has completed successfully.
      Specified by:
      handleResult in interface SearchResultsHandler
      Parameters:
      result - The query result indicating that no more resources are to be returned and, if applicable, including information which should be used for subsequent paged results query requests.
    • isStillHandling

      public boolean isStillHandling()