|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.gisgraphy.domain.repository.GenericDao<T,java.lang.Long>
com.gisgraphy.domain.repository.GenericGisDao<City>
com.gisgraphy.domain.repository.CityDao
@Repository public class CityDao
A data access object for City
Field Summary |
---|
Fields inherited from class com.gisgraphy.domain.repository.GenericGisDao |
---|
GEOMETRY_TYPE, MAX_FULLTEXT_RESULTS |
Fields inherited from class com.gisgraphy.domain.repository.GenericDao |
---|
persistentClass |
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
CityDao()
Default constructor |
Method Summary | |
---|---|
java.util.List<City> |
listByZipCode(java.lang.String zipcode,
java.lang.String countrycode)
|
Methods inherited from class com.gisgraphy.domain.repository.GenericGisDao |
---|
createGISTIndexForLocationColumn, deleteAll, deleteAll, getByFeatureId, getDirties, getEager, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFrom, getNearestAndDistanceFromGisFeature, getNearestAndDistanceFromGisFeature, listByFeatureIds, listByName, listFromText, listFromText, remove, save, setEventManager |
Methods inherited from class com.gisgraphy.domain.repository.GenericDao |
---|
count, exists, flushAndClear, get, getAll, getAllPaginate, getPersistenceClass, setFlushMode |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Constructor Detail |
---|
public CityDao()
Method Detail |
---|
public java.util.List<City> listByZipCode(java.lang.String zipcode, java.lang.String countrycode)
listByZipCode
in interface ICityDao
zipcode
- the zipcode to foundcountrycode
- the countrycode to limit the search, if null: search in
all country
GenericGisDao.listFromText(String, boolean)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |