Class SearchResultsHandlerLoggingProxy
java.lang.Object
org.identityconnectors.framework.impl.api.SearchResultsHandlerLoggingProxy
- All Implemented Interfaces:
ResultsHandler,SearchResultsHandler
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResultsHandlerLoggingProxy(ResultsHandler origHandler, Log log, ConnectorOperationalContext operationalContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(ConnectorObject connectorObject) Invoked each time a matchingConnectorObjectis returned from a query request.voidhandleResult(SearchResult result) Invoked when the request has completed successfully.
-
Constructor Details
-
SearchResultsHandlerLoggingProxy
public SearchResultsHandlerLoggingProxy(ResultsHandler origHandler, Log log, ConnectorOperationalContext operationalContext)
-
-
Method Details
-
getOrigHandler
-
handleResult
Description copied from interface:SearchResultsHandlerInvoked when the request has completed successfully.- Specified by:
handleResultin interfaceSearchResultsHandler- 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.
-
handle
Description copied from interface:ResultsHandlerInvoked each time a matchingConnectorObjectis returned from a query request.- Specified by:
handlein interfaceResultsHandler- Parameters:
connectorObject- The matching ConnectorObject.- Returns:
trueif this handler should continue to be notified of any remaining matching ConnectorObjects, orfalseif 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 returnsfalsethe last items should be considers unhandled and in next page request it should be the first item.
-