Interface ShoppingTransportOfferingFacade
- All Superinterfaces:
TransportOfferingFacade
- All Known Subinterfaces:
PROSTransportOfferingFacade
- All Known Implementing Classes:
DefaultPROSTransportOfferingFacade,DefaultShoppingTransportOfferingFacade
THe interface shopping transport offering facade
-
Method Summary
Modifier and TypeMethodDescriptiongetDestination(List<TransportOfferingData> transportOfferings) Gets the destination from a sorted list of transport offerings.getDestinationList(List<AbstractOrderEntryModel> transportationEntries) Method for retrieving a list of distinct destinations from the transportation entries.Method to retrieve suggestions for the destination search textgetInboundTransportOfferings(List<AbstractOrderEntryModel> transportationEntries) Gets the list of inbound transport offeringsgetLocationSuggestions(String searchText, String location) Method to retrieve suggestions for the origins search textgetOrigin(List<TransportOfferingData> transportOfferings) Gets the origin from a sorted list of transport offerings.getOriginList(List<AbstractOrderEntryModel> transportationEntries) Method for retrieving a list of distinct origins from the transportation entries.getOutboundTransportOfferings(List<AbstractOrderEntryModel> transportationEntries) Gets the list of outbound transport offeringsMethods inherited from interface de.hybris.platform.travelfacades.facades.TransportOfferingFacade
getDestinationLocationSuggestions, getDestinationSuggestionData, getDestinationSuggestions, getOriginSuggestionData, getOriginSuggestions, getOriginSuggestions, getScheduledRoutes, getTransportOffering, getTransportOffering, getTransportOfferings, getTransportOfferings, isMultiSectorRoute
-
Method Details
-
getDestinationSuggestionData
Method to retrieve suggestions for the destination search text- Parameters:
text- the text- Returns:
- Map of suggestions results using GlobalSuggestionData objects
-
getOrigin
Gets the origin from a sorted list of transport offerings.- Parameters:
transportOfferings- a list of transport offerings data- Returns:
- the origin location
-
getDestination
Gets the destination from a sorted list of transport offerings.- Parameters:
transportOfferings- a list of transport offerings data- Returns:
- the destination location
-
getOriginList
Method for retrieving a list of distinct origins from the transportation entries. The list is composed by the origin of the outbound entries and the destination of the inbound entries.- Parameters:
transportationEntries- the list of transportation entries- Returns:
- a list of distinct origins
-
getDestinationList
Method for retrieving a list of distinct destinations from the transportation entries. The list is composed by the origin of the inbound entries and the destination of the outbound entries.- Parameters:
transportationEntries- the list of transportation entries- Returns:
- a list of distinct destinations
-
getOutboundTransportOfferings
List<TransportOfferingModel> getOutboundTransportOfferings(List<AbstractOrderEntryModel> transportationEntries) Gets the list of outbound transport offerings- Parameters:
transportationEntries- the list of transprotation entries- Returns:
- a list of outbound transport offerings
-
getInboundTransportOfferings
List<TransportOfferingModel> getInboundTransportOfferings(List<AbstractOrderEntryModel> transportationEntries) Gets the list of inbound transport offerings- Parameters:
transportationEntries- the list of transportation entries- Returns:
- a list of inbound tranport offerings
-
getLocationSuggestions
Method to retrieve suggestions for the origins search text- Parameters:
searchText- the origin suggestionlocation- the destination to be covered from the origin or the origin code to be covered from the destination- Returns:
- the TravelLocationSuggestionData
-