|
||||||||||
| 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 | |
|---|---|
java.lang.String |
createChoice(ChoiceDTO choice)
Création d'un choix |
java.util.List<Choice> |
createChoices(java.util.List<ChoiceDTO> choices,
java.lang.String pollId,
org.nuiton.topia.TopiaContext transaction)
Création des choix du sondage |
boolean |
deleteChoice(java.lang.String choiceId)
Suppression d'un choix de sondage |
ChoiceDTO |
findChoiceById(java.lang.String choiceId)
Recherche d'un choix par son identifiant |
java.util.List<ChoiceDTO> |
findChoicesByName(java.lang.String choiceName,
java.lang.String pollId)
Recherche de choix d'un sondage à partir du nom |
java.util.List<ChoiceDTO> |
selectChoices(java.util.Map<java.lang.String,java.lang.Object> properties)
Recherche de tous les choix d'un sondage |
boolean |
updateChoice(ChoiceDTO choiceDTO)
Mise à jour d'un choix pour un sondage |
| Method Detail |
|---|
java.lang.String createChoice(ChoiceDTO choice)
choice - le dto choix
java.util.List<Choice> createChoices(java.util.List<ChoiceDTO> choices,
java.lang.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(java.lang.String choiceId)
choiceId - l'identifiant du choix
ChoiceDTO findChoiceById(java.lang.String choiceId)
choiceId - l'identifiant du choix
java.util.List<ChoiceDTO> findChoicesByName(java.lang.String choiceName,
java.lang.String pollId)
choiceName - le nom du choixpollId - l'identifiant du sondage
java.util.List<ChoiceDTO> selectChoices(java.util.Map<java.lang.String,java.lang.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 | |||||||||