Interface IGeoCodeProvider

  • All Known Implementing Classes:
    GeoCodesLocal

    public interface IGeoCodeProvider
    • Method Detail

      • getId

        java.lang.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

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

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

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

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

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

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

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

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