Interface TravelLocationFacade

All Known Implementing Classes:
DefaultTravelLocationFacade

public interface TravelLocationFacade
Facade which provides functionality related to LocationData such as retrieving location by its code.
  • Method Details

    • getLocation

      LocationData getLocation(String locationCode)
      Retrieves a location by its code.
      Parameters:
      locationCode -
      Returns:
      LocationData
    • validateLocationAgainstCountry

      void validateLocationAgainstCountry(String locationCode, String countryCode)
      Validate if location code exists
      Parameters:
      locationCode - the location code
      countryCode - the country code
    • getParentLocationPathForCode

      List<String> getParentLocationPathForCode(String code)
      Returns the path from source location to the parent location.
      Parameters:
      code - the location code
      Returns:
      the found path