Interface TravelImageFacade
- All Known Implementing Classes:
DefaultTravelImageFacade
public interface TravelImageFacade
This facade is responsible for providing image based on several parameters: destinationLocation, accommodationOfferingCode,
arrivalTransportFacility
-
Method Summary
Modifier and TypeMethodDescriptiongetImageForAccommodationOfferingLocation(String accommodationOfferingCode) Retrieves the image of a city location associated to given accommodation offering.getImageForArrivalTransportFacility(String arrivalTransportFacility) Retrieves the image of a city location associated to given transport facility.getImageForDestinationLocation(String destinationLocation) Retrieves city location code from the destinationLocation parameter and then will get the image associated to the location of that city.Retrieves the image based on transportation or accommodation selection that is currently in the cart
-
Method Details
-
getImageForDestinationLocation
Retrieves city location code from the destinationLocation parameter and then will get the image associated to the location of that city.- Parameters:
destinationLocation- code used in accommodation search built in following pattern:| | , e.g. LON|GB or PAR|FR - Returns:
- image image for destination location
-
getImageForAccommodationOfferingLocation
Retrieves the image of a city location associated to given accommodation offering.- Parameters:
accommodationOfferingCode- - accommodation offering code- Returns:
- image image for accommodation offering location
-
getImageForArrivalTransportFacility
Retrieves the image of a city location associated to given transport facility.- Parameters:
arrivalTransportFacility- - arrival transport facility code- Returns:
- image image for arrival transport facility
-
getImageFromCart
ImageData getImageFromCart()Retrieves the image based on transportation or accommodation selection that is currently in the cart- Returns:
- image from cart
-