|
||||||||||
| 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
| Field Summary | |
|---|---|
protected boolean |
anonymous
Nom de l'attribut en BD : anonymous |
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 org.chorem.pollen.common.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 String |
pollId
Nom de l'attribut en BD : pollId |
protected org.chorem.pollen.common.PollType |
pollType
Nom de l'attribut en BD : pollType |
protected List<PreventRule> |
preventRule
Nom de l'attribut en BD : preventRule |
protected boolean |
publicResults
Nom de l'attribut en BD : publicResults |
protected List<Result> |
result
Nom de l'attribut en BD : result |
protected String |
title
Nom de l'attribut en BD : title |
protected List<Vote> |
vote
Nom de l'attribut en BD : vote |
protected org.chorem.pollen.common.VoteCountingType |
voteCountingType
Nom de l'attribut en BD : voteCountingType |
protected List<VotingList> |
votingList
Nom de l'attribut en BD : votingList |
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
PollAbstract()
|
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
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, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.chorem.pollen.business.persistence.Poll |
|---|
getAdminId, getPersonToListByVote, getPollAccounts, getPreventRuleByScope, getVoteByPollAccount, getVoteId, isAddChoiceFinished, isAddChoiceRunning, isAddChoiceStarted, isFinished, isRunning, isStarted |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
protected 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 anonymous
protected boolean publicResults
protected boolean continuousResults
protected Date endChoiceDate
protected List<Vote> vote
protected List<Choice> choice
protected List<Result> result
protected PollAccount creator
protected List<Comment> comment
protected List<PreventRule> preventRule
protected List<VotingList> votingList
protected org.chorem.pollen.common.PollType pollType
protected org.chorem.pollen.common.ChoiceType choiceType
protected org.chorem.pollen.common.VoteCountingType voteCountingType
| Constructor Detail |
|---|
public PollAbstract()
| Method Detail |
|---|
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 setPollId(String pollId)
setPollId in interface Pollpublic String getPollId()
getPollId in interface Pollpublic void setTitle(String title)
setTitle in interface Pollpublic String getTitle()
getTitle in interface Pollpublic 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 setClosed(boolean closed)
setClosed in interface Pollpublic boolean isClosed()
isClosed 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 setAnonymous(boolean anonymous)
setAnonymous in interface Pollpublic boolean isAnonymous()
isAnonymous 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 addVote(Vote vote)
addVote in interface Pollpublic void addAllVote(List<Vote> vote)
addAllVote in interface Pollpublic void setVote(List<Vote> vote)
setVote in interface Pollpublic void removeVote(Vote vote)
removeVote in interface Pollpublic void clearVote()
clearVote in interface Pollpublic List<Vote> getVote()
getVote in interface Pollpublic Vote getVoteByTopiaId(String topiaId)
getVoteByTopiaId in interface Pollpublic int sizeVote()
sizeVote in interface Pollpublic boolean isVoteEmpty()
isVoteEmpty in interface Pollpublic void addChoice(Choice choice)
addChoice in interface Pollpublic void addAllChoice(List<Choice> choice)
addAllChoice in interface Pollpublic void setChoice(List<Choice> choice)
setChoice in interface Pollpublic void removeChoice(Choice choice)
removeChoice in interface Pollpublic void clearChoice()
clearChoice in interface Pollpublic List<Choice> getChoice()
getChoice in interface Pollpublic Choice getChoiceByTopiaId(String topiaId)
getChoiceByTopiaId in interface Pollpublic int sizeChoice()
sizeChoice in interface Pollpublic boolean isChoiceEmpty()
isChoiceEmpty in interface Pollpublic void addResult(Result result)
addResult in interface Pollpublic void addAllResult(List<Result> result)
addAllResult in interface Pollpublic void setResult(List<Result> result)
setResult in interface Pollpublic void removeResult(Result result)
removeResult in interface Pollpublic void clearResult()
clearResult in interface Pollpublic List<Result> getResult()
getResult in interface Pollpublic Result getResultByTopiaId(String topiaId)
getResultByTopiaId in interface Pollpublic int sizeResult()
sizeResult in interface Pollpublic boolean isResultEmpty()
isResultEmpty 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(org.chorem.pollen.common.PollType pollType)
setPollType in interface Pollpublic org.chorem.pollen.common.PollType getPollType()
getPollType in interface Pollpublic void setChoiceType(org.chorem.pollen.common.ChoiceType choiceType)
setChoiceType in interface Pollpublic org.chorem.pollen.common.ChoiceType getChoiceType()
getChoiceType in interface Pollpublic void setVoteCountingType(org.chorem.pollen.common.VoteCountingType voteCountingType)
setVoteCountingType in interface Pollpublic org.chorem.pollen.common.VoteCountingType getVoteCountingType()
getVoteCountingType in interface Poll
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.TopiaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||