Class GeoCodeService


  • public class GeoCodeService
    extends Object
    Service regarding identity quality.
    • Constructor Detail

      • GeoCodeService

        public GeoCodeService()
        Simple Constructor
      • GeoCodeService

        public GeoCodeService​(IGeoCodeTransportProvider transportProvider)
        Constructor with IIdentityTransportProvider in parameters
        Parameters:
        transportProvider - IIdentityQualityTransportProvider
    • Method Detail

      • setTransportProvider

        public void setTransportProvider​(IGeoCodeTransportProvider transportProvider)
        setter of transportProvider parameter
        Parameters:
        transportProvider - IIdentityQualityTransportProvider
      • getCityByCodeAndDate

        public City getCityByCodeAndDate​(String strCodeCity,
                                         Date dateRef)
                                  throws Exception
        Get the city informations from a code INSEE and a validity date
        Parameters:
        strCodeCity - the code INSEE of the city
        dateRef - the date validity
        Returns:
        a city information IdentityDto
        Throws:
        Exception
      • getListCitiesByNameAndDate

        public List<City> getListCitiesByNameAndDate​(String strNameCity,
                                                     Date dateRef)
                                              throws Exception
        Get the list of cities from an exact name and a validity date
        Parameters:
        strNameCity - the name of the city
        dateRef - the date validity
        Returns:
        a list of cities IdentityDto
        Throws:
        Exception
      • getListCitiesByNameAndDateLike

        public List<City> getListCitiesByNameAndDateLike​(String strNameCity,
                                                         Date dateRef)
                                                  throws Exception
        Get the list of cities from a name and a validity date
        Parameters:
        strNameCity - the name of the city
        dateRef - the date validity
        Returns:
        a list of cities IdentityDto
        Throws:
        Exception
      • getListCountryByNameAndDate

        public List<Country> getListCountryByNameAndDate​(String strNameCountry,
                                                         Date dateRef)
                                                  throws Exception
        Get a list of country from name and date
        Parameters:
        strNameCountry -
        dateRef -
        Returns:
        Throws:
        Exception
      • getCountryByCodeAndDate

        public Country getCountryByCodeAndDate​(String strCodeCountry,
                                               Date dateRef)
                                        throws Exception
        Get a country for a code and a name
        Parameters:
        strCodeCountry -
        dateRef -
        Returns:
        Throws:
        Exception