org.chorem.pollen.business.converters
Class DataVoteCountingConverter

java.lang.Object
  extended by org.chorem.pollen.business.converters.DataConverter
      extended by org.chorem.pollen.business.converters.DataVoteCountingConverter

public class DataVoteCountingConverter
extends DataConverter

Classe de conversion d'entités en DTO pour le module voteCounting.

Version:
$Id: DataVoteCountingConverter.java 2696 2009-08-10 16:18:15Z nrannou $
Author:
fdesbois, rannou

Constructor Summary
DataVoteCountingConverter()
           
 
Method Summary
static PollDTO createPollDTO(PollDTO pollDTO)
          Création d'un DTO sondage à partir d'un DTO sondage d'export.
static PollDTO createPollDTOForVoteCounting(Poll ePoll)
          Création d'un DTO sondage d'export à partir d'une entité sondage.
 
Methods inherited from class org.chorem.pollen.business.converters.DataConverter
getTransaction, setTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataVoteCountingConverter

public DataVoteCountingConverter()
Method Detail

createPollDTOForVoteCounting

public static PollDTO createPollDTOForVoteCounting(Poll ePoll)
Création d'un DTO sondage d'export à partir d'une entité sondage.

Parameters:
ePoll - l'entité sondage
Returns:
le DTO sondage d'export

createPollDTO

public static PollDTO createPollDTO(PollDTO pollDTO)
Création d'un DTO sondage à partir d'un DTO sondage d'export.

Parameters:
pollDTO - le DTO sondage d'export
Returns:
le DTO sondage


Copyright © 2009 CodeLutin. All Rights Reserved.