org.chorem.pollen.business.persistence
Class VoteDAOImpl<E extends Vote>

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaDAOImpl<E>
      extended by org.chorem.pollen.business.persistence.VoteDAOAbstract<E>
          extended by org.chorem.pollen.business.persistence.VoteDAOImpl<E>
All Implemented Interfaces:
org.nuiton.topia.persistence.TopiaDAO<E>
Direct Known Subclasses:
VoteDAO

public class VoteDAOImpl<E extends Vote>
extends VoteDAOAbstract<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
VoteDAOImpl()
           
 
Method Summary
 Vote findByAccountId(String accountId)
           
 List<E> getAllVotes(Poll poll)
           
 List<E> getVotesByPoll(Poll poll, org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
           
 boolean hasAlreadyVoted(Poll poll, String votingId)
           
 
Methods inherited from class org.chorem.pollen.business.persistence.VoteDAOAbstract
delete, findAllByAnonymous, findAllByComment, findAllByPollAccount, findAllByVotingList, findAllByWeight, findAllUsages, findByAnonymous, findByComment, findByPollAccount, findByVotingList, findByWeight, findUsages, getEntityClass, getTopiaEntityEnum
 
Methods inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
addTopiaEntityListener, addTopiaEntityVetoable, count, countByQuery, create, create, create, createQuery, createQuery, existByProperties, existByQuery, existByTopiaId, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllContains, findAllIds, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByTopiaId, findContains, getContext, getId, getId, getRequestPermission, init, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteDAOImpl

public VoteDAOImpl()
Method Detail

getAllVotes

public List<E> getAllVotes(Poll poll)
                                 throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

getVotesByPoll

public List<E> getVotesByPoll(Poll poll,
                              org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
                                    throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

hasAlreadyVoted

public boolean hasAlreadyVoted(Poll poll,
                               String votingId)
                        throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findByAccountId

public Vote findByAccountId(String accountId)
                     throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException


Copyright © 2009-2012 CodeLutin. All Rights Reserved.