public abstract class PollAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Poll
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
anonymousVoteAllowed
Nom de l'attribut en BD : anonymousVoteAllowed
|
protected Date |
beginChoiceDate
Nom de l'attribut en BD : beginChoiceDate
|
protected Date |
beginDate
Nom de l'attribut en BD : beginDate
|
protected List<Choice> |
choice
Nom de l'attribut en BD : choice
|
protected boolean |
choiceAddAllowed
Nom de l'attribut en BD : choiceAddAllowed
|
protected ChoiceType |
choiceType
Nom de l'attribut en BD : choiceType
|
protected boolean |
closed
Nom de l'attribut en BD : closed
|
protected List<Comment> |
comment
Nom de l'attribut en BD : comment
|
protected boolean |
continuousResults
Nom de l'attribut en BD : continuousResults
|
protected PollAccount |
creator
Nom de l'attribut en BD : creator
|
protected String |
description
Nom de l'attribut en BD : description
|
protected Date |
endChoiceDate
Nom de l'attribut en BD : endChoiceDate
|
protected Date |
endDate
Nom de l'attribut en BD : endDate
|
protected int |
maxChoiceNb
Nom de l'attribut en BD : maxChoiceNb
|
protected PollCommentVisibility |
pollCommentVisibility
Nom de l'attribut en BD : pollCommentVisibility
|
protected String |
pollId
Nom de l'attribut en BD : pollId
|
protected PollType |
pollType
Nom de l'attribut en BD : pollType
|
protected PollVoteVisibility |
pollVoteVisibility
Nom de l'attribut en BD : pollVoteVisibility
|
protected List<PreventRule> |
preventRule
Nom de l'attribut en BD : preventRule
|
protected boolean |
publicResults
Nom de l'attribut en BD : publicResults
|
protected String |
title
Nom de l'attribut en BD : title
|
protected List<Vote> |
vote
Nom de l'attribut en BD : vote
|
protected int |
voteCountingType
Nom de l'attribut en BD : voteCountingType
|
protected List<VotingList> |
votingList
Nom de l'attribut en BD : votingList
|
readListeners, 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_TITLE, PROPERTY_VOTE, PROPERTY_VOTE_COUNTING_TYPE, PROPERTY_VOTING_LIST| Constructor and Description |
|---|
PollAbstract() |
addPropertyChangeListener, 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, waitgetAdminId, getPersonToListByVote, getPollAccounts, getPreventRuleByScope, getVoteByPollAccount, getVoteId, isAddChoiceFinished, isAddChoiceRunning, isAddChoiceStarted, isAnonymous, isFinished, isPollFree, isPollGroup, isPollRestricted, isRunning, isStartedaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionprotected String pollId
protected String title
protected String description
protected Date beginChoiceDate
protected Date beginDate
protected Date endDate
protected int maxChoiceNb
protected boolean closed
protected boolean choiceAddAllowed
protected boolean anonymousVoteAllowed
protected boolean publicResults
protected boolean continuousResults
protected Date endChoiceDate
protected int voteCountingType
protected PollAccount creator
protected List<PreventRule> preventRule
protected List<VotingList> votingList
protected PollType pollType
protected ChoiceType choiceType
protected PollVoteVisibility pollVoteVisibility
protected PollCommentVisibility pollCommentVisibility
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityorg.nuiton.topia.TopiaExceptionpublic void setDescription(String description)
setDescription in interface Pollpublic String getDescription()
getDescription in interface Pollpublic void setBeginChoiceDate(Date beginChoiceDate)
setBeginChoiceDate in interface Pollpublic Date getBeginChoiceDate()
getBeginChoiceDate in interface Pollpublic void setBeginDate(Date beginDate)
setBeginDate in interface Pollpublic Date getBeginDate()
getBeginDate in interface Pollpublic void setEndDate(Date endDate)
setEndDate in interface Pollpublic Date getEndDate()
getEndDate in interface Pollpublic void setMaxChoiceNb(int maxChoiceNb)
setMaxChoiceNb in interface Pollpublic int getMaxChoiceNb()
getMaxChoiceNb in interface Pollpublic void setChoiceAddAllowed(boolean choiceAddAllowed)
setChoiceAddAllowed in interface Pollpublic boolean isChoiceAddAllowed()
isChoiceAddAllowed in interface Pollpublic void setAnonymousVoteAllowed(boolean anonymousVoteAllowed)
setAnonymousVoteAllowed in interface Pollpublic boolean isAnonymousVoteAllowed()
isAnonymousVoteAllowed in interface Pollpublic void setPublicResults(boolean publicResults)
setPublicResults in interface Pollpublic boolean isPublicResults()
isPublicResults in interface Pollpublic void setContinuousResults(boolean continuousResults)
setContinuousResults in interface Pollpublic boolean isContinuousResults()
isContinuousResults in interface Pollpublic void setEndChoiceDate(Date endChoiceDate)
setEndChoiceDate in interface Pollpublic Date getEndChoiceDate()
getEndChoiceDate in interface Pollpublic void setVoteCountingType(int voteCountingType)
setVoteCountingType in interface Pollpublic int getVoteCountingType()
getVoteCountingType in interface Pollpublic void addAllVote(List<Vote> vote)
addAllVote in interface Pollpublic void removeVote(Vote vote)
removeVote in interface Pollpublic Vote getVoteByTopiaId(String topiaId)
getVoteByTopiaId in interface Pollpublic boolean isVoteEmpty()
isVoteEmpty in interface Pollpublic void addAllChoice(List<Choice> choice)
addAllChoice in interface Pollpublic void removeChoice(Choice choice)
removeChoice in interface Pollpublic void clearChoice()
clearChoice in interface Pollpublic Choice getChoiceByTopiaId(String topiaId)
getChoiceByTopiaId in interface Pollpublic int sizeChoice()
sizeChoice in interface Pollpublic boolean isChoiceEmpty()
isChoiceEmpty in interface Pollpublic void setCreator(PollAccount creator)
setCreator in interface Pollpublic PollAccount getCreator()
getCreator in interface Pollpublic void addComment(Comment comment)
addComment in interface Pollpublic void addAllComment(List<Comment> comment)
addAllComment in interface Pollpublic void setComment(List<Comment> comment)
setComment in interface Pollpublic void removeComment(Comment comment)
removeComment in interface Pollpublic void clearComment()
clearComment in interface Pollpublic List<Comment> getComment()
getComment in interface Pollpublic Comment getCommentByTopiaId(String topiaId)
getCommentByTopiaId in interface Pollpublic int sizeComment()
sizeComment in interface Pollpublic boolean isCommentEmpty()
isCommentEmpty in interface Pollpublic void addPreventRule(PreventRule preventRule)
addPreventRule in interface Pollpublic void addAllPreventRule(List<PreventRule> preventRule)
addAllPreventRule in interface Pollpublic void setPreventRule(List<PreventRule> preventRule)
setPreventRule in interface Pollpublic void removePreventRule(PreventRule preventRule)
removePreventRule in interface Pollpublic void clearPreventRule()
clearPreventRule in interface Pollpublic List<PreventRule> getPreventRule()
getPreventRule in interface Pollpublic PreventRule getPreventRuleByTopiaId(String topiaId)
getPreventRuleByTopiaId in interface Pollpublic int sizePreventRule()
sizePreventRule in interface Pollpublic boolean isPreventRuleEmpty()
isPreventRuleEmpty in interface Pollpublic void addVotingList(VotingList votingList)
addVotingList in interface Pollpublic void addAllVotingList(List<VotingList> votingList)
addAllVotingList in interface Pollpublic void setVotingList(List<VotingList> votingList)
setVotingList in interface Pollpublic void removeVotingList(VotingList votingList)
removeVotingList in interface Pollpublic void clearVotingList()
clearVotingList in interface Pollpublic List<VotingList> getVotingList()
getVotingList in interface Pollpublic VotingList getVotingListByTopiaId(String topiaId)
getVotingListByTopiaId in interface Pollpublic int sizeVotingList()
sizeVotingList in interface Pollpublic boolean isVotingListEmpty()
isVotingListEmpty in interface Pollpublic void setPollType(PollType pollType)
setPollType in interface Pollpublic PollType getPollType()
getPollType in interface Pollpublic void setChoiceType(ChoiceType choiceType)
setChoiceType in interface Pollpublic ChoiceType getChoiceType()
getChoiceType in interface Pollpublic void setPollVoteVisibility(PollVoteVisibility pollVoteVisibility)
setPollVoteVisibility in interface Pollpublic PollVoteVisibility getPollVoteVisibility()
getPollVoteVisibility in interface Pollpublic void setPollCommentVisibility(PollCommentVisibility pollCommentVisibility)
setPollCommentVisibility in interface Pollpublic PollCommentVisibility getPollCommentVisibility()
getPollCommentVisibility in interface Pollpublic List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionCopyright © 2009–2013 CodeLutin. All rights reserved.