public class PollImpl extends PollAbstract
anonymousVoteAllowed, beginChoiceDate, beginDate, choice, choiceAddAllowed, choiceType, closed, comment, continuousResults, creator, description, endChoiceDate, endDate, maxChoiceNb, pollCommentVisibility, pollId, pollType, pollVoteVisibility, preventRule, publicResults, result, resultUptodate, title, vote, voteCountingType, votingListreadListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesPROPERTY_ANONYMOUS_VOTE_ALLOWED, PROPERTY_BEGIN_CHOICE_DATE, PROPERTY_BEGIN_DATE, PROPERTY_CHOICE, PROPERTY_CHOICE_ADD_ALLOWED, PROPERTY_CHOICE_TYPE, PROPERTY_CLOSED, PROPERTY_COMMENT, PROPERTY_CONTINUOUS_RESULTS, PROPERTY_CREATOR, PROPERTY_DESCRIPTION, PROPERTY_END_CHOICE_DATE, PROPERTY_END_DATE, PROPERTY_MAX_CHOICE_NB, PROPERTY_POLL_COMMENT_VISIBILITY, PROPERTY_POLL_ID, PROPERTY_POLL_TYPE, PROPERTY_POLL_VOTE_VISIBILITY, PROPERTY_PREVENT_RULE, PROPERTY_PUBLIC_RESULTS, PROPERTY_RESULT, PROPERTY_RESULT_UPTODATE, PROPERTY_TITLE, PROPERTY_VOTE, PROPERTY_VOTE_COUNTING_TYPE, PROPERTY_VOTING_LIST| Constructor and Description |
|---|
PollImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminId() |
List<Choice> |
getChoice() |
List<Comment> |
getComment() |
PersonToList |
getPersonToListByVote(Vote vote) |
List<PollAccount> |
getPollAccounts(boolean withNoVote) |
List<PreventRule> |
getPreventRule() |
PreventRule |
getPreventRuleByScope(String scope) |
List<Result> |
getResult() |
List<Vote> |
getVote() |
Vote |
getVoteByPollAccount(PollAccount account) |
String |
getVoteId(PollAccount account) |
List<VotingList> |
getVotingList() |
boolean |
isAddChoiceFinished(Date currentDate) |
boolean |
isAddChoiceRunning(Date currentDate) |
boolean |
isAddChoiceStarted(Date currentDate) |
boolean |
isAnonymous() |
boolean |
isFinished(Date currentDate) |
boolean |
isPollFree() |
boolean |
isRunning(Date currentDate) |
boolean |
isStarted(Date currentDate) |
accept, addAllChoice, addAllComment, addAllPreventRule, addAllResult, addAllVote, addAllVotingList, addChoice, addComment, addPreventRule, addResult, addVote, addVotingList, clearChoice, clearComment, clearPreventRule, clearResult, clearVote, clearVotingList, getAggregate, getBeginChoiceDate, getBeginDate, getChoiceByTopiaId, getChoiceType, getCommentByTopiaId, getComposite, getCreator, getDescription, getEndChoiceDate, getEndDate, getMaxChoiceNb, getPollCommentVisibility, getPollId, getPollType, getPollVoteVisibility, getPreventRuleByTopiaId, getResultByTopiaId, getTitle, getVoteByTopiaId, getVoteCountingType, getVotingListByTopiaId, isAnonymousVoteAllowed, isChoiceAddAllowed, isChoiceEmpty, isClosed, isCommentEmpty, isContinuousResults, isPreventRuleEmpty, isPublicResults, isResultEmpty, isResultUptodate, isVoteEmpty, isVotingListEmpty, removeChoice, removeComment, removePreventRule, removeResult, removeVote, removeVotingList, setAnonymousVoteAllowed, setBeginChoiceDate, setBeginDate, setChoice, setChoiceAddAllowed, setChoiceType, setClosed, setComment, setContinuousResults, setCreator, setDescription, setEndChoiceDate, setEndDate, setMaxChoiceNb, setPollCommentVisibility, setPollId, setPollType, setPollVoteVisibility, setPreventRule, setPublicResults, setResult, setResultUptodate, setTitle, setVote, setVoteCountingType, setVotingList, sizeChoice, sizeComment, sizePreventRule, sizeResult, sizeVote, sizeVotingListaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionpublic boolean isPollFree()
public boolean isAnonymous()
public List<Vote> getVote()
getVote in interface PollgetVote in class PollAbstractpublic List<Choice> getChoice()
getChoice in interface PollgetChoice in class PollAbstractpublic List<Result> getResult()
getResult in interface PollgetResult in class PollAbstractpublic List<Comment> getComment()
getComment in interface PollgetComment in class PollAbstractpublic List<PreventRule> getPreventRule()
getPreventRule in interface PollgetPreventRule in class PollAbstractpublic List<VotingList> getVotingList()
getVotingList in interface PollgetVotingList in class PollAbstractpublic Vote getVoteByPollAccount(PollAccount account)
public String getAdminId()
public String getVoteId(PollAccount account)
public boolean isStarted(Date currentDate)
public boolean isRunning(Date currentDate)
public boolean isFinished(Date currentDate)
public boolean isAddChoiceStarted(Date currentDate)
public boolean isAddChoiceRunning(Date currentDate)
public boolean isAddChoiceFinished(Date currentDate)
public PreventRule getPreventRuleByScope(String scope)
public PersonToList getPersonToListByVote(Vote vote)
public List<PollAccount> getPollAccounts(boolean withNoVote)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.