|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICountryDao
Interface of data access object for Country
Method Summary | |
---|---|
List<Country> |
getAllSortedByName()
|
Country |
getByIso3166Alpha2Code(String iso3166Alpha2Code)
Get By ISO 3166 Alpha 2 (2-letter) code NOTE : The country code will be automaticaly converted in upperCase |
Country |
getByIso3166Alpha3Code(String iso3166Alpha3Code)
Get by ISO 639 Alpha 3 (3-letter) code NOTE : The country code will be automaticaly converted in upperCase |
Country |
getByIso3166Code(String iso3166Code)
Wrapper method around getByIso3166Alpha2Code(String) and
getByIso3166Alpha3Code(String) . |
Country |
getByName(String name)
returns the country for the specified name |
List<Long> |
listFeatureIds()
List all the featureId of countries |
Methods inherited from interface com.gisgraphy.domain.repository.IGisDao |
---|
createGISTIndexForLocationColumn, getByFeatureId, getDirties, getEager, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFromGisFeature, getNearestAndDistanceFromGisFeature, listByFeatureIds, listByName, listFromText |
Methods inherited from interface com.gisgraphy.domain.repository.IDao |
---|
count, deleteAll, deleteAll, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, remove, save, setFlushMode |
Method Detail |
---|
Country getByIso3166Alpha2Code(String iso3166Alpha2Code)
iso3166Alpha2Code
- The ISO 3166 Alpha 2 code in upper case
getByIso3166Alpha3Code(String)
,
getByIso3166Code(String)
Country getByIso3166Alpha3Code(String iso3166Alpha3Code)
iso3166Alpha3Code
- The ISO 3166 Alpha 2 code in upper case
getByIso3166Alpha2Code(String)
,
getByIso3166Code(String)
Country getByIso3166Code(String iso3166Code)
getByIso3166Alpha2Code(String)
and
getByIso3166Alpha3Code(String)
. This method is to use when you
want to get the country with an iso 3166 code that you don't know if it
is an alpha 2 or 3 Get by ISO 639 Alpha 2 or 3 code
iso3166Code
- the iso 3166 Code
getByIso3166Alpha3Code(String)
,
getByIso3166Alpha2Code(String)
Country getByName(String name)
name
- the name of the country to retrieve
List<Country> getAllSortedByName()
List<Long> listFeatureIds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |