org.chorem.pollen.business.persistence
Class PollAccountDAOImpl<E extends PollAccount>

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

public class PollAccountDAOImpl<E extends PollAccount>
extends PollAccountDAOAbstract<E>


Field Summary
 
Fields inherited from class org.nuiton.topia.persistence.TopiaDAOImpl
context, entityClass
 
Constructor Summary
PollAccountDAOImpl()
           
 
Method Summary
 boolean existsByPollVoteAccountId(String pollId, String accountId)
           
 PollAccount findByPollVoteUser(Poll poll, UserAccount user)
           
 List<E> getFavoriteListUsers(PersonList favoriteList, org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
           
 E getRestrictedPollAccount(String pollId, String accountId)
           
 boolean isPollAccountExists(PersonList personListToUpdate, PollAccount pollAccount)
           
 
Methods inherited from class org.chorem.pollen.business.persistence.PollAccountDAOAbstract
delete, findAllByAccountId, findAllByEmail, findAllByPersonList, findAllByUserAccount, findAllByVotingId, findAllContainsComment, findAllContainsPollsCreated, findAllContainsVote, findAllUsages, findByAccountId, findByEmail, findByPersonList, findByUserAccount, findByVotingId, findContainsComment, findContainsPollsCreated, findContainsVote, 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

PollAccountDAOImpl

public PollAccountDAOImpl()
Method Detail

getRestrictedPollAccount

public E getRestrictedPollAccount(String pollId,
                                  String accountId)
                                               throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

getFavoriteListUsers

public List<E> getFavoriteListUsers(PersonList favoriteList,
                                    org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
                                                 throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

isPollAccountExists

public boolean isPollAccountExists(PersonList personListToUpdate,
                                   PollAccount pollAccount)
                            throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

findByPollVoteUser

public PollAccount findByPollVoteUser(Poll poll,
                                      UserAccount user)
                               throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException

existsByPollVoteAccountId

public boolean existsByPollVoteAccountId(String pollId,
                                         String accountId)
                                  throws org.nuiton.topia.TopiaException
Throws:
org.nuiton.topia.TopiaException


Copyright © 2009-2012 CodeLutin. All Rights Reserved.