|
||||||||||
| 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","context:css/lightbox.css"})
@IncludeJavaScriptLibrary(value={"${tapestry.scriptaculous}/builder.js","context:js/lightbox.js"})
public class VoteForPollClasse de la page de vote.
| Constructor Summary | |
|---|---|
VoteForPoll()
|
|
| Method Summary | |
|---|---|
Integer |
getAddNumberVote()
|
Date |
getChoiceNameAsDate()
Retourne la date correspondant au choix courant |
String |
getCreatorName()
Récupération du créateur du sondage. |
String |
getCurrentChoiceResult()
Retourne le résultat correspondant au choix de sondage courant. |
String |
getCurrentVotingId()
Retourne l'identifiant du votant du vote courant |
ContextLink |
getFeedContext()
Context to get feed of the current poll |
String |
getHelpMessage()
Retourne le message d'aide correspondant au type de sondage. |
ImageContextLink |
getImgContext()
Context to get images for choices. |
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. |
boolean |
isChoiceHidden()
|
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(String votingId)
Retourne vrai si la modification du vote est autorisée. |
boolean |
isNormalVoteCounting()
|
boolean |
isNumberVoteCounting()
|
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)
|
void |
setAddNumberVote(Integer value)
|
char |
setCurrentVoteChoice()
|
| 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(String votingId)
votingId - le votant a rechercher
public boolean isAddChoice()
public void setAddChoice(boolean addChoice)
public void setAddNumberVote(Integer value)
public Integer getAddNumberVote()
public Boolean isChoiceInVote(ChoiceDTO choice)
choice - le choix concerné
public boolean isChoiceHidden()
public char setCurrentVoteChoice()
public String getCurrentChoiceResult()
@Log public boolean isFeedFileExisting()
public String getResultsAsString()
public boolean isVoteAnonymous()
public boolean isCurrentVoteAnonymous()
public boolean isAnonymousVoteDisplayed()
public 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 isNumberVoteCounting()
public boolean isCreatorUser()
public String getCreatorName()
public String getHelpMessage()
public Date getChoiceNameAsDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||