org.zeroexchange.dao.location
Class CityDAOImpl

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.BaseHibernateDAO<String,T>
          extended by org.zeroexchange.dao.BaseStringPKDAO<City>
              extended by org.zeroexchange.dao.location.CityDAOImpl
All Implemented Interfaces:
DAO<String,City>, CityDAO, StringPKDAO<City>

public class CityDAOImpl
extends BaseStringPKDAO<City>
implements CityDAO

Author:
black

Constructor Summary
CityDAOImpl()
           
 
Method Summary
 List<City> getCities(Country country)
          Returns cities.
 Class<City> getEntityClass()
          
 
Methods inherited from class org.zeroexchange.dao.BaseHibernateDAO
getById, removeById, save
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Constructor Detail

CityDAOImpl

public CityDAOImpl()
Method Detail

getEntityClass

public Class<City> getEntityClass()

Specified by:
getEntityClass in class BaseHibernateDAO<String,City>

getCities

public List<City> getCities(Country country)
Returns cities.

Specified by:
getCities in interface CityDAO


Copyright © 2013. All Rights Reserved.