|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.services.ServiceVoteImpl
public class ServiceVoteImpl
Implémentation du service de gestion des votes.
| Constructor Summary | |
|---|---|
ServiceVoteImpl()
|
|
| Method Summary | |
|---|---|
String |
createVote(VoteDTO voteDTO,
PollAccountDTO pollAccountDTO)
Rajouter un vote à un sondage |
boolean |
deleteVote(String voteId)
Supprime un vote de la base de données |
List<VoteDTO> |
selectVotes(Map<String,Object> properties)
Retourne les votes d'un sondage |
boolean |
updateVote(VoteDTO voteDTO)
Mise à jour d'un vote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceVoteImpl()
| Method Detail |
|---|
public String createVote(VoteDTO voteDTO,
PollAccountDTO pollAccountDTO)
ServiceVote
createVote in interface ServiceVotevoteDTO - Le DTO du vote
public boolean updateVote(VoteDTO voteDTO)
ServiceVote
updateVote in interface ServiceVotevoteDTO - Le DTO du vote
public boolean deleteVote(String voteId)
ServiceVote
deleteVote in interface ServiceVotevoteId - L'identifiant du vote
public List<VoteDTO> selectVotes(Map<String,Object> properties)
ServiceVote
selectVotes in interface ServiceVoteproperties - La HashMap pour sélectionner les votes d'un sondage. Il
faut y mettre le bon champs pollId
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||