Interface SuggestionsDisplayStrategy
- All Known Implementing Classes:
DefaultSuggestionsDisplayStrategy
public interface SuggestionsDisplayStrategy
Strategy to create the display view of suggestion results.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSuggestion display types -
Method Summary
Modifier and TypeMethodDescriptioncreateStructuredView(SuggestionsDisplayStrategy.SuggestionType suggestionType, String searchText, List<TransportOfferingData> transportOfferingDataList) Method to apply the strategy on a collection.
-
Method Details
-
createStructuredView
Map<String,Map<String, createStructuredViewString>> (SuggestionsDisplayStrategy.SuggestionType suggestionType, String searchText, List<TransportOfferingData> transportOfferingDataList) Method to apply the strategy on a collection.- Parameters:
suggestionType- the suggestion typesearchText- the search texttransportOfferingDataList- the transport offering data list- Returns:
- map
-