org.chorem.pollen.business.persistence
Interface Poll
- All Superinterfaces:
- Serializable, org.nuiton.topia.persistence.TopiaEntity
- All Known Implementing Classes:
- PollAbstract, PollImpl
public interface Poll
- extends org.nuiton.topia.persistence.TopiaEntity
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
PROPERTY_POLL_ID
static final String PROPERTY_POLL_ID
- See Also:
- Constant Field Values
PROPERTY_TITLE
static final String PROPERTY_TITLE
- See Also:
- Constant Field Values
PROPERTY_DESCRIPTION
static final String PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
PROPERTY_BEGIN_CHOICE_DATE
static final String PROPERTY_BEGIN_CHOICE_DATE
- See Also:
- Constant Field Values
PROPERTY_BEGIN_DATE
static final String PROPERTY_BEGIN_DATE
- See Also:
- Constant Field Values
PROPERTY_END_DATE
static final String PROPERTY_END_DATE
- See Also:
- Constant Field Values
PROPERTY_MAX_CHOICE_NB
static final String PROPERTY_MAX_CHOICE_NB
- See Also:
- Constant Field Values
PROPERTY_CLOSED
static final String PROPERTY_CLOSED
- See Also:
- Constant Field Values
PROPERTY_CHOICE_ADD_ALLOWED
static final String PROPERTY_CHOICE_ADD_ALLOWED
- See Also:
- Constant Field Values
PROPERTY_ANONYMOUS_VOTE_ALLOWED
static final String PROPERTY_ANONYMOUS_VOTE_ALLOWED
- See Also:
- Constant Field Values
PROPERTY_ANONYMOUS
static final String PROPERTY_ANONYMOUS
- See Also:
- Constant Field Values
PROPERTY_PUBLIC_RESULTS
static final String PROPERTY_PUBLIC_RESULTS
- See Also:
- Constant Field Values
PROPERTY_CONTINUOUS_RESULTS
static final String PROPERTY_CONTINUOUS_RESULTS
- See Also:
- Constant Field Values
PROPERTY_END_CHOICE_DATE
static final String PROPERTY_END_CHOICE_DATE
- See Also:
- Constant Field Values
PROPERTY_VOTE
static final String PROPERTY_VOTE
- See Also:
- Constant Field Values
PROPERTY_CHOICE
static final String PROPERTY_CHOICE
- See Also:
- Constant Field Values
PROPERTY_RESULT
static final String PROPERTY_RESULT
- See Also:
- Constant Field Values
PROPERTY_CREATOR
static final String PROPERTY_CREATOR
- See Also:
- Constant Field Values
PROPERTY_COMMENT
static final String PROPERTY_COMMENT
- See Also:
- Constant Field Values
PROPERTY_PREVENT_RULE
static final String PROPERTY_PREVENT_RULE
- See Also:
- Constant Field Values
PROPERTY_VOTING_LIST
static final String PROPERTY_VOTING_LIST
- See Also:
- Constant Field Values
PROPERTY_POLL_TYPE
static final String PROPERTY_POLL_TYPE
- See Also:
- Constant Field Values
PROPERTY_CHOICE_TYPE
static final String PROPERTY_CHOICE_TYPE
- See Also:
- Constant Field Values
PROPERTY_VOTE_COUNTING_TYPE
static final String PROPERTY_VOTE_COUNTING_TYPE
- See Also:
- Constant Field Values
setPollId
void setPollId(String pollId)
getPollId
String getPollId()
setTitle
void setTitle(String title)
getTitle
String getTitle()
setDescription
void setDescription(String description)
getDescription
String getDescription()
setBeginChoiceDate
void setBeginChoiceDate(Date beginChoiceDate)
getBeginChoiceDate
Date getBeginChoiceDate()
setBeginDate
void setBeginDate(Date beginDate)
getBeginDate
Date getBeginDate()
setEndDate
void setEndDate(Date endDate)
getEndDate
Date getEndDate()
setMaxChoiceNb
void setMaxChoiceNb(int maxChoiceNb)
getMaxChoiceNb
int getMaxChoiceNb()
setClosed
void setClosed(boolean closed)
isClosed
boolean isClosed()
setChoiceAddAllowed
void setChoiceAddAllowed(boolean choiceAddAllowed)
isChoiceAddAllowed
boolean isChoiceAddAllowed()
setAnonymousVoteAllowed
void setAnonymousVoteAllowed(boolean anonymousVoteAllowed)
isAnonymousVoteAllowed
boolean isAnonymousVoteAllowed()
setAnonymous
void setAnonymous(boolean anonymous)
isAnonymous
boolean isAnonymous()
setPublicResults
void setPublicResults(boolean publicResults)
isPublicResults
boolean isPublicResults()
setContinuousResults
void setContinuousResults(boolean continuousResults)
isContinuousResults
boolean isContinuousResults()
setEndChoiceDate
void setEndChoiceDate(Date endChoiceDate)
getEndChoiceDate
Date getEndChoiceDate()
addVote
void addVote(Vote vote)
addAllVote
void addAllVote(List<Vote> vote)
setVote
void setVote(List<Vote> vote)
removeVote
void removeVote(Vote vote)
clearVote
void clearVote()
getVote
List<Vote> getVote()
getVoteByTopiaId
Vote getVoteByTopiaId(String topiaId)
sizeVote
int sizeVote()
isVoteEmpty
boolean isVoteEmpty()
addChoice
void addChoice(Choice choice)
addAllChoice
void addAllChoice(List<Choice> choice)
setChoice
void setChoice(List<Choice> choice)
removeChoice
void removeChoice(Choice choice)
clearChoice
void clearChoice()
getChoice
List<Choice> getChoice()
getChoiceByTopiaId
Choice getChoiceByTopiaId(String topiaId)
sizeChoice
int sizeChoice()
isChoiceEmpty
boolean isChoiceEmpty()
addResult
void addResult(Result result)
addAllResult
void addAllResult(List<Result> result)
setResult
void setResult(List<Result> result)
removeResult
void removeResult(Result result)
clearResult
void clearResult()
getResult
List<Result> getResult()
getResultByTopiaId
Result getResultByTopiaId(String topiaId)
sizeResult
int sizeResult()
isResultEmpty
boolean isResultEmpty()
setCreator
void setCreator(PollAccount creator)
getCreator
PollAccount getCreator()
addComment
void addComment(Comment comment)
addAllComment
void addAllComment(List<Comment> comment)
setComment
void setComment(List<Comment> comment)
removeComment
void removeComment(Comment comment)
clearComment
void clearComment()
getComment
List<Comment> getComment()
getCommentByTopiaId
Comment getCommentByTopiaId(String topiaId)
sizeComment
int sizeComment()
isCommentEmpty
boolean isCommentEmpty()
addPreventRule
void addPreventRule(PreventRule preventRule)
addAllPreventRule
void addAllPreventRule(List<PreventRule> preventRule)
setPreventRule
void setPreventRule(List<PreventRule> preventRule)
removePreventRule
void removePreventRule(PreventRule preventRule)
clearPreventRule
void clearPreventRule()
getPreventRule
List<PreventRule> getPreventRule()
getPreventRuleByTopiaId
PreventRule getPreventRuleByTopiaId(String topiaId)
sizePreventRule
int sizePreventRule()
isPreventRuleEmpty
boolean isPreventRuleEmpty()
addVotingList
void addVotingList(VotingList votingList)
addAllVotingList
void addAllVotingList(List<VotingList> votingList)
setVotingList
void setVotingList(List<VotingList> votingList)
removeVotingList
void removeVotingList(VotingList votingList)
clearVotingList
void clearVotingList()
getVotingList
List<VotingList> getVotingList()
getVotingListByTopiaId
VotingList getVotingListByTopiaId(String topiaId)
sizeVotingList
int sizeVotingList()
isVotingListEmpty
boolean isVotingListEmpty()
setPollType
void setPollType(org.chorem.pollen.common.PollType pollType)
getPollType
org.chorem.pollen.common.PollType getPollType()
setChoiceType
void setChoiceType(org.chorem.pollen.common.ChoiceType choiceType)
getChoiceType
org.chorem.pollen.common.ChoiceType getChoiceType()
setVoteCountingType
void setVoteCountingType(org.chorem.pollen.common.VoteCountingType voteCountingType)
getVoteCountingType
org.chorem.pollen.common.VoteCountingType getVoteCountingType()
getVoteByPollAccount
Vote getVoteByPollAccount(PollAccount account)
getAdminId
String getAdminId()
getVoteId
String getVoteId(PollAccount account)
isStarted
boolean isStarted(Date currentDate)
isRunning
boolean isRunning(Date currentDate)
isFinished
boolean isFinished(Date currentDate)
isAddChoiceStarted
boolean isAddChoiceStarted(Date currentDate)
isAddChoiceRunning
boolean isAddChoiceRunning(Date currentDate)
isAddChoiceFinished
boolean isAddChoiceFinished(Date currentDate)
getPollAccounts
List<PollAccount> getPollAccounts(boolean withNoVote)
getPersonToListByVote
PersonToList getPersonToListByVote(Vote vote)
getPreventRuleByScope
PreventRule getPreventRuleByScope(String scope)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.