public class PollDAOImpl<E extends Poll> extends PollDAOAbstract<E>
| Constructor and Description |
|---|
PollDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> |
findAllWithPollAccounts(String hql,
org.nuiton.topia.persistence.pager.TopiaPagerBean pager,
Object... params) |
List<E> |
findCreatedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager,
UserAccount user) |
List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> |
findInvitedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager,
UserAccount user) |
List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> |
findParticipatedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager,
UserAccount user) |
List<E> |
findRunningPollsWithEndTime(Date currentTime) |
static <E> List<E> |
getPageFromList(List<E> elements,
org.nuiton.topia.persistence.pager.TopiaPagerBean pager) |
List<E> |
getPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager) |
create, createByNaturalId, createByNotNull, existByNaturalId, findAllByAnonymousVoteAllowed, findAllByBeginChoiceDate, findAllByBeginDate, findAllByChoiceAddAllowed, findAllByChoiceType, findAllByClosed, findAllByContinuousResults, findAllByCreator, findAllByDescription, findAllByEndChoiceDate, findAllByEndDate, findAllByMaxChoiceNb, findAllByPollCommentVisibility, findAllByPollId, findAllByPollType, findAllByPollVoteVisibility, findAllByPublicResults, findAllByTitle, findAllByVoteCountingType, findAllContainsChoice, findAllContainsComment, findAllContainsPreventRule, findAllContainsVote, findAllContainsVotingList, findAllUsages, findByAnonymousVoteAllowed, findByBeginChoiceDate, findByBeginDate, findByChoiceAddAllowed, findByChoiceType, findByClosed, findByContinuousResults, findByCreator, findByDescription, findByEndChoiceDate, findByEndDate, findByMaxChoiceNb, findByNaturalId, findByPollCommentVisibility, findByPollId, findByPollType, findByPollVoteVisibility, findByPublicResults, findByTitle, findByVoteCountingType, findContainsChoice, findContainsComment, findContainsPreventRule, findContainsVote, findContainsVotingList, findUsages, getEntityClass, getTopiaEntityEnumaddTopiaEntityListener, addTopiaEntityVetoable, computeAndAddRecordsToPager, count, countByQuery, countByQuery, create, create, create, createQuery, createQuery, createSimpleQuery, delete, deleteAll, existByProperties, existByQuery, existByTopiaId, existsByQuery, findAll, findAllByProperties, findAllByProperties, findAllByProperty, findAllByQuery, findAllByQuery, findAllByQuery, findAllByQueryAndPager, findAllByQueryAndPager, findAllByQueryWithBound, findAllByQueryWithBound, findAllContains, findAllIds, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllLazyByQuery, findAllMappedByQuery, findAllMappedByQuery, findAllWithOrder, findByPrimaryKey, findByPrimaryKey, findByProperties, findByProperties, findByProperty, findByQuery, findByQuery, findByQuery, findByTopiaId, findContains, getBatchSize, getContext, getId, getId, getRequestPermission, init, iterator, newInstance, removeTopiaEntityListener, removeTopiaEntityVetoable, setBatchSize, updatepublic List<E> getPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic List<E> findCreatedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager, UserAccount user) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> findInvitedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager, UserAccount user) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> findParticipatedPolls(org.nuiton.topia.persistence.pager.TopiaPagerBean pager, UserAccount user) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionpublic List<E> findRunningPollsWithEndTime(Date currentTime) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionprotected List<org.apache.commons.lang3.tuple.Pair<Poll,PollAccount>> findAllWithPollAccounts(String hql, org.nuiton.topia.persistence.pager.TopiaPagerBean pager, Object... params) throws org.nuiton.topia.TopiaException
org.nuiton.topia.TopiaExceptionCopyright © 2009-2012 CodeLutin. All Rights Reserved.