org.directdemocracyportal.democracy.service.dao.hibernate
Class HibernateGovernmentDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.directdemocracyportal.democracy.service.dao.hibernate.GenericHibernateDAO<Government,java.lang.Long>
org.directdemocracyportal.democracy.service.dao.hibernate.HibernateGovernmentDAO
- All Implemented Interfaces:
- GenericDAO<Government,java.lang.Long>, GovernmentDAO, org.springframework.beans.factory.InitializingBean
@Transactional(propagation=MANDATORY)
public class HibernateGovernmentDAO
extends GenericHibernateDAO<Government,java.lang.Long>
implements GovernmentDAO
The Class HibernateGovernmentDAO.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
HibernateGovernmentDAO
public HibernateGovernmentDAO()
- Instantiates a new hibernate government dao.
getAllNationalGovernments
public java.util.List<Government> getAllNationalGovernments()
- Description copied from interface:
GovernmentDAO
- Gets the all national governments.
- Specified by:
getAllNationalGovernments
in interface GovernmentDAO
- Returns:
- the all national governments
Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.