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> getVotesByPoll(Poll poll, org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
           
 boolean hasAlreadyVoted(String votingId, Poll poll)
           
 
Methods inherited from class org.chorem.pollen.business.persistence.VoteDAOAbstract
delete, findAllByAnonymous, findAllByComment, findAllByPoll, findAllByPollAccount, findAllByVotingList, findAllByWeight, findAllUsages, findByAnonymous, findByComment, findByPoll, 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

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(String votingId,
                               Poll poll)
                        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.