|
||||||||||
| 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.util.Date |
getChoiceNameAsDate()
Retourne la date 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 |
ContextLink |
getFeedContext()
Context to get feed of the current poll |
java.lang.String |
getHelpMessage()
Retourne le message d'aide correspondant au type de sondage. |
ImageContextLink |
getImgContext()
Context to get images for choices. |
java.lang.String |
getResultsAsString()
Retourne une chaîne contenant les résultats du sondage. |
boolean |
isAccountFieldDisplayed()
Retourne vrai si le champs pollAccount doit apparaître. |
boolean |
isAddChoice()
|
boolean |
isAnonymousVoteDisplayed()
Retourne vrai si la checkbox anonymousVote doit être affichée. |
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 |
isCreatorUser()
retourne vrai si l'utilisateur est le créateur du sondage |
boolean |
isCurrentVoteAnonymous()
Retourne true si le sondage est anonyme ou si le vote courant est anonyme. |
boolean |
isDateType()
|
boolean |
isDescNull()
|
boolean |
isFeedFileExisting()
Vérifie que le fichier de flux de syndication existe. |
boolean |
isFreePoll()
|
boolean |
isGroupPoll()
|
boolean |
isImageType()
|
boolean |
isModifAllowed(java.lang.String votingId)
Retourne vrai si la modification du vote est autorisée. |
boolean |
isNormalVoteCounting()
|
boolean |
isPercentageVoteCounting()
|
boolean |
isPollChoiceOrVoteStarted()
|
boolean |
isPollChoiceRunning()
|
boolean |
isPollChoiceStarted()
|
boolean |
isPollFinished()
|
boolean |
isPollNull()
|
boolean |
isPollRunning()
|
boolean |
isPollStarted()
|
boolean |
isRestrictedPoll()
|
boolean |
isTextType()
|
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 ContextLink getFeedContext()
public ImageContextLink getImgContext()
public boolean isModifAllowed(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()
@Log public boolean isFeedFileExisting()
public java.lang.String getResultsAsString()
public boolean isVoteAnonymous()
public boolean isCurrentVoteAnonymous()
public boolean isAnonymousVoteDisplayed()
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 boolean isCreatorUser()
public java.lang.String getCreatorName()
public java.lang.String getHelpMessage()
public java.util.Date getChoiceNameAsDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||