Interface TransportOfferingSearchService<STATE,ITEM,RESULT extends TransportOfferingSearchPageData<STATE,ITEM>>
- Type Parameters:
STATE- The type of the search query state. This is implementation specific. For exampleSolrSearchQueryDataITEM- The type of items returned as part of the search results. For exampleSearchResultValueDataRESULT- The type of the search page data returned. Must be (or extend)FacetSearchPageData.
- All Known Implementing Classes:
DefaultSolrTransportOfferingSearchService
public interface TransportOfferingSearchService<STATE,ITEM,RESULT extends TransportOfferingSearchPageData<STATE,ITEM>>
TransportOfferingSearchService interface. Its main purpose is to retrieve transport offering search results. The
search service implementation is stateless, i.e. it does not maintain any state for each search, instead it
externalizes the search state in the search page data returned. The search must be initiated by calling the search
method {@link #transportOfferingSearch.doSearch(SolrSearchQueryData,PageableData)}. From this you get the search page
data result.
-
Method Summary
Modifier and TypeMethodDescriptiondoSearch(SolrSearchQueryData searchQueryData, PageableData pageableData)
-
Method Details
-
doSearch
- Parameters:
searchQueryData- the search query objectpageableData- the page to return- Returns:
- the search results
-