Class GeoCodesService
java.lang.Object
fr.paris.lutece.plugins.geocodes.service.GeoCodesService
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCityChanges(City cityUpdate, String author, String status) update the city informationsstatic booleancheckChangesExistence(City city) static booleancheckDateFormat(String strDateCity) static DatecheckDateValidityStart(Date dateCheck) static voidcreateCity(City cityNew, String author, String applied) create the new city changegetCitiesCodesListByDate(Date dateCity) search cities codes by dateget all cities order by lastUpdateDategetCitiesListByName(String strSearchVal) Deprecated.getCitiesListByNameAndDate(String strSearchBeginningVal, Date dateCity) search cities by name beginning with a string and a dategetCitiesListByNameAndDateLike(String strSearchBeginningVal, Date dateCity) search cities by name beginning with a string and a dategetCitiesListByNameLike(String strSearchBeginningVal) Deprecated.getCityByCode(String strCode) Deprecated.getCityByDateAndCode(Date dateCity, String strCode) get city by code and dategetCountriesListByName(String strCountryName) Deprecated.getCountriesListByNameAndDate(String strSearchBeginningVal, Date dateRef) search countries by namegetCountryByCode(String strCode) get country by codegetCountryByCode(String strCode, boolean bAttached) Deprecated.static GeoCodesServiceGet the instance of GeoCodeServicestatic voidupdateCityChanges(City cityUpdate, String author, String status) update the city changes informations
-
Method Details
-
getInstance
Get the instance of GeoCodeService- Returns:
- an instance of GeoCodeService
-
getCityByCode
Deprecated.get city by code- Parameters:
strCodel-- Returns:
- the city (as Optional)
-
getCitiesListByName
Deprecated.search cities by name beginning with a string- Parameters:
strSearchBeginningVal-- Returns:
- the list
-
getCitiesListByNameLike
Deprecated.search cities by name beginning with a string- Parameters:
strSearchBeginningVal-- Returns:
- the list
-
getCitiesListByNameAndDate
search cities by name beginning with a string and a date- Parameters:
strSearchBeginningVal-dateCity-- Returns:
- the list
-
getCitiesListByNameAndDateLike
search cities by name beginning with a string and a date- Parameters:
strSearchBeginningVal-dateCity-- Returns:
- the list
-
getCitiesCodesListByDate
search cities codes by date- Parameters:
dateCity-- Returns:
- the list
-
getCountryByCode
get country by code- Parameters:
strCode-- Returns:
- the country (as Optional)
-
getCountryByCode
Deprecated.get country by code- Parameters:
strCode-- Returns:
- the country (as Optional)
-
getCountriesListByNameAndDate
search countries by name- Parameters:
strSearchBeginningVal-- Returns:
- the list
-
getCountriesListByName
Deprecated.get country list by name- Parameters:
strCountryName-- Returns:
- the list
-
getCityByDateAndCode
get city by code and date- Parameters:
strCodel-dateCity-- Returns:
- the city (as Optional)
-
getCitiesListByLastDateUpdate
get all cities order by lastUpdateDate- Returns:
- the list
-
addCityChanges
update the city informations- Parameters:
cityUpdate- : the city to update
-
updateCityChanges
update the city changes informations- Parameters:
cityUpdate- : the city to update
-
createCity
create the new city change- Parameters:
cityNew- : the city to create
-
checkDateValidityStart
-
checkChangesExistence
-
checkDateFormat
-