|
||||||||||
| 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.
| Field Summary | |
|---|---|
java.lang.Boolean |
anonymous
|
java.lang.Boolean |
anonymousVoteAllowed
|
java.util.Date |
beginChoiceDate
|
java.util.Date |
beginDate
|
java.util.List<Choice> |
choice
|
java.lang.Boolean |
choiceAddAllowed
|
ChoiceType |
choiceType
|
java.lang.Boolean |
closed
|
java.util.List<Comment> |
comment
|
java.lang.Boolean |
continuousResults
|
PollAccount |
creator
|
java.lang.String |
description
|
java.util.Date |
endDate
|
java.lang.Integer |
maxChoiceNb
|
java.lang.String |
pollId
|
PollType |
pollType
|
java.util.List<PreventRule> |
preventRule
|
java.lang.Boolean |
publicResults
|
java.util.List<Result> |
result
|
java.lang.String |
title
|
java.util.List<Vote> |
vote
|
VoteCounting |
voteCounting
|
java.util.List<VotingList> |
votingList
|
| 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_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. |
|
| Method Summary | |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor)
Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur. |
void |
addAllChoice(java.util.List<Choice> values)
|
void |
addAllComment(java.util.List<Comment> values)
|
void |
addAllPreventRule(java.util.List<PreventRule> values)
|
void |
addAllResult(java.util.List<Result> values)
|
void |
addAllVote(java.util.List<Vote> values)
|
void |
addAllVotingList(java.util.List<VotingList> values)
|
void |
addChoice(Choice choice)
|
void |
addComment(Comment comment)
|
void |
addPreventRule(PreventRule preventRule)
|
void |
addResult(Result result)
|
void |
addVote(Vote vote)
|
void |
addVotingList(VotingList votingList)
|
void |
clearChoice()
Vide la Collection de choice. |
void |
clearComment()
Vide la Collection de comment. |
void |
clearPreventRule()
Vide la Collection de preventRule. |
void |
clearResult()
Vide la Collection de result. |
void |
clearVote()
Vide la Collection de vote. |
void |
clearVotingList()
Vide la Collection de votingList. |
void |
delete()
|
java.util.List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate()
|
java.lang.Boolean |
getAnonymous()
|
java.lang.Boolean |
getAnonymousVoteAllowed()
|
java.util.Date |
getBeginChoiceDate()
|
java.util.Date |
getBeginDate()
|
java.util.List<Choice> |
getChoice()
|
java.lang.Boolean |
getChoiceAddAllowed()
|
Choice |
getChoiceByTopiaId(java.lang.String topiaId)
Recupère l'attribut choice à partir de son topiaId. |
ChoiceType |
getChoiceType()
|
java.lang.Boolean |
getClosed()
|
java.util.List<Comment> |
getComment()
|
Comment |
getCommentByTopiaId(java.lang.String topiaId)
Recupère l'attribut comment à partir de son topiaId. |
java.util.List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite()
|
java.lang.Boolean |
getContinuousResults()
|
PollAccount |
getCreator()
|
java.lang.String |
getDescription()
|
java.util.Date |
getEndDate()
|
java.lang.Integer |
getMaxChoiceNb()
|
java.lang.String |
getPollId()
|
PollType |
getPollType()
|
java.util.List<PreventRule> |
getPreventRule()
|
PreventRule |
getPreventRuleByTopiaId(java.lang.String topiaId)
Recupère l'attribut preventRule à partir de son topiaId. |
java.lang.Boolean |
getPublicResults()
|
java.util.List<Result> |
getResult()
|
Result |
getResultByTopiaId(java.lang.String topiaId)
Recupère l'attribut result à partir de son topiaId. |
java.lang.String |
getTitle()
|
java.util.List<Vote> |
getVote()
|
Vote |
getVoteByTopiaId(java.lang.String topiaId)
Recupère l'attribut vote à partir de son topiaId. |
VoteCounting |
getVoteCounting()
|
java.util.List<VotingList> |
getVotingList()
|
VotingList |
getVotingListByTopiaId(java.lang.String topiaId)
Recupère l'attribut votingList à partir de son topiaId. |
boolean |
isChoiceEmpty()
|
boolean |
isCommentEmpty()
|
boolean |
isPreventRuleEmpty()
|
boolean |
isResultEmpty()
|
boolean |
isVoteEmpty()
|
boolean |
isVotingListEmpty()
|
void |
removeChoice(Choice value)
|
void |
removeComment(Comment value)
|
void |
removePreventRule(PreventRule value)
|
void |
removeResult(Result value)
|
void |
removeVote(Vote value)
|
void |
removeVotingList(VotingList value)
|
void |
setAnonymous(java.lang.Boolean value)
|
void |
setAnonymousVoteAllowed(java.lang.Boolean value)
|
void |
setBeginChoiceDate(java.util.Date value)
|
void |
setBeginDate(java.util.Date value)
|
void |
setChoice(java.util.List<Choice> values)
|
void |
setChoiceAddAllowed(java.lang.Boolean value)
|
void |
setChoiceType(ChoiceType value)
|
void |
setClosed(java.lang.Boolean value)
|
void |
setComment(java.util.List<Comment> values)
|
void |
setContinuousResults(java.lang.Boolean value)
|
void |
setCreator(PollAccount value)
|
void |
setDescription(java.lang.String value)
|
void |
setEndDate(java.util.Date value)
|
void |
setMaxChoiceNb(java.lang.Integer value)
|
void |
setPollId(java.lang.String value)
|
void |
setPollType(PollType value)
|
void |
setPreventRule(java.util.List<PreventRule> values)
|
void |
setPublicResults(java.lang.Boolean value)
|
void |
setResult(java.util.List<Result> values)
|
void |
setTitle(java.lang.String value)
|
void |
setVote(java.util.List<Vote> values)
|
void |
setVoteCounting(VoteCounting value)
|
void |
setVotingList(java.util.List<VotingList> values)
|
int |
sizeChoice()
|
int |
sizeComment()
|
int |
sizePreventRule()
|
int |
sizeResult()
|
int |
sizeVote()
|
int |
sizeVotingList()
|
java.lang.String |
toString()
|
void |
update()
|
| 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 java.lang.String pollId
public java.lang.String title
public java.lang.String description
public java.util.Date beginChoiceDate
public java.util.Date beginDate
public java.util.Date endDate
public java.lang.Integer maxChoiceNb
public java.lang.Boolean closed
public java.lang.Boolean choiceAddAllowed
public java.lang.Boolean anonymousVoteAllowed
public java.lang.Boolean anonymous
public java.lang.Boolean publicResults
public java.lang.Boolean continuousResults
public java.util.List<Vote> vote
public java.util.List<Choice> choice
public java.util.List<Result> result
public PollAccount creator
public java.util.List<Comment> comment
public java.util.List<PreventRule> preventRule
public java.util.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 java.util.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 java.util.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(java.lang.String value)
setPollId in interface Pollvalue - La valeur de l'attribut pollId à positionner.public java.lang.String getPollId()
getPollId in interface Pollpublic void setTitle(java.lang.String value)
setTitle in interface Pollvalue - La valeur de l'attribut title à positionner.public java.lang.String getTitle()
getTitle in interface Pollpublic void setDescription(java.lang.String value)
setDescription in interface Pollvalue - La valeur de l'attribut description à positionner.public java.lang.String getDescription()
getDescription in interface Pollpublic void setBeginChoiceDate(java.util.Date value)
setBeginChoiceDate in interface Pollvalue - La valeur de l'attribut beginChoiceDate à positionner.public java.util.Date getBeginChoiceDate()
getBeginChoiceDate in interface Pollpublic void setBeginDate(java.util.Date value)
setBeginDate in interface Pollvalue - La valeur de l'attribut beginDate à positionner.public java.util.Date getBeginDate()
getBeginDate in interface Pollpublic void setEndDate(java.util.Date value)
setEndDate in interface Pollvalue - La valeur de l'attribut endDate à positionner.public java.util.Date getEndDate()
getEndDate in interface Pollpublic void setMaxChoiceNb(java.lang.Integer value)
setMaxChoiceNb in interface Pollvalue - La valeur de l'attribut maxChoiceNb à positionner.public java.lang.Integer getMaxChoiceNb()
getMaxChoiceNb in interface Pollpublic void setClosed(java.lang.Boolean value)
setClosed in interface Pollvalue - La valeur de l'attribut closed à positionner.public java.lang.Boolean getClosed()
getClosed in interface Pollpublic void setChoiceAddAllowed(java.lang.Boolean value)
setChoiceAddAllowed in interface Pollvalue - La valeur de l'attribut choiceAddAllowed à positionner.public java.lang.Boolean getChoiceAddAllowed()
getChoiceAddAllowed in interface Pollpublic void setAnonymousVoteAllowed(java.lang.Boolean value)
setAnonymousVoteAllowed in interface Pollvalue - La valeur de l'attribut anonymousVoteAllowed à positionner.public java.lang.Boolean getAnonymousVoteAllowed()
getAnonymousVoteAllowed in interface Pollpublic void setAnonymous(java.lang.Boolean value)
setAnonymous in interface Pollvalue - La valeur de l'attribut anonymous à positionner.public java.lang.Boolean getAnonymous()
getAnonymous in interface Pollpublic void setPublicResults(java.lang.Boolean value)
setPublicResults in interface Pollvalue - La valeur de l'attribut publicResults à positionner.public java.lang.Boolean getPublicResults()
getPublicResults in interface Pollpublic void setContinuousResults(java.lang.Boolean value)
setContinuousResults in interface Pollvalue - La valeur de l'attribut continuousResults à positionner.public java.lang.Boolean getContinuousResults()
getContinuousResults in interface Pollpublic void addVote(Vote vote)
addVote in interface Pollvote - L'instance de vote à ajouter.public void addAllVote(java.util.List<Vote> values)
addAllVote in interface Pollvalues - Les instances de vote à ajouter.public Vote getVoteByTopiaId(java.lang.String topiaId)
Poll
getVoteByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setVote(java.util.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 java.util.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(java.util.List<Choice> values)
addAllChoice in interface Pollvalues - Les instances de choice à ajouter.public Choice getChoiceByTopiaId(java.lang.String topiaId)
Poll
getChoiceByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setChoice(java.util.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 java.util.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(java.util.List<Result> values)
addAllResult in interface Pollvalues - Les instances de result à ajouter.public Result getResultByTopiaId(java.lang.String topiaId)
Poll
getResultByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setResult(java.util.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 java.util.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(java.util.List<Comment> values)
addAllComment in interface Pollvalues - Les instances de comment à ajouter.public Comment getCommentByTopiaId(java.lang.String topiaId)
Poll
getCommentByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setComment(java.util.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 java.util.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(java.util.List<PreventRule> values)
addAllPreventRule in interface Pollvalues - Les instances de preventRule à ajouter.public PreventRule getPreventRuleByTopiaId(java.lang.String topiaId)
Poll
getPreventRuleByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setPreventRule(java.util.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 java.util.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(java.util.List<VotingList> values)
addAllVotingList in interface Pollvalues - Les instances de votingList à ajouter.public VotingList getVotingListByTopiaId(java.lang.String topiaId)
Poll
getVotingListByTopiaId in interface PolltopiaId - le topia id de l'entité recherchée
null s'il n'existe pas.public void setVotingList(java.util.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 java.util.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 java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||