org.directdemocracyportal.democracy.service.dao
Interface DocumentDAO

Package class diagram package DocumentDAO
All Superinterfaces:
GenericDAO<Document,java.lang.Long>
All Known Implementing Classes:
HibernateDocumentDAO

public interface DocumentDAO
extends GenericDAO<Document,java.lang.Long>

The Interface DocumentDAO.


Method Summary
Modifier and Type Method and Description
 java.util.List<Resolution> getDecidedResolutionsInDateOrder()
          Gets the decided resolutions in date order.
 java.util.List<Vote> getVotesForPerson(Person person)
          Gets the votes for person.
 
Methods inherited from interface org.directdemocracyportal.democracy.service.dao.GenericDAO
delete, getAll, load, save
 

Method Detail

getDecidedResolutionsInDateOrder

java.util.List<Resolution> getDecidedResolutionsInDateOrder()
                                                            throws org.springframework.dao.DataAccessException
Gets the decided resolutions in date order.

Returns:
the decided resolutions in date order
Throws:
org.springframework.dao.DataAccessException - the data access exception

getVotesForPerson

java.util.List<Vote> getVotesForPerson(Person person)
Gets the votes for person.

Parameters:
person - the person
Returns:
the votes for person


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.