org.chorem.pollen.ui.pages.poll
Class PollCreation

java.lang.Object
  extended by org.chorem.pollen.ui.pages.poll.PollCreation

@IncludeStylesheet(value="context:css/pollcreation.css")
public class PollCreation
extends java.lang.Object

Classe de la page de création d'un sondage.

Version:
$Id: PollCreation.java 2630 2009-07-08 15:23:00Z nrannou $
Author:
kmorin, rannou

Constructor Summary
PollCreation()
           
 
Method Summary
 java.lang.String getChoiceDateDisplay()
           
 java.lang.String getChoiceNbDisplay()
           
 java.lang.String getNotificationDisplay()
           
 java.lang.String getReminderDisplay()
           
 java.lang.String getStepLegend()
          Retourne la chaîne correspondant à l'étape courante
 boolean isCondorcetVoteCounting()
           
 boolean isDateChoices()
           
 boolean isFreePoll()
           
 boolean isGroupPoll()
           
 boolean isImgChoices()
           
 boolean isInChoices()
           
 boolean isInLists()
           
 boolean isInOptions()
           
 boolean isInPoll()
           
 boolean isNormalVoteCounting()
           
 boolean isPercentageVoteCounting()
           
 boolean isPersonListsExists()
          Retourne vrai si des listes de favoris existent
 boolean isRestrictedPoll()
           
 boolean isTextChoices()
           
 org.apache.tapestry5.json.JSONObject onChangeFromChoiceType(java.lang.String value)
          Méthode appelée à la sélection d'un type de choix.
 org.apache.tapestry5.json.JSONObject onChangeFromListSelect(java.lang.String value)
          Méthode appelée à la sélection d'une liste de votants.
 java.lang.Object onUpdatePollCreationZone()
          Méthode appelée par le callback JavaScript pour mettre à jour la zone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollCreation

public PollCreation()
Method Detail

getChoiceDateDisplay

public java.lang.String getChoiceDateDisplay()

getChoiceNbDisplay

public java.lang.String getChoiceNbDisplay()

getNotificationDisplay

public java.lang.String getNotificationDisplay()

getReminderDisplay

public java.lang.String getReminderDisplay()

getStepLegend

public java.lang.String getStepLegend()
Retourne la chaîne correspondant à l'étape courante


isInPoll

public boolean isInPoll()

isInLists

public boolean isInLists()

isInChoices

public boolean isInChoices()

isInOptions

public boolean isInOptions()

isNormalVoteCounting

public boolean isNormalVoteCounting()

isPercentageVoteCounting

public boolean isPercentageVoteCounting()

isCondorcetVoteCounting

public boolean isCondorcetVoteCounting()

isFreePoll

public boolean isFreePoll()

isRestrictedPoll

public boolean isRestrictedPoll()

isGroupPoll

public boolean isGroupPoll()

isTextChoices

public boolean isTextChoices()

isDateChoices

public boolean isDateChoices()

isImgChoices

public boolean isImgChoices()

onChangeFromListSelect

public org.apache.tapestry5.json.JSONObject onChangeFromListSelect(java.lang.String value)
Méthode appelée à la sélection d'une liste de votants. Le mixin ck/OnEvent ne permet pas de retourner le contenu d'une zone. Il faut donc passer par une fonction JavaScript pour activer un event link. Un lien est créé. Il sera retourné à la fonction JavaScript onCompleteCallback pour mettre à jour la zone.

Returns:
un JSONObject contenant l'url de l'évènement mettant à jour la zone.

onChangeFromChoiceType

public org.apache.tapestry5.json.JSONObject onChangeFromChoiceType(java.lang.String value)
Méthode appelée à la sélection d'un type de choix. Le mixin ck/OnEvent ne permet pas de retourner le contenu d'une zone. Il faut donc passer par une fonction JavaScript pour activer un event link. Un lien est créé. Il sera retourné à la fonction JavaScript onCompleteCallback pour mettre à jour la zone.

Returns:
un JSONObject contenant l'url de l'évènement mettant à jour la zone.

onUpdatePollCreationZone

public java.lang.Object onUpdatePollCreationZone()
Méthode appelée par le callback JavaScript pour mettre à jour la zone.

Returns:
le contenu mis à jour de la zone.

isPersonListsExists

public boolean isPersonListsExists()
Retourne vrai si des listes de favoris existent



Copyright © 2009 CodeLutin. All Rights Reserved.