|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.services.ServiceResultsImpl
public class ServiceResultsImpl
Implémentation du service de gestion des résultats.
| Constructor Summary | |
|---|---|
ServiceResultsImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
exportPoll(java.lang.String pollId)
Export d'un sondage au format XML. |
ResultListDTO |
getAllResults(java.lang.String pollId)
Récupère les résultats d'un sondage. |
ResultListDTO |
getGroupResults(java.lang.String pollId)
Récupère les résultats d'un sondage avec le dépouillement normal avec gestion des groupes. |
ResultListDTO |
getNormalResults(java.lang.String pollId)
Récupère les résultats d'un sondage avec le dépouillement normal sans gestion des groupes. |
ResultListDTO |
getResultsByVoteCounting(java.lang.String pollId,
VoteCountingType voteCounting)
Récupère les résultats d'un sondage pour un seul type de dépouillement. |
java.lang.String |
importPoll(java.lang.String filePath)
Import d'un fichier XML. |
java.lang.String |
importPoll(java.lang.String filePath,
UserDTO user)
Import d'un fichier XML. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceResultsImpl()
| Method Detail |
|---|
public ResultListDTO getAllResults(java.lang.String pollId)
ServiceResults
getAllResults in interface ServiceResultspollId - identifiant du sondage
public ResultListDTO getResultsByVoteCounting(java.lang.String pollId,
VoteCountingType voteCounting)
ServiceResults
getResultsByVoteCounting in interface ServiceResultspollId - identifiant du sondagevoteCounting - : type de dépouillement
public ResultListDTO getGroupResults(java.lang.String pollId)
ServiceResults
getGroupResults in interface ServiceResultspollId - identifiant du sondage
public ResultListDTO getNormalResults(java.lang.String pollId)
ServiceResults
getNormalResults in interface ServiceResultspollId - identifiant du sondage
public java.lang.String exportPoll(java.lang.String pollId)
ServiceResults
exportPoll in interface ServiceResultspollId - identifiant ToPIA du sondage
public java.lang.String importPoll(java.lang.String filePath)
ServiceResults
importPoll in interface ServiceResultsfilePath - chemin du fichier à importer
public java.lang.String importPoll(java.lang.String filePath,
UserDTO user)
ServiceResults
importPoll in interface ServiceResultsfilePath - chemin du fichier à importeruser - l'utilisateur important le fichier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||