Interface IGeoCodeProvider

All Known Implementing Classes:
GeoCodesLocal

public interface IGeoCodeProvider
  • Method Details

    • getId

      String getId()
      Gives the id. The id is used to find which geoCode providers have to be used in the task. The id must be unique among the geoCode providers.
      Returns:
      the id
    • getCityByDateAndCode

      Optional<City> getCityByDateAndCode(Date dateCity, String strCode)
      get city by code and date
      Parameters:
      strCode -
      dateCity -
      Returns:
      the city (as Optional)
    • getCitiesListByNameAndDate

      List<City> getCitiesListByNameAndDate(String strSearchBeginningVal, Date dateCity)
      search cities by name beginning with a string and a date
      Parameters:
      strSearchBeginningVal -
      dateCity -
      Returns:
      the list
    • getCountryByCodeAndDate

      Optional<Country> getCountryByCodeAndDate(Date dateCountry, String strCodeCountry)
      get country by code and date
      Parameters:
      strCodeCountry -
      dateCountry -
      Returns:
      the country (as Optional)
    • getCitiesListByNameAndDateLike

      List<City> getCitiesListByNameAndDateLike(String strSearchBeginningVal, Date dateCity)
      search cities by name beginning with a string and a date
      Parameters:
      strSearchBeginningVal -
      dateCity -
      Returns:
      the list
    • getCitiesListByNameLike

      @Deprecated List<City> getCitiesListByNameLike(String strSearchBeginningVal)
      Deprecated.
      search cities by name beginning with a string
      Parameters:
      strSearchBeginningVal -
      Returns:
      the list
    • getCitiesListByName

      @Deprecated List<City> getCitiesListByName(String strSearchBeginningVal)
      Deprecated.
      search cities by exact name
      Parameters:
      strSearchBeginningVal -
      Returns:
      the list
    • getCityByCode

      @Deprecated List<City> getCityByCode(String strCode)
      Deprecated.
      get city by code
      Parameters:
      strCode -
      Returns:
      the city (as Optional)
    • getCitiesCodesListByDate

      List<String> getCitiesCodesListByDate(Date dateCity)
      Get list of city codes by date
      Parameters:
      dateCity -
      Returns: