Interface AccommodationOfferingSearchService<STATE,ITEM,RESULT extends AccommodationOfferingSearchPageData<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:
DefaultSolrAccommodationOfferingSearchService

public interface AccommodationOfferingSearchService<STATE,ITEM,RESULT extends AccommodationOfferingSearchPageData<STATE,ITEM>>
AccommodationOfferingSearchService interface. Its main purpose is to retrieve accommodation 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 #accommodationOfferingSearch.doSearch(SolrSearchQueryData,PageableData)}. From this method's return value, the search page data result can be retrieved.
  • Method Details

    • doSearch

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