org.chorem.pollen.business.converters
Class DataChoiceConverter
java.lang.Object
org.chorem.pollen.business.converters.DataConverter
org.chorem.pollen.business.converters.DataChoiceConverter
public class DataChoiceConverter
- extends DataConverter
Gestion de la conversion des dtos Choice en entité et vice-versa.
- Version:
- $Id: DataChoiceConverter.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 |
DataChoiceConverter
public DataChoiceConverter()
populateChoiceEntity
public void populateChoiceEntity(ChoiceDTO choiceDTO,
Choice eChoice)
throws org.nuiton.topia.TopiaException
- Création d'une entité choix à partir d'un dto choix.
- Parameters:
choiceDTO - Le dto choixeChoice - L'entité choix
- Throws:
org.nuiton.topia.TopiaException
createChoiceDTO
public ChoiceDTO createChoiceDTO(Choice eChoice)
- Création d'un dto choix à partir d'une entité choix.
- Parameters:
eChoice - L'entité choix
- Returns:
- Le dto choix
createChoiceDTOs
public java.util.List<ChoiceDTO> createChoiceDTOs(java.util.Collection<Choice> cChoices)
- Retourne une liste de dtos choix à partir d'une collection d'entités.
- Parameters:
cChoices - Les entités choix
- Returns:
- la liste des dtos choix
Copyright © 2009-2010 CodeLutin. All Rights Reserved.