|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.pollen.business.persistence.PollAbstract
public abstract class PollAbstract
Implantation POJO pour l'entité Poll.
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.chorem.pollen.business.persistence.Poll |
|---|
ANONYMOUS, ANONYMOUS_VOTE_ALLOWED, BEGIN_CHOICE_DATE, BEGIN_DATE, CHOICE, CHOICE_ADD_ALLOWED, CHOICE_TYPE, CLOSED, COMMENT, CONTINUOUS_RESULTS, CREATOR, DESCRIPTION, END_CHOICE_DATE, END_DATE, MAX_CHOICE_NB, POLL_ID, POLL_TYPE, PREVENT_RULE, PUBLIC_RESULTS, RESULT, TITLE, VOTE, VOTE_COUNTING, VOTING_LIST |
| Constructor Summary | |
|---|---|
PollAbstract()
Constructeur de PollAbstract par défaut. |
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
public String pollId
public String title
public String description
public Date beginChoiceDate
public Date beginDate
public Date endDate
public Integer maxChoiceNb
public Boolean closed
public Boolean choiceAddAllowed
public Boolean anonymousVoteAllowed
public Boolean anonymous
public Boolean publicResults
public Boolean continuousResults
public Date endChoiceDate
public List<Vote> vote
public List<Choice> choice
public List<Result> result
public PollAccount creator
public List<Comment> comment
public List<PreventRule> preventRule
public List<VotingList> votingList
public PollType pollType
public ChoiceType choiceType
public VoteCounting voteCounting
| Constructor Detail |
|---|
public PollAbstract()
| Method Detail |
|---|
public void update()
throws org.nuiton.topia.TopiaException
update in interface org.nuiton.topia.persistence.TopiaEntityupdate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void delete()
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaEntitydelete in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityvisitor - le visiteur de l'entite.
org.nuiton.topia.TopiaException - if any pb while visit
public 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.TopiaException
public 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.TopiaExceptionpublic void setPollId(String value)
setPollId in interface Pollvalue - La valeur de l'attribut pollId à positionner.public String getPollId()
getPollId in interface Pollpublic void setTitle(String value)
setTitle in interface Pollvalue - La valeur de l'attribut title à positionner.public String getTitle()
getTitle in interface Pollpublic void setDescription(String value)
setDescription in interface Pollvalue - La valeur de l'attribut description à positionner.public String getDescription()
getDescription in interface Pollpublic void setBeginChoiceDate(Date value)
setBeginChoiceDate in interface Pollvalue - La valeur de l'attribut beginChoiceDate à positionner.public Date getBeginChoiceDate()
getBeginChoiceDate in interface Pollpublic void setBeginDate(Date value)
setBeginDate in interface Pollvalue - La valeur de l'attribut beginDate à positionner.public Date getBeginDate()
getBeginDate in interface Pollpublic void setEndDate(Date value)
setEndDate in interface Pollvalue - La valeur de l'attribut endDate à positionner.public Date getEndDate()
getEndDate in interface Pollpublic void setMaxChoiceNb(Integer value)
setMaxChoiceNb in interface Pollvalue - La valeur de l'attribut maxChoiceNb à positionner.public Integer getMaxChoiceNb()
getMaxChoiceNb in interface Pollpublic void setClosed(Boolean value)
setClosed in interface Pollvalue - La valeur de l'attribut closed à positionner.public Boolean getClosed()
getClosed in interface Pollpublic void setChoiceAddAllowed(Boolean value)
setChoiceAddAllowed in interface Pollvalue - La valeur de l'attribut choiceAddAllowed à positionner.public Boolean getChoiceAddAllowed()
getChoiceAddAllowed in interface Pollpublic void setAnonymousVoteAllowed(Boolean value)
setAnonymousVoteAllowed in interface Pollvalue - La valeur de l'attribut anonymousVoteAllowed à positionner.public Boolean getAnonymousVoteAllowed()
getAnonymousVoteAllowed in interface Pollpublic void setAnonymous(Boolean value)
setAnonymous in interface Pollvalue - La valeur de l'attribut anonymous à positionner.public Boolean getAnonymous()
getAnonymous in interface Pollpublic void setPublicResults(Boolean value)
setPublicResults in interface Pollvalue - La valeur de l'attribut publicResults à positionner.public Boolean getPublicResults()
getPublicResults in interface Pollpublic void setContinuousResults(Boolean value)
setContinuousResults in interface Pollvalue - La valeur de l'attribut continuousResults à positionner.public Boolean getContinuousResults()
getContinuousResults in interface Pollpublic void setEndChoiceDate(Date value)
setEndChoiceDate in interface Pollvalue - La valeur de l'attribut endChoiceDate à positionner.public Date getEndChoiceDate()
getEndChoiceDate in interface Pollpublic void addVote(Vote vote)
addVote in interface Pollvote - L'instance de vote à ajouter.public void addAllVote(List<Vote> values)
addAllVote in interface Pollvalues - Les instances de vote à ajouter.public Vote getVoteByTopiaId(String topiaId)
Poll
getVoteByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setVote(List<Vote> values)
setVote in interface Pollvalues - La Collection de vote à positionner.public void removeVote(Vote value)
removeVote in interface Pollvalue - L'instance de vote à retirer.public void clearVote()
Poll
clearVote in interface Pollpublic List<Vote> getVote()
getVote in interface Pollpublic int sizeVote()
sizeVote in interface Pollpublic boolean isVoteEmpty()
isVoteEmpty in interface Polltrue si la collection vote est vide.public void addChoice(Choice choice)
addChoice in interface Pollchoice - L'instance de choice à ajouter.public void addAllChoice(List<Choice> values)
addAllChoice in interface Pollvalues - Les instances de choice à ajouter.public Choice getChoiceByTopiaId(String topiaId)
Poll
getChoiceByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setChoice(List<Choice> values)
setChoice in interface Pollvalues - La Collection de choice à positionner.public void removeChoice(Choice value)
removeChoice in interface Pollvalue - L'instance de choice à retirer.public void clearChoice()
Poll
clearChoice in interface Pollpublic List<Choice> getChoice()
getChoice in interface Pollpublic int sizeChoice()
sizeChoice in interface Pollpublic boolean isChoiceEmpty()
isChoiceEmpty in interface Polltrue si la collection choice est vide.public void addResult(Result result)
addResult in interface Pollresult - L'instance de result à ajouter.public void addAllResult(List<Result> values)
addAllResult in interface Pollvalues - Les instances de result à ajouter.public Result getResultByTopiaId(String topiaId)
Poll
getResultByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setResult(List<Result> values)
setResult in interface Pollvalues - La Collection de result à positionner.public void removeResult(Result value)
removeResult in interface Pollvalue - L'instance de result à retirer.public void clearResult()
Poll
clearResult in interface Pollpublic List<Result> getResult()
getResult in interface Pollpublic int sizeResult()
sizeResult in interface Pollpublic boolean isResultEmpty()
isResultEmpty in interface Polltrue si la collection result est vide.public void setCreator(PollAccount value)
setCreator in interface Pollvalue - La valeur de l'attribut creator à positionner.public PollAccount getCreator()
getCreator in interface Pollpublic void addComment(Comment comment)
addComment in interface Pollcomment - L'instance de comment à ajouter.public void addAllComment(List<Comment> values)
addAllComment in interface Pollvalues - Les instances de comment à ajouter.public Comment getCommentByTopiaId(String topiaId)
Poll
getCommentByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setComment(List<Comment> values)
setComment in interface Pollvalues - La Collection de comment à positionner.public void removeComment(Comment value)
removeComment in interface Pollvalue - L'instance de comment à retirer.public void clearComment()
Poll
clearComment in interface Pollpublic List<Comment> getComment()
getComment in interface Pollpublic int sizeComment()
sizeComment in interface Pollpublic boolean isCommentEmpty()
isCommentEmpty in interface Polltrue si la collection comment est vide.public void addPreventRule(PreventRule preventRule)
addPreventRule in interface PollpreventRule - L'instance de preventRule à ajouter.public void addAllPreventRule(List<PreventRule> values)
addAllPreventRule in interface Pollvalues - Les instances de preventRule à ajouter.public PreventRule getPreventRuleByTopiaId(String topiaId)
Poll
getPreventRuleByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setPreventRule(List<PreventRule> values)
setPreventRule in interface Pollvalues - La Collection de preventRule à positionner.public void removePreventRule(PreventRule value)
removePreventRule in interface Pollvalue - L'instance de preventRule à retirer.public void clearPreventRule()
Poll
clearPreventRule in interface Pollpublic List<PreventRule> getPreventRule()
getPreventRule in interface Pollpublic int sizePreventRule()
sizePreventRule in interface Pollpublic boolean isPreventRuleEmpty()
isPreventRuleEmpty in interface Polltrue si la collection preventRule est vide.public void addVotingList(VotingList votingList)
addVotingList in interface PollvotingList - L'instance de votingList à ajouter.public void addAllVotingList(List<VotingList> values)
addAllVotingList in interface Pollvalues - Les instances de votingList à ajouter.public VotingList getVotingListByTopiaId(String topiaId)
Poll
getVotingListByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setVotingList(List<VotingList> values)
setVotingList in interface Pollvalues - La Collection de votingList à positionner.public void removeVotingList(VotingList value)
removeVotingList in interface Pollvalue - L'instance de votingList à retirer.public void clearVotingList()
Poll
clearVotingList in interface Pollpublic List<VotingList> getVotingList()
getVotingList in interface Pollpublic int sizeVotingList()
sizeVotingList in interface Pollpublic boolean isVotingListEmpty()
isVotingListEmpty in interface Polltrue si la collection votingList est vide.public void setPollType(PollType value)
setPollType in interface Pollvalue - La valeur de l'attribut pollType à positionner.public PollType getPollType()
getPollType in interface Pollpublic void setChoiceType(ChoiceType value)
setChoiceType in interface Pollvalue - La valeur de l'attribut choiceType à positionner.public ChoiceType getChoiceType()
getChoiceType in interface Pollpublic void setVoteCounting(VoteCounting value)
setVoteCounting in interface Pollvalue - La valeur de l'attribut voteCounting à positionner.public VoteCounting getVoteCounting()
getVoteCounting in interface Pollpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||