public static class SearchImpl.AttributesToGetSearchResultsHandler extends AttributesToGetResultsHandler implements SearchResultsHandler
| Constructor and Description |
|---|
SearchImpl.AttributesToGetSearchResultsHandler(ResultsHandler handler,
String[] attrsToGet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(ConnectorObject obj)
Handle the object w/ reduced attributes.
|
void |
handleResult(SearchResult result)
Invoked when the request has completed successfully.
|
reduceToAttrsToGet, reduceToAttrsToGetpublic SearchImpl.AttributesToGetSearchResultsHandler(ResultsHandler handler, String[] attrsToGet)
public void handleResult(SearchResult result)
SearchResultsHandlerhandleResult in interface SearchResultsHandlerresult - 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.public boolean handle(ConnectorObject obj)
handle in interface ResultsHandlerobj - The matching ConnectorObject.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.Copyright © 2019. All rights reserved.