|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceChoice
Interface de gestion des choix
| Method Summary | |
|---|---|
String |
createChoice(ChoiceDTO choice)
Création d'un choix |
List<Choice> |
createChoices(List<ChoiceDTO> choices,
String pollId,
org.nuiton.topia.TopiaContext transaction)
Création des choix du sondage |
boolean |
deleteChoice(String choiceId)
Suppression d'un choix de sondage |
ChoiceDTO |
findChoiceById(String choiceId)
Recherche d'un choix par son identifiant |
List<ChoiceDTO> |
findChoicesByName(String choiceName,
String pollId)
Recherche de choix d'un sondage à partir du nom |
List<ChoiceDTO> |
selectChoices(Map<String,Object> properties)
Recherche de tous les choix d'un sondage |
boolean |
updateChoice(ChoiceDTO choiceDTO)
Mise à jour d'un choix pour un sondage |
| Method Detail |
|---|
String createChoice(ChoiceDTO choice)
choice - le dto choix
List<Choice> createChoices(List<ChoiceDTO> choices,
String pollId,
org.nuiton.topia.TopiaContext transaction)
choices - les dtos choixpollId - l'identifiant du sondagetransaction - la transaction du sondage
boolean updateChoice(ChoiceDTO choiceDTO)
choiceDTO -
boolean deleteChoice(String choiceId)
choiceId - l'identifiant du choix
ChoiceDTO findChoiceById(String choiceId)
choiceId - l'identifiant du choix
List<ChoiceDTO> findChoicesByName(String choiceName,
String pollId)
choiceName - le nom du choixpollId - l'identifiant du sondage
List<ChoiceDTO> selectChoices(Map<String,Object> properties)
properties - filtre sur les champs de la table choix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||