|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.services.ServiceChoiceImpl
public class ServiceChoiceImpl
Gestion des choix d'un sondage.
| Constructor Summary | |
|---|---|
ServiceChoiceImpl()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceChoiceImpl()
| Method Detail |
|---|
public String createChoice(ChoiceDTO choice)
ServiceChoice
createChoice in interface ServiceChoicechoice - le dto choix
public List<Choice> createChoices(List<ChoiceDTO> choices,
String pollId,
org.nuiton.topia.TopiaContext transaction)
ServiceChoice
createChoices in interface ServiceChoicechoices - les dtos choixpollId - l'identifiant du sondagetransaction - la transaction du sondage
public boolean updateChoice(ChoiceDTO choiceDTO)
ServiceChoice
updateChoice in interface ServiceChoicepublic boolean deleteChoice(String choiceId)
ServiceChoice
deleteChoice in interface ServiceChoicechoiceId - l'identifiant du choix
public ChoiceDTO findChoiceById(String choiceId)
ServiceChoice
findChoiceById in interface ServiceChoicechoiceId - l'identifiant du choix
public List<ChoiceDTO> findChoicesByName(String choiceName,
String pollId)
ServiceChoice
findChoicesByName in interface ServiceChoicechoiceName - le nom du choixpollId - l'identifiant du sondage
public List<ChoiceDTO> selectChoices(Map<String,Object> properties)
ServiceChoice
selectChoices in interface ServiceChoiceproperties - filtre sur les champs de la table choix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||