org.directdemocracyportal.democracy.service.dao.hibernate
Class HibernateDocumentDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.directdemocracyportal.democracy.service.dao.hibernate.GenericHibernateDAO<Document,java.lang.Long>
org.directdemocracyportal.democracy.service.dao.hibernate.HibernateDocumentDAO
- All Implemented Interfaces:
- DocumentDAO, GenericDAO<Document,java.lang.Long>, org.springframework.beans.factory.InitializingBean
@Transactional(propagation=MANDATORY)
public class HibernateDocumentDAO
extends GenericHibernateDAO<Document,java.lang.Long>
implements DocumentDAO
The Class HibernateDocumentDAO.
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 |
HibernateDocumentDAO
public HibernateDocumentDAO()
- Instantiates a new hibernate document dao.
getDecidedResolutionsInDateOrder
public java.util.List<Resolution> getDecidedResolutionsInDateOrder()
throws org.springframework.dao.DataAccessException
- Description copied from interface:
DocumentDAO
- Gets the decided resolutions in date order.
- Specified by:
getDecidedResolutionsInDateOrder
in interface DocumentDAO
- Returns:
- the decided resolutions in date order
- Throws:
org.springframework.dao.DataAccessException
- the data access exception
getVotesForPerson
public java.util.List<Vote> getVotesForPerson(Person person)
- Description copied from interface:
DocumentDAO
- Gets the votes for person.
- Specified by:
getVotesForPerson
in interface DocumentDAO
- Parameters:
person
- the person
- Returns:
- the votes for person
Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.