com.ferri.persistence.dao.interfaces
Interface GestoriaDAO

All Superinterfaces:
GenericBaseDAO<GestoriaVO,String>, Initializable
All Known Implementing Classes:
BaseGestoriaDAO, GestoriaDAOImpl

public interface GestoriaDAO
extends GenericBaseDAO<GestoriaVO,String>

Interficie DAO per la entitat Gestoria

Author:
dferri

Field Summary
 
Fields inherited from interface com.ferri.persistence.dao.commons.GenericBaseDAO
ORDER_BY, SEPARATOR_COMMA, SEPARATOR_DOT
 
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 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
 

Method Detail

countClients

Integer countClients(String nif)
Compta els clients associats a una Gestoria

Parameters:
nif -
Returns:
Integer

countAdrministradors

Integer countAdrministradors(String nif)
Compta els administradors pertanyents a una Gestoria

Parameters:
nif -
Returns:
Integer