GEOMETRY_TYPE, MAX_FULLTEXT_RESULTS
persistentClass
Constructor and Description |
---|
CityDao()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
City |
getByShape(com.vividsolutions.jts.geom.Point location,
String countryCode,
boolean filterMunicipality) |
List<City> |
listByZipCode(String zipcode,
String countrycode) |
createGISTIndexForLocationColumn, createGISTIndexForShapeColumn, deleteAll, deleteAll, getByFeatureId, getDirties, getEager, getNearest, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFromGisFeature, getNearestAndDistanceFromGisFeature, getShapeAsWKTByFeatureId, listByFeatureIds, listByName, listFromText, listFromText, remove, save, setEventManager
count, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, setFlushMode
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public List<City> listByZipCode(String zipcode, String countrycode)
listByZipCode
in interface ICityDao
zipcode
- the zipcode to foundcountrycode
- the countrycode to limit the search, if null: search in
all countryGenericGisDao.listFromText(String, boolean)
.public City getByShape(com.vividsolutions.jts.geom.Point location, String countryCode, boolean filterMunicipality)
getByShape
in interface ICityDao
Copyright © 2015. All rights reserved.