Interface TransportOfferingSearchService<STATE,ITEM,RESULT extends TransportOfferingSearchPageData<STATE,ITEM>>

Type Parameters:
STATE - The type of the search query state. This is implementation specific. For example SolrSearchQueryData
ITEM - The type of items returned as part of the search results. For example SearchResultValueData
RESULT - 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 Details

    • doSearch

      RESULT doSearch(SolrSearchQueryData searchQueryData, PageableData pageableData)
      Parameters:
      searchQueryData - the search query object
      pageableData - the page to return
      Returns:
      the search results