Package com.unboundid.scim2.client
Interface SearchResultHandler<T>
-
- All Known Implementing Classes:
ListResponseBuilder
public interface SearchResultHandler<T>
An interface for handling the search result response. Methods will be called in the order they are received.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidextension(String urn, com.fasterxml.jackson.databind.node.ObjectNode extensionObjectNode)Handle a schema extension in the search response.voiditemsPerPage(int itemsPerPage)Handle the itemsPerPage in the search response.booleanresource(T scimResource)Handle a search result resource.voidstartIndex(int startIndex)Handle the startIndex in the search response.voidtotalResults(int totalResults)Handle the totalResults in the search response.
-
-
-
Method Detail
-
startIndex
void startIndex(int startIndex)
Handle the startIndex in the search response.- Parameters:
startIndex- The startIndex.
-
itemsPerPage
void itemsPerPage(int itemsPerPage)
Handle the itemsPerPage in the search response.- Parameters:
itemsPerPage- The itemsPerPage.
-
totalResults
void totalResults(int totalResults)
Handle the totalResults in the search response.- Parameters:
totalResults- The totalResults.
-
resource
boolean resource(@NotNull T scimResource)
Handle a search result resource.- Parameters:
scimResource- A search result resource.- Returns:
trueto continue processing the search result response orfalseto immediate stop further processing of the response.
-
-