Class SearchImpl.AttributesToGetSearchResultsHandler
java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.AttributesToGetResultsHandler
org.identityconnectors.framework.impl.api.local.operations.SearchImpl.AttributesToGetSearchResultsHandler
- All Implemented Interfaces:
ResultsHandler,SearchResultsHandler
- Enclosing class:
SearchImpl
public static class SearchImpl.AttributesToGetSearchResultsHandler
extends AttributesToGetResultsHandler
implements SearchResultsHandler
Simple results handler that can reduce attributes to only the set of attribute to get.
-
Constructor Summary
ConstructorsConstructorDescriptionAttributesToGetSearchResultsHandler(ResultsHandler handler, String[] attrsToGet) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(ConnectorObject obj) Handle the object w/ reduced attributes.voidhandleResult(SearchResult result) Invoked when the request has completed successfully.Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.AttributesToGetResultsHandler
reduceToAttrsToGet, reduceToAttrsToGet
-
Constructor Details
-
AttributesToGetSearchResultsHandler
-
-
Method Details
-
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
Handle the object w/ reduced attributes.- Specified by:
handlein interfaceResultsHandler- Parameters:
obj- 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.
-