|
||||||||||
| 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 | |
|---|---|
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 trans)
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 |
| 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 java.lang.String createChoice(ChoiceDTO choice)
ServiceChoice
createChoice in interface ServiceChoicechoice - le dto choix
public java.util.List<Choice> createChoices(java.util.List<ChoiceDTO> choices,
java.lang.String pollId,
org.nuiton.topia.TopiaContext trans)
ServiceChoice
createChoices in interface ServiceChoicechoices - les dtos choixpollId - l'identifiant du sondagetrans - la transaction du sondage
public boolean updateChoice(ChoiceDTO choiceDTO)
ServiceChoice
updateChoice in interface ServiceChoicepublic boolean deleteChoice(java.lang.String choiceId)
ServiceChoice
deleteChoice in interface ServiceChoicechoiceId - l'identifiant du choix
public ChoiceDTO findChoiceById(java.lang.String choiceId)
ServiceChoice
findChoiceById in interface ServiceChoicechoiceId - l'identifiant du choix
public java.util.List<ChoiceDTO> findChoicesByName(java.lang.String choiceName,
java.lang.String pollId)
ServiceChoice
findChoicesByName in interface ServiceChoicechoiceName - le nom du choixpollId - l'identifiant du sondage
public java.util.List<ChoiceDTO> selectChoices(java.util.Map<java.lang.String,java.lang.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 | |||||||||