org.chorem.pollen.business.converters
Class DataCommentConverter
java.lang.Object
org.chorem.pollen.business.converters.DataConverter
org.chorem.pollen.business.converters.DataCommentConverter
public class DataCommentConverter
- extends DataConverter
Gestion de la conversion des dtos Comment en entité et vice-versa.
- Version:
- $Id: DataCommentConverter.java 2615 2009-07-01 13:47:45Z nrannou $
- Author:
- enema
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataCommentConverter
public DataCommentConverter()
populateCommentEntity
public void populateCommentEntity(CommentDTO commentDTO,
Comment eComment)
throws org.nuiton.topia.TopiaException
- Création d'un commentaire de sondage à partir d'un dto commentaire.
- Parameters:
commentDTO - le dto choixeComment - l'entité choix
- Throws:
org.nuiton.topia.TopiaException
createCommentDTO
public CommentDTO createCommentDTO(Comment eComment)
- Créer un DTO à partir d'un objet comment.
- Parameters:
eComment - l'objet comment à transformer
- Returns:
- le commentDTO créé
createCommentDTOs
public java.util.List<CommentDTO> createCommentDTOs(java.util.Collection<Comment> cComments)
- Retourne une liste de dtos comment à partir d'une collection d'entités.
- Parameters:
cComments - collection des entités comment
- Returns:
- la liste des dtos comment
Copyright © 2009 CodeLutin. All Rights Reserved.