Interface SearchResultConverter

    • Method Detail

      • convert

        <S extends ItemModel,​T> SearchResult<T> convert​(SearchResult<S> modelSearchResult,
                                                              java.util.function.Function<S,​T> convertFunction)
        Convert SearchResult of type Model to Data
        Parameters:
        modelSearchResult - the search result containing model objects to be converted
        convertFunction - the function used to convert the model object into the data object
        Returns:
        the search result containing data objects; empty result list if modelSearchResult is null; never null