|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.ui.pages.poll.VoteForPoll
@IncludeStylesheet(value="context:css/vote.css") public class VoteForPoll
Classe de la page de vote.
| Constructor Summary | |
|---|---|
VoteForPoll()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getChoiceImageSrc()
Retourne le chemin de l'image correspondant au choix courant |
java.util.Date |
getChoiceNameAsDate()
Retourne la date correspondant au choix courant |
java.lang.String |
getChoiceThumbSrc()
Retourne le chemin de la miniature correspondant au choix courant |
java.lang.String |
getCreatorName()
Récupération du créateur du sondage. |
java.lang.String |
getCurrentChoiceResult()
Retourne le résultat correspondant au choix de sondage courant. |
ChoiceDTO |
getCurrentVoteChoice()
Retourne le choix de vote correspondant au choix de sondage courant. |
java.lang.String |
getCurrentVotingId()
Retourne l'identifiant du votant du vote courant |
java.lang.String |
getHelpMessage()
Retourne le message d'aide correspondant au type de sondage. |
boolean |
isAccountFieldDisplayed()
Retourne vrai si le champs pollAccount doit apparaître. |
boolean |
isAddChoice()
|
java.lang.Boolean |
isChoiceInVote(ChoiceDTO choice)
Retourne si le choix fait partie du vote (s'il a été renseigné par le votant). |
boolean |
isCondorcetVoteCounting()
|
boolean |
isCurrentVoteAnonymous()
Retourne true si le sondage est anonyme ou si le vote courant est anonyme. |
boolean |
isDateType()
|
boolean |
isDescNull()
|
boolean |
isFreePoll()
|
boolean |
isGroupPoll()
|
boolean |
isImageType()
|
boolean |
isNormalVoteCounting()
|
boolean |
isPercentageVoteCounting()
|
boolean |
isPollChoiceOrVoteStarted()
|
boolean |
isPollChoiceRunning()
|
boolean |
isPollChoiceStarted()
|
boolean |
isPollFinished()
|
boolean |
isPollNull()
|
boolean |
isPollRunning()
|
boolean |
isPollStarted()
|
boolean |
isRestrictedPoll()
|
boolean |
isTextType()
|
boolean |
isUserIdMatching(java.lang.String votingId)
Retourne vrai si l'utilisateur connecté est l'auteur du vote. |
boolean |
isVoteAnonymous()
Retourne true si le sondage est anonyme ou si le vote soumis est anonyme. |
void |
setAddChoice(boolean addChoice)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VoteForPoll()
| Method Detail |
|---|
public boolean isUserIdMatching(java.lang.String votingId)
votingId - le votant a rechercher
public boolean isAddChoice()
public void setAddChoice(boolean addChoice)
public java.lang.Boolean isChoiceInVote(ChoiceDTO choice)
choice - le choix concerné
public ChoiceDTO getCurrentVoteChoice()
public java.lang.String getCurrentChoiceResult()
public boolean isVoteAnonymous()
public boolean isCurrentVoteAnonymous()
public java.lang.String getCurrentVotingId()
public boolean isPollNull()
public boolean isPollChoiceStarted()
public boolean isPollStarted()
public boolean isPollFinished()
public boolean isPollChoiceOrVoteStarted()
public boolean isPollChoiceRunning()
public boolean isPollRunning()
public boolean isDescNull()
public boolean isAccountFieldDisplayed()
public boolean isFreePoll()
public boolean isRestrictedPoll()
public boolean isGroupPoll()
public boolean isTextType()
public boolean isDateType()
public boolean isImageType()
public boolean isNormalVoteCounting()
public boolean isPercentageVoteCounting()
public boolean isCondorcetVoteCounting()
public java.lang.String getCreatorName()
public java.lang.String getHelpMessage()
public java.util.Date getChoiceNameAsDate()
public java.lang.String getChoiceImageSrc()
public java.lang.String getChoiceThumbSrc()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||