org.directdemocracyportal.democracy.service.dao.hibernate
Class HibernateGovernmentDAO

Package class diagram package HibernateGovernmentDAO
java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.directdemocracyportal.democracy.service.dao.hibernate.GenericHibernateDAO<Government,java.lang.Long>
              extended by 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.


Field Summary
Modifier and Type Field and Description
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
Constructor and Description
HibernateGovernmentDAO()
          Instantiates a new hibernate government dao.
 
Method Summary
Modifier and Type Method and Description
 java.util.List<Government> getAllNationalGovernments()
          Gets the all national governments.
 
Methods inherited from class org.directdemocracyportal.democracy.service.dao.hibernate.GenericHibernateDAO
delete, getAll, load, save
 
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 org.directdemocracyportal.democracy.service.dao.GenericDAO
delete, getAll, load, save
 

Constructor Detail

HibernateGovernmentDAO

public HibernateGovernmentDAO()
Instantiates a new hibernate government dao.

Method Detail

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.