|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.business.ServiceCommentImpl
public class ServiceCommentImpl
Implémentation du service de gestion des commentaires.
| Constructor Summary | |
|---|---|
ServiceCommentImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createComment(CommentDTO comment)
Création d'un commentaire |
java.util.List<Comment> |
createComments(java.util.List<CommentDTO> comments,
java.lang.String pollId,
org.nuiton.topia.TopiaContext trans)
Création des commentaires d'un sondage |
boolean |
deleteComment(java.lang.String commentId)
Suppression d'un commentaire |
CommentDTO |
findCommentById(java.lang.String commentId)
Récupération d'un commentaire à partir de son identifiant |
java.util.List<CommentDTO> |
selectComments(java.util.Map<java.lang.String,java.lang.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 java.lang.String createComment(CommentDTO comment)
ServiceComment
createComment in interface ServiceCommentcomment - le commentaire
public java.util.List<Comment> createComments(java.util.List<CommentDTO> comments,
java.lang.String pollId,
org.nuiton.topia.TopiaContext trans)
ServiceComment
createComments in interface ServiceCommentcomments - les dtos commentairespollId - l'identifiant du sondagetrans - la transaction du sondage
public boolean updateComment(CommentDTO comment)
ServiceComment
updateComment in interface ServiceCommentcomment - le commentaire
public boolean deleteComment(java.lang.String commentId)
ServiceComment
deleteComment in interface ServiceCommentcommentId - identifiant du commentaire
public CommentDTO findCommentById(java.lang.String commentId)
ServiceComment
findCommentById in interface ServiceCommentcommentId - identifiant du commentaire
public java.util.List<CommentDTO> selectComments(java.util.Map<java.lang.String,java.lang.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 | |||||||||