Interface TransportFacilityFacade
- All Known Implementing Classes:
DefaultTransportFacilityFacade
public interface TransportFacilityFacade
Facade which provides methods relevant to TransportFacility
-
Method Summary
Modifier and TypeMethodDescriptionfindNearestTransportFacility(GeoPoint geoPoint, PageableData pageableData) Method to find the nearest transport facility for the geopoint.findNearestTransportFacility(GeoPoint geoPoint, String activity, PageableData pageableData) Method to find the nearest transport facility for the geopoint providing transportOffering destination based on the activity.getCountry(String transportFacilityCode) Method to find the country of a transport facility.getLocation(String transportFacilityCode) Method to find the location of a transport facility.getOriginTransportFacility(String activity) Method to return the list of TransportFacilityData based on the activitygetTransportFacility(String transportFacilityCode) Method to return the TransportFacilityData based on the transportFacilityCode
-
Method Details
-
findNearestTransportFacility
Method to find the nearest transport facility for the geopoint.- Parameters:
geoPoint- the geo pointpageableData- the pageable data- Returns:
- nearest transport facility
-
findNearestTransportFacility
TransportFacilityData findNearestTransportFacility(GeoPoint geoPoint, String activity, PageableData pageableData) Method to find the nearest transport facility for the geopoint providing transportOffering destination based on the activity.- Parameters:
geoPoint- the geo pointactivity- the activitypageableData- the pageable data- Returns:
- nearest transport facility
-
getCountry
Method to find the country of a transport facility.- Parameters:
transportFacilityCode- the transport facility code- Returns:
- country of transport facility
-
getLocation
Method to find the location of a transport facility.- Parameters:
transportFacilityCode- the transport facility code- Returns:
- location of transport facility
-
getTransportFacility
Method to return the TransportFacilityData based on the transportFacilityCode- Parameters:
transportFacilityCode- the transport facility code- Returns:
- TransportFacilityData transport facility
-
getOriginTransportFacility
Method to return the list of TransportFacilityData based on the activity- Parameters:
activity- the activity- Returns:
- List
origin transport facility
-