Interface PackageSearchFacade
- All Known Subinterfaces:
ShoppingPackageSearchFacade
- All Known Implementing Classes:
DefaultPackageSearchFacade,DefaultShoppingPackageSearchFacade
public interface PackageSearchFacade
Interface for the Package Search Facade
-
Method Summary
Modifier and TypeMethodDescriptiondoSearch(PackageSearchRequestData packageSearchRequestData) Do search for packages.getFilteredPackageResponseFilteredByPriceRange(PackageSearchRequestData packageSearchRequestData) Gets the filtered package response filtered by price range.getMaxPricedPackage(List<PropertyData> packages) Gets the max priced package.getMinPricedPackage(List<PropertyData> packages) Gets the min priced package.
-
Method Details
-
doSearch
Do search for packages.- Parameters:
packageSearchRequestData- the package search request data- Returns:
- AccommodationSearchRequestData object with accommodation offering matching request parameters
-
getMinPricedPackage
Gets the min priced package.- Parameters:
packages- the packages- Returns:
- the min priced package
-
getMaxPricedPackage
Gets the max priced package.- Parameters:
packages- the packages- Returns:
- the max priced package
-
getFilteredPackageResponseFilteredByPriceRange
PackageSearchResponseData getFilteredPackageResponseFilteredByPriceRange(PackageSearchRequestData packageSearchRequestData) Gets the filtered package response filtered by price range.- Parameters:
packageSearchRequestData- the package search request data- Returns:
- the filtered package response filtered by price range
-