public interface SearchResultsHandler extends ResultsHandler
A search result completion handler may be specified when performing search
requests using a ConnectorFacade
object. The ResultsHandler.handle(org.identityconnectors.framework.common.objects.ConnectorObject)
method is invoked each time a matching
ConnectorObject
resource is returned, followed by handleResult(org.identityconnectors.framework.common.objects.SearchResult)
indicating that no
more ConnectorObject resources will be returned.
Implementations of these methods should complete in a timely manner so as to avoid keeping the invoking thread from dispatching to other completion handlers.
Modifier and Type | Method and Description |
---|---|
void |
handleResult(SearchResult result)
Invoked when the request has completed successfully.
|
handle
void handleResult(SearchResult result)
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.Copyright © 2019. All rights reserved.