org.chorem.pollen.votecounting.business
Class NumberMethod
java.lang.Object
org.chorem.pollen.votecounting.business.NumberMethod
- All Implemented Interfaces:
- Method
public class NumberMethod
- extends Object
- implements Method
Méthode de dépouillement pour vote de type number.
- Since:
- 1.2.2
- Version:
- $Revision: 3122 $ $Date: 2012-01-30 21:43:30 +0100 (Mon, 30 Jan 2012) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIDDEN_PREFIX
public static final String HIDDEN_PREFIX
- Permet de rajouter des choix cachés
- See Also:
- Constant Field Values
NumberMethod
public NumberMethod()
executeCounting
public void executeCounting(List<Choice> choices,
boolean byGroup)
- Description copied from interface:
Method
- Execute le dépouillement de l'ensemble des choix spécifiés.
- Specified by:
executeCounting in interface Method
- Parameters:
choices - l'ensemble des choix à dépouillerbyGroup - si le dépouillement doit être groupé
executeStats
public void executeStats(List<Choice> choices,
boolean groupCounting,
Choice choice,
ChoiceDTO choiceDTO)
- Description copied from interface:
Method
- Effectue des statistiques sur le
choice specifié.
La fonction executeCounting doit avoir été
executée avant d'appeler cette fonction.
- Specified by:
executeStats in interface Method
- Parameters:
choices - l'ensemble des choix du dépouillementgroupCounting - si le dépouillement doit être groupéchoice - le choix sur lequel effectuer des statistiqueschoiceDTO - le choix contenant les resultats statistiques
Copyright © 2009-2012 CodeLutin. All Rights Reserved.