|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.services.ServiceCommentImpl
public class ServiceCommentImpl
Implémentation du service de gestion des commentaires.
| Constructor Summary | |
|---|---|
ServiceCommentImpl()
|
|
| Method Summary | |
|---|---|
String |
createComment(CommentDTO comment)
Création d'un commentaire |
List<Comment> |
createComments(List<CommentDTO> comments,
String pollId,
org.nuiton.topia.TopiaContext transaction)
Création des commentaires d'un sondage |
boolean |
deleteComment(String commentId)
Suppression d'un commentaire |
CommentDTO |
findCommentById(String commentId)
Récupération d'un commentaire à partir de son identifiant |
List<CommentDTO> |
selectComments(Map<String,Object> properties)
Recherche des commentaires d'un sondage à partir d'un filtre |
boolean |
updateComment(CommentDTO comment)
Mise à jour d'un commentaire |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceCommentImpl()
| Method Detail |
|---|
public String createComment(CommentDTO comment)
ServiceComment
createComment in interface ServiceCommentcomment - le commentaire
public List<Comment> createComments(List<CommentDTO> comments,
String pollId,
org.nuiton.topia.TopiaContext transaction)
ServiceComment
createComments in interface ServiceCommentcomments - les dtos commentairespollId - l'identifiant du sondagetransaction - la transaction du sondage
public boolean updateComment(CommentDTO comment)
ServiceComment
updateComment in interface ServiceCommentcomment - le commentaire
public boolean deleteComment(String commentId)
ServiceComment
deleteComment in interface ServiceCommentcommentId - identifiant du commentaire
public CommentDTO findCommentById(String commentId)
ServiceComment
findCommentById in interface ServiceCommentcommentId - identifiant du commentaire
public List<CommentDTO> selectComments(Map<String,Object> properties)
ServiceComment
selectComments in interface ServiceCommentproperties - filtre sur les champs de la table commentaire
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||