Class ListResponseBuilder<T>

    • Method Detail

      • startIndex

        public void startIndex​(int startIndex)
        Handle the startIndex in the search response.
        Specified by:
        startIndex in interface SearchResultHandler<T>
        Parameters:
        startIndex - The startIndex.
      • itemsPerPage

        public void itemsPerPage​(int itemsPerPage)
        Handle the itemsPerPage in the search response.
        Specified by:
        itemsPerPage in interface SearchResultHandler<T>
        Parameters:
        itemsPerPage - The itemsPerPage.
      • totalResults

        public void totalResults​(int totalResults)
        Handle the totalResults in the search response.
        Specified by:
        totalResults in interface SearchResultHandler<T>
        Parameters:
        totalResults - The totalResults.
      • resource

        public boolean resource​(T scimResource)
        Handle a search result resource.
        Specified by:
        resource in interface SearchResultHandler<T>
        Parameters:
        scimResource - A search result resource.
        Returns:
        true to continue processing the search result response or false to immediate stop further processing of the response.
      • extension

        public void extension​(String urn,
                              com.fasterxml.jackson.databind.node.ObjectNode extensionObjectNode)
        Handle a schema extension in the search response.

        This method currently does not perform any action and should not be used.

        Specified by:
        extension in interface SearchResultHandler<T>
        Parameters:
        urn - The URN of the extension schema.
        extensionObjectNode - The ObjectNode representing the extension schema.
      • build

        public ListResponse<Tbuild()
        Builds a List Response.
        Returns:
        generated ListResponse.