Class GeoCodesLocal

    • Constructor Detail

      • GeoCodesLocal

        public GeoCodesLocal()
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: IGeoCodeProvider
        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.
        Specified by:
        getId in interface IGeoCodeProvider
        Returns:
        the id
      • getCityByDateAndCode

        public java.util.Optional<City> getCityByDateAndCode​(java.util.Date dateCity,
                                                             java.lang.String strCode)
        Description copied from interface: IGeoCodeProvider
        get city by code and date
        Specified by:
        getCityByDateAndCode in interface IGeoCodeProvider
        Returns:
        the city (as Optional)
      • getCityByCode

        @Deprecated
        public java.util.List<City> getCityByCode​(java.lang.String strCode)
        Deprecated.
        Description copied from interface: IGeoCodeProvider
        get city by code
        Specified by:
        getCityByCode in interface IGeoCodeProvider
        Returns:
        the city (as Optional)
      • getCitiesCodesListByDate

        public java.util.List<java.lang.String> getCitiesCodesListByDate​(java.util.Date dateCity)
        Description copied from interface: IGeoCodeProvider
        Get list of city codes by date
        Specified by:
        getCitiesCodesListByDate in interface IGeoCodeProvider
        Returns:
      • getCitiesListByNameAndDate

        public java.util.List<City> getCitiesListByNameAndDate​(java.lang.String strSearchBeginningVal,
                                                               java.util.Date dateCity)
        Description copied from interface: IGeoCodeProvider
        search cities by name beginning with a string and a date
        Specified by:
        getCitiesListByNameAndDate in interface IGeoCodeProvider
        Returns:
        the list
      • getCitiesListByNameAndDateLike

        public java.util.List<City> getCitiesListByNameAndDateLike​(java.lang.String strSearchBeginningVal,
                                                                   java.util.Date dateCity)
        Description copied from interface: IGeoCodeProvider
        search cities by name beginning with a string and a date
        Specified by:
        getCitiesListByNameAndDateLike in interface IGeoCodeProvider
        Returns:
        the list
      • getCitiesListByNameLike

        @Deprecated
        public java.util.List<City> getCitiesListByNameLike​(java.lang.String strSearchBeginningVal)
        Deprecated.
        Description copied from interface: IGeoCodeProvider
        search cities by name beginning with a string
        Specified by:
        getCitiesListByNameLike in interface IGeoCodeProvider
        Returns:
        the list
      • getCitiesListByName

        @Deprecated
        public java.util.List<City> getCitiesListByName​(java.lang.String strSearchBeginningVal)
        Deprecated.
        Description copied from interface: IGeoCodeProvider
        search cities by exact name
        Specified by:
        getCitiesListByName in interface IGeoCodeProvider
        Returns:
        the list
      • getCountryByCodeAndDate

        public java.util.Optional<Country> getCountryByCodeAndDate​(java.util.Date dateCountry,
                                                                   java.lang.String strCodeCountry)
        Description copied from interface: IGeoCodeProvider
        get country by code and date
        Specified by:
        getCountryByCodeAndDate in interface IGeoCodeProvider
        Returns:
        the country (as Optional)