|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.ServiceListImpl
public class ServiceListImpl
Implémentation du service de gestion des listes.
| Constructor Summary | |
|---|---|
ServiceListImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createPersonList(PersonListDTO personList)
Création d'une liste de favoris |
boolean |
createPersonLists(java.util.List<PersonListDTO> personLists,
java.lang.String userId,
org.nuiton.topia.TopiaContext trans)
Création d'une liste de favoris pour un user |
java.lang.String |
createPersonToList(PollAccountDTO account)
Création d'une personne dans une liste |
java.lang.String |
createVotingList(VotingListDTO votingList)
Création d'une liste de votant |
java.util.List<VotingList> |
createVotingLists(java.util.List<VotingListDTO> votingLists,
java.lang.String pollId,
org.nuiton.topia.TopiaContext trans)
Création des groupes de votant du sondage |
boolean |
deletePersonList(java.lang.String personListId)
Suppression d'une liste de favoris |
boolean |
deletePersonToList(java.lang.String accountId)
Suppression d'une personne dans une liste |
boolean |
deleteVotingList(java.lang.String votingListId)
Suppression d'une liste de votant |
PersonListDTO |
findPersonListById(java.lang.String personListId)
Recherche d'une liste par son identifiant |
java.util.List<PersonListDTO> |
findPersonListByName(java.lang.String name)
Recherche des listes de favoris à partir du nom |
java.util.List<PersonListDTO> |
findPersonListByUser(java.lang.String userId)
Recherche des listes de favoris d'un utilisateur. |
VotingListDTO |
findVotingListById(java.lang.String votingListId)
Recherche d'une liste par son identifiant |
java.util.List<VotingListDTO> |
findVotingListByName(java.lang.String name)
Recherche d une liste de votant à partir du nom |
java.util.List<PersonListDTO> |
selectPersonList(java.util.Map<java.lang.String,java.lang.Object> properties)
Recherche des listes à partir d'un filtre |
java.util.List<VotingListDTO> |
selectVotingList(java.util.Map<java.lang.String,java.lang.Object> properties)
Recherche des listes à partir d'un filtre |
boolean |
updatePersonList(PersonListDTO personList)
Mise à jour d'une liste de favoris |
boolean |
updatePersonToList(PollAccountDTO account)
Mise à jour d'une personne dans une liste |
boolean |
updateVotingList(VotingListDTO votingList)
Mise à jour d'une liste de votant |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceListImpl()
| Method Detail |
|---|
public java.lang.String createVotingList(VotingListDTO votingList)
ServiceList
createVotingList in interface ServiceListvotingList - la liste
public java.util.List<VotingList> createVotingLists(java.util.List<VotingListDTO> votingLists,
java.lang.String pollId,
org.nuiton.topia.TopiaContext trans)
ServiceList
createVotingLists in interface ServiceListvotingLists - les dtos listespollId - l'identifiant du sondagetrans - la transaction du sondage
public boolean updateVotingList(VotingListDTO votingList)
ServiceList
updateVotingList in interface ServiceListvotingList - la liste
public boolean deleteVotingList(java.lang.String votingListId)
ServiceList
deleteVotingList in interface ServiceListvotingListId - l'identifiant de la liste
public VotingListDTO findVotingListById(java.lang.String votingListId)
ServiceList
findVotingListById in interface ServiceListvotingListId - l'identifiant de la liste
public java.util.List<VotingListDTO> findVotingListByName(java.lang.String name)
ServiceList
findVotingListByName in interface ServiceListname - le nom de la liste
public java.util.List<VotingListDTO> selectVotingList(java.util.Map<java.lang.String,java.lang.Object> properties)
ServiceList
selectVotingList in interface ServiceListproperties - filtre sur les champs de la table VotingList
public java.lang.String createPersonList(PersonListDTO personList)
ServiceList
createPersonList in interface ServiceListpersonList - la liste
public boolean createPersonLists(java.util.List<PersonListDTO> personLists,
java.lang.String userId,
org.nuiton.topia.TopiaContext trans)
ServiceList
createPersonLists in interface ServiceListpersonLists - les dtos personListuserId - l'identifiant de l'utilisateurtrans - la transaction du sondage
public boolean updatePersonList(PersonListDTO personList)
ServiceList
updatePersonList in interface ServiceListpersonList - la liste
public boolean deletePersonList(java.lang.String personListId)
ServiceList
deletePersonList in interface ServiceListpersonListId - l'identifiant de la liste
public PersonListDTO findPersonListById(java.lang.String personListId)
ServiceList
findPersonListById in interface ServiceListpersonListId - l'identifiant de la liste
public java.util.List<PersonListDTO> findPersonListByName(java.lang.String name)
ServiceList
findPersonListByName in interface ServiceListname - le nom de la liste
public java.util.List<PersonListDTO> findPersonListByUser(java.lang.String userId)
ServiceList
findPersonListByUser in interface ServiceListuserId - Le créateur de la liste
public java.util.List<PersonListDTO> selectPersonList(java.util.Map<java.lang.String,java.lang.Object> properties)
ServiceList
selectPersonList in interface ServiceListproperties - filtre sur les champs de la table personList
public java.lang.String createPersonToList(PollAccountDTO account)
ServiceList
createPersonToList in interface ServiceListaccount - le dto pollAccount
public boolean updatePersonToList(PollAccountDTO account)
ServiceList
updatePersonToList in interface ServiceListaccount - le dto pollAccount
public boolean deletePersonToList(java.lang.String accountId)
ServiceList
deletePersonToList in interface ServiceListaccountId - l'identifiant du pollAccount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||