com.ferri.persistence.dao.impl
Class GestoriaDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.ferri.persistence.dao.commons.GenericBaseDAOImpl<GestoriaVO,String>
              extended by com.ferri.persistence.dao.base.BaseGestoriaDAO
                  extended by com.ferri.persistence.dao.impl.GestoriaDAOImpl
All Implemented Interfaces:
Initializable, GenericBaseDAO<GestoriaVO,String>, GestoriaDAO, org.springframework.beans.factory.InitializingBean

public class GestoriaDAOImpl
extends BaseGestoriaDAO

Base abstracta del DAO per la entitat gestoria.

Author:
dferri

Field Summary
 
Fields inherited from class com.ferri.persistence.dao.commons.GenericBaseDAOImpl
logger
 
Fields inherited from interface com.ferri.persistence.dao.commons.GenericBaseDAO
ORDER_BY, SEPARATOR_COMMA, SEPARATOR_DOT
 
Constructor Summary
GestoriaDAOImpl()
           
 
Method Summary
 Integer countAdrministradors(String nif)
          Compta els administradors pertanyents a una Gestoria
 Integer countClients(String nif)
          Compta els clients associats a una Gestoria
 
Methods inherited from class com.ferri.persistence.dao.commons.GenericBaseDAOImpl
create, create, find, findByCriteria, findByExample, getCriteria, getEntityClass, getEntityClassName, getQueryOrderedBy, headEntityClassNameTo, initialize, load, loadAll, loadAllOrderBy, loadAllOrderby, remove, remove, removeByPk, save, saveOrUpdate, saveOrUpdate, update
 
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.ferri.persistence.dao.commons.GenericBaseDAO
create, create, find, findByCriteria, findByExample, getCriteria, getQueryOrderedBy, load, loadAll, loadAllOrderBy, loadAllOrderby, remove, remove, removeByPk, save, saveOrUpdate, saveOrUpdate, update
 
Methods inherited from interface com.ferri.core.behaviors.Initializable
initialize
 

Constructor Detail

GestoriaDAOImpl

public GestoriaDAOImpl()
Method Detail

countClients

public Integer countClients(String nif)
Description copied from interface: GestoriaDAO
Compta els clients associats a una Gestoria

Returns:
Integer

countAdrministradors

public Integer countAdrministradors(String nif)
Description copied from interface: GestoriaDAO
Compta els administradors pertanyents a una Gestoria

Returns:
Integer