ar.com.jiji.kaya.dao.hib
Class ProvinciaDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by ar.com.jiji.kaya.dao.hib.AbstractHibernateDaoImpl
              extended by ar.com.jiji.kaya.dao.hib.HibernateCRUDPageableDaoImpl<Provincia>
                  extended by ar.com.jiji.kaya.dao.hib.ProvinciaDaoImpl
All Implemented Interfaces:
ar.com.jiji.kaya.dao.CRUDDAO<Provincia>, ar.com.jiji.kaya.dao.CRUDPageableDAO<Provincia>, ar.com.jiji.kaya.dao.PageableTableDAO<Provincia>, ProvinciaDao, org.springframework.beans.factory.InitializingBean

public class ProvinciaDaoImpl
extends ar.com.jiji.kaya.dao.hib.HibernateCRUDPageableDaoImpl<Provincia>
implements ProvinciaDao

Implementacion de ProvinciaDao con Hibernate.

Author:
lparra

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ProvinciaDaoImpl()
           
 
Method Summary
 java.util.List<Provincia> getProvinciasByPais(long paisId)
          Devuelve todas las Provincias pertenecientes a un Pais.
 
Methods inherited from class ar.com.jiji.kaya.dao.hib.HibernateCRUDPageableDaoImpl
getAll, getPage, getPage, getSize, getSize, load, remove, save
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, 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 ar.com.jiji.kaya.dao.PageableTableDAO
getPage, getPage, getSize, getSize
 
Methods inherited from interface ar.com.jiji.kaya.dao.CRUDDAO
getAll, load, remove, save
 

Constructor Detail

ProvinciaDaoImpl

public ProvinciaDaoImpl()
Method Detail

getProvinciasByPais

public java.util.List<Provincia> getProvinciasByPais(long paisId)
Description copied from interface: ProvinciaDao
Devuelve todas las Provincias pertenecientes a un Pais.

Specified by:
getProvinciasByPais in interface ProvinciaDao
Parameters:
paisId - Id del Pais.
Returns:
Devuelve todas las Provincias pertenecientes a un Pais. Si no existen datos que coincidan con el criterio, se devuelve una lista vacia.


Copyright © 2006 Kaya. All Rights Reserved.