|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Poll
| Field Summary | |
|---|---|
static java.lang.String |
ANONYMOUS
|
static java.lang.String |
ANONYMOUS_VOTE_ALLOWED
|
static java.lang.String |
BEGIN_CHOICE_DATE
|
static java.lang.String |
BEGIN_DATE
|
static java.lang.String |
CHOICE
|
static java.lang.String |
CHOICE_ADD_ALLOWED
|
static java.lang.String |
CHOICE_TYPE
|
static java.lang.String |
CLOSED
|
static java.lang.String |
COMMENT
|
static java.lang.String |
CONTINUOUS_RESULTS
|
static java.lang.String |
CREATOR
|
static java.lang.String |
DESCRIPTION
|
static java.lang.String |
END_DATE
|
static java.lang.String |
MAX_CHOICE_NB
|
static java.lang.String |
POLL_ID
|
static java.lang.String |
POLL_TYPE
|
static java.lang.String |
PREVENT_RULE
|
static java.lang.String |
PUBLIC_RESULTS
|
static java.lang.String |
RESULT
|
static java.lang.String |
TITLE
|
static java.lang.String |
VOTE
|
static java.lang.String |
VOTE_COUNTING
|
static java.lang.String |
VOTING_LIST
|
| Method Summary | |
|---|---|
void |
addAllChoice(java.util.List<Choice> choice)
|
void |
addAllComment(java.util.List<Comment> comment)
|
void |
addAllPreventRule(java.util.List<PreventRule> preventRule)
|
void |
addAllResult(java.util.List<Result> result)
|
void |
addAllVote(java.util.List<Vote> vote)
|
void |
addAllVotingList(java.util.List<VotingList> votingList)
|
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. |
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.lang.Boolean |
getContinuousResults()
|
PollAccount |
getCreator()
|
java.lang.String |
getDescription()
|
java.util.Date |
getEndDate()
|
int |
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 choice)
|
void |
removeComment(Comment comment)
|
void |
removePreventRule(PreventRule preventRule)
|
void |
removeResult(Result result)
|
void |
removeVote(Vote vote)
|
void |
removeVotingList(VotingList votingList)
|
void |
setAnonymous(java.lang.Boolean anonymous)
|
void |
setAnonymousVoteAllowed(java.lang.Boolean anonymousVoteAllowed)
|
void |
setBeginChoiceDate(java.util.Date beginChoiceDate)
|
void |
setBeginDate(java.util.Date beginDate)
|
void |
setChoice(java.util.List<Choice> choice)
|
void |
setChoiceAddAllowed(java.lang.Boolean choiceAddAllowed)
|
void |
setChoiceType(ChoiceType choiceType)
|
void |
setClosed(java.lang.Boolean closed)
|
void |
setComment(java.util.List<Comment> comment)
|
void |
setContinuousResults(java.lang.Boolean continuousResults)
|
void |
setCreator(PollAccount creator)
|
void |
setDescription(java.lang.String description)
|
void |
setEndDate(java.util.Date endDate)
|
void |
setMaxChoiceNb(int maxChoiceNb)
|
void |
setPollId(java.lang.String pollId)
|
void |
setPollType(PollType pollType)
|
void |
setPreventRule(java.util.List<PreventRule> preventRule)
|
void |
setPublicResults(java.lang.Boolean publicResults)
|
void |
setResult(java.util.List<Result> result)
|
void |
setTitle(java.lang.String title)
|
void |
setVote(java.util.List<Vote> vote)
|
void |
setVoteCounting(VoteCounting voteCounting)
|
void |
setVotingList(java.util.List<VotingList> votingList)
|
int |
sizeChoice()
|
int |
sizeComment()
|
int |
sizePreventRule()
|
int |
sizeResult()
|
int |
sizeVote()
|
int |
sizeVotingList()
|
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update |
| Field Detail |
|---|
static final java.lang.String POLL_ID
static final java.lang.String TITLE
static final java.lang.String DESCRIPTION
static final java.lang.String BEGIN_CHOICE_DATE
static final java.lang.String BEGIN_DATE
static final java.lang.String END_DATE
static final java.lang.String MAX_CHOICE_NB
static final java.lang.String CLOSED
static final java.lang.String CHOICE_ADD_ALLOWED
static final java.lang.String ANONYMOUS_VOTE_ALLOWED
static final java.lang.String ANONYMOUS
static final java.lang.String PUBLIC_RESULTS
static final java.lang.String CONTINUOUS_RESULTS
static final java.lang.String VOTE
static final java.lang.String CHOICE
static final java.lang.String RESULT
static final java.lang.String CREATOR
static final java.lang.String COMMENT
static final java.lang.String PREVENT_RULE
static final java.lang.String VOTING_LIST
static final java.lang.String POLL_TYPE
static final java.lang.String CHOICE_TYPE
static final java.lang.String VOTE_COUNTING
| Method Detail |
|---|
void setPollId(java.lang.String pollId)
pollId - La valeur de l'attribut pollId à positionner.java.lang.String getPollId()
void setTitle(java.lang.String title)
title - La valeur de l'attribut title à positionner.java.lang.String getTitle()
void setDescription(java.lang.String description)
description - La valeur de l'attribut description à positionner.java.lang.String getDescription()
void setBeginChoiceDate(java.util.Date beginChoiceDate)
beginChoiceDate - La valeur de l'attribut beginChoiceDate à positionner.java.util.Date getBeginChoiceDate()
void setBeginDate(java.util.Date beginDate)
beginDate - La valeur de l'attribut beginDate à positionner.java.util.Date getBeginDate()
void setEndDate(java.util.Date endDate)
endDate - La valeur de l'attribut endDate à positionner.java.util.Date getEndDate()
void setMaxChoiceNb(int maxChoiceNb)
maxChoiceNb - La valeur de l'attribut maxChoiceNb à positionner.int getMaxChoiceNb()
void setClosed(java.lang.Boolean closed)
closed - La valeur de l'attribut closed à positionner.java.lang.Boolean getClosed()
void setChoiceAddAllowed(java.lang.Boolean choiceAddAllowed)
choiceAddAllowed - La valeur de l'attribut choiceAddAllowed à positionner.java.lang.Boolean getChoiceAddAllowed()
void setAnonymousVoteAllowed(java.lang.Boolean anonymousVoteAllowed)
anonymousVoteAllowed - La valeur de l'attribut anonymousVoteAllowed à positionner.java.lang.Boolean getAnonymousVoteAllowed()
void setAnonymous(java.lang.Boolean anonymous)
anonymous - La valeur de l'attribut anonymous à positionner.java.lang.Boolean getAnonymous()
void setPublicResults(java.lang.Boolean publicResults)
publicResults - La valeur de l'attribut publicResults à positionner.java.lang.Boolean getPublicResults()
void setContinuousResults(java.lang.Boolean continuousResults)
continuousResults - La valeur de l'attribut continuousResults à positionner.java.lang.Boolean getContinuousResults()
void addVote(Vote vote)
vote - L'instance de vote à ajouter.void addAllVote(java.util.List<Vote> vote)
vote - Les instances de vote à ajouter.void setVote(java.util.List<Vote> vote)
vote - La Collection de vote à positionner.void removeVote(Vote vote)
vote - L'instance de vote à retirer.void clearVote()
java.util.List<Vote> getVote()
Vote getVoteByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizeVote()
boolean isVoteEmpty()
true si la collection vote est vide.void addChoice(Choice choice)
choice - L'instance de choice à ajouter.void addAllChoice(java.util.List<Choice> choice)
choice - Les instances de choice à ajouter.void setChoice(java.util.List<Choice> choice)
choice - La Collection de choice à positionner.void removeChoice(Choice choice)
choice - L'instance de choice à retirer.void clearChoice()
java.util.List<Choice> getChoice()
Choice getChoiceByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizeChoice()
boolean isChoiceEmpty()
true si la collection choice est vide.void addResult(Result result)
result - L'instance de result à ajouter.void addAllResult(java.util.List<Result> result)
result - Les instances de result à ajouter.void setResult(java.util.List<Result> result)
result - La Collection de result à positionner.void removeResult(Result result)
result - L'instance de result à retirer.void clearResult()
java.util.List<Result> getResult()
Result getResultByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizeResult()
boolean isResultEmpty()
true si la collection result est vide.void setCreator(PollAccount creator)
creator - La valeur de l'attribut creator à positionner.PollAccount getCreator()
void addComment(Comment comment)
comment - L'instance de comment à ajouter.void addAllComment(java.util.List<Comment> comment)
comment - Les instances de comment à ajouter.void setComment(java.util.List<Comment> comment)
comment - La Collection de comment à positionner.void removeComment(Comment comment)
comment - L'instance de comment à retirer.void clearComment()
java.util.List<Comment> getComment()
Comment getCommentByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizeComment()
boolean isCommentEmpty()
true si la collection comment est vide.void addPreventRule(PreventRule preventRule)
preventRule - L'instance de preventRule à ajouter.void addAllPreventRule(java.util.List<PreventRule> preventRule)
preventRule - Les instances de preventRule à ajouter.void setPreventRule(java.util.List<PreventRule> preventRule)
preventRule - La Collection de preventRule à positionner.void removePreventRule(PreventRule preventRule)
preventRule - L'instance de preventRule à retirer.void clearPreventRule()
java.util.List<PreventRule> getPreventRule()
PreventRule getPreventRuleByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizePreventRule()
boolean isPreventRuleEmpty()
true si la collection preventRule est vide.void addVotingList(VotingList votingList)
votingList - L'instance de votingList à ajouter.void addAllVotingList(java.util.List<VotingList> votingList)
votingList - Les instances de votingList à ajouter.void setVotingList(java.util.List<VotingList> votingList)
votingList - La Collection de votingList à positionner.void removeVotingList(VotingList votingList)
votingList - L'instance de votingList à retirer.void clearVotingList()
java.util.List<VotingList> getVotingList()
VotingList getVotingListByTopiaId(java.lang.String topiaId)
topiaId - le topia id de l'entité recherchée
null s'il n'existe pas.int sizeVotingList()
boolean isVotingListEmpty()
true si la collection votingList est vide.void setPollType(PollType pollType)
pollType - La valeur de l'attribut pollType à positionner.PollType getPollType()
void setChoiceType(ChoiceType choiceType)
choiceType - La valeur de l'attribut choiceType à positionner.ChoiceType getChoiceType()
void setVoteCounting(VoteCounting voteCounting)
voteCounting - La valeur de l'attribut voteCounting à positionner.VoteCounting getVoteCounting()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||