public interface ICountryDao extends IGisDao<Country>
Country
Modifier and Type | Method and Description |
---|---|
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
|
createGISTIndexForLocationColumn, createGISTIndexForShapeColumn, getByFeatureId, getDirties, getEager, getNearest, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFromGisFeature, getNearestAndDistanceFromGisFeature, getShapeAsWKTByFeatureId, listByFeatureIds, listByName, listFromText
count, deleteAll, deleteAll, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, remove, save, setFlushMode
Country getByIso3166Alpha2Code(String iso3166Alpha2Code)
iso3166Alpha2Code
- The ISO 3166 Alpha 2 code in upper casegetByIso3166Alpha3Code(String)
,
getByIso3166Code(String)
Country getByIso3166Alpha3Code(String iso3166Alpha3Code)
iso3166Alpha3Code
- The ISO 3166 Alpha 2 code in upper casegetByIso3166Alpha2Code(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 codeiso3166Code
- the iso 3166 CodegetByIso3166Alpha3Code(String)
,
getByIso3166Alpha2Code(String)
Country getByName(String name)
name
- the name of the country to retrieveList<Country> getAllSortedByName()
Copyright © 2015. All rights reserved.