public interface Poll
extends org.nuiton.topia.persistence.TopiaEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_ANONYMOUS_VOTE_ALLOWED |
static String |
PROPERTY_BEGIN_CHOICE_DATE |
static String |
PROPERTY_BEGIN_DATE |
static String |
PROPERTY_CHOICE |
static String |
PROPERTY_CHOICE_ADD_ALLOWED |
static String |
PROPERTY_CHOICE_TYPE |
static String |
PROPERTY_CLOSED |
static String |
PROPERTY_COMMENT |
static String |
PROPERTY_CONTINUOUS_RESULTS |
static String |
PROPERTY_CREATOR |
static String |
PROPERTY_DESCRIPTION |
static String |
PROPERTY_END_CHOICE_DATE |
static String |
PROPERTY_END_DATE |
static String |
PROPERTY_MAX_CHOICE_NB |
static String |
PROPERTY_POLL_COMMENT_VISIBILITY |
static String |
PROPERTY_POLL_ID |
static String |
PROPERTY_POLL_TYPE |
static String |
PROPERTY_POLL_VOTE_VISIBILITY |
static String |
PROPERTY_PREVENT_RULE |
static String |
PROPERTY_PUBLIC_RESULTS |
static String |
PROPERTY_RESULT |
static String |
PROPERTY_RESULT_UPTODATE |
static String |
PROPERTY_TITLE |
static String |
PROPERTY_VOTE |
static String |
PROPERTY_VOTE_COUNTING_TYPE |
static String |
PROPERTY_VOTING_LIST |
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionstatic final String PROPERTY_POLL_ID
static final String PROPERTY_TITLE
static final String PROPERTY_DESCRIPTION
static final String PROPERTY_BEGIN_CHOICE_DATE
static final String PROPERTY_BEGIN_DATE
static final String PROPERTY_END_DATE
static final String PROPERTY_MAX_CHOICE_NB
static final String PROPERTY_CLOSED
static final String PROPERTY_CHOICE_ADD_ALLOWED
static final String PROPERTY_ANONYMOUS_VOTE_ALLOWED
static final String PROPERTY_PUBLIC_RESULTS
static final String PROPERTY_CONTINUOUS_RESULTS
static final String PROPERTY_END_CHOICE_DATE
static final String PROPERTY_RESULT_UPTODATE
static final String PROPERTY_VOTE_COUNTING_TYPE
static final String PROPERTY_VOTE
static final String PROPERTY_CHOICE
static final String PROPERTY_RESULT
static final String PROPERTY_CREATOR
static final String PROPERTY_COMMENT
static final String PROPERTY_PREVENT_RULE
static final String PROPERTY_VOTING_LIST
static final String PROPERTY_POLL_TYPE
static final String PROPERTY_CHOICE_TYPE
static final String PROPERTY_POLL_VOTE_VISIBILITY
static final String PROPERTY_POLL_COMMENT_VISIBILITY
void setPollId(String pollId)
String getPollId()
void setTitle(String title)
String getTitle()
void setDescription(String description)
String getDescription()
void setBeginChoiceDate(Date beginChoiceDate)
Date getBeginChoiceDate()
void setBeginDate(Date beginDate)
Date getBeginDate()
void setEndDate(Date endDate)
Date getEndDate()
void setMaxChoiceNb(int maxChoiceNb)
int getMaxChoiceNb()
void setClosed(boolean closed)
boolean isClosed()
void setChoiceAddAllowed(boolean choiceAddAllowed)
boolean isChoiceAddAllowed()
void setAnonymousVoteAllowed(boolean anonymousVoteAllowed)
boolean isAnonymousVoteAllowed()
void setPublicResults(boolean publicResults)
boolean isPublicResults()
void setContinuousResults(boolean continuousResults)
boolean isContinuousResults()
void setEndChoiceDate(Date endChoiceDate)
Date getEndChoiceDate()
void setResultUptodate(boolean resultUptodate)
boolean isResultUptodate()
void setVoteCountingType(int voteCountingType)
int getVoteCountingType()
void addVote(Vote vote)
void removeVote(Vote vote)
void clearVote()
int sizeVote()
boolean isVoteEmpty()
void addChoice(Choice choice)
void removeChoice(Choice choice)
void clearChoice()
int sizeChoice()
boolean isChoiceEmpty()
void addResult(Result result)
void removeResult(Result result)
void clearResult()
int sizeResult()
boolean isResultEmpty()
void setCreator(PollAccount creator)
PollAccount getCreator()
void addComment(Comment comment)
void removeComment(Comment comment)
void clearComment()
int sizeComment()
boolean isCommentEmpty()
void addPreventRule(PreventRule preventRule)
void addAllPreventRule(List<PreventRule> preventRule)
void setPreventRule(List<PreventRule> preventRule)
void removePreventRule(PreventRule preventRule)
void clearPreventRule()
List<PreventRule> getPreventRule()
PreventRule getPreventRuleByTopiaId(String topiaId)
int sizePreventRule()
boolean isPreventRuleEmpty()
void addVotingList(VotingList votingList)
void addAllVotingList(List<VotingList> votingList)
void setVotingList(List<VotingList> votingList)
void removeVotingList(VotingList votingList)
void clearVotingList()
List<VotingList> getVotingList()
VotingList getVotingListByTopiaId(String topiaId)
int sizeVotingList()
boolean isVotingListEmpty()
void setPollType(PollType pollType)
PollType getPollType()
void setChoiceType(ChoiceType choiceType)
ChoiceType getChoiceType()
void setPollVoteVisibility(PollVoteVisibility pollVoteVisibility)
PollVoteVisibility getPollVoteVisibility()
void setPollCommentVisibility(PollCommentVisibility pollCommentVisibility)
PollCommentVisibility getPollCommentVisibility()
Vote getVoteByPollAccount(PollAccount account)
String getAdminId()
String getVoteId(PollAccount account)
boolean isStarted(Date currentDate)
boolean isRunning(Date currentDate)
boolean isFinished(Date currentDate)
boolean isAddChoiceStarted(Date currentDate)
boolean isAddChoiceRunning(Date currentDate)
boolean isAddChoiceFinished(Date currentDate)
List<PollAccount> getPollAccounts(boolean withNoVote)
PersonToList getPersonToListByVote(Vote vote)
PreventRule getPreventRuleByScope(String scope)
boolean isAnonymous()
boolean isPollFree()
Copyright © 2009-2012 CodeLutin. All Rights Reserved.