org.chorem.pollen.business.converters
Class EnumController

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

public class EnumController
extends DataConverter

Classe de gestion des énumérations.

Version:
$Id: EnumController.java 2731 2009-08-18 12:22:46Z nrannou $
Author:
fdesbois

Constructor Summary
EnumController(org.nuiton.topia.TopiaContext transaction)
           
 
Method Summary
static ChoiceType getChoiceType(Poll poll)
           
static ChoiceType getChoiceType(String type)
           
static PollType getPollType(Poll poll)
           
static PollType getPollType(String type)
           
static VoteCountingType getVoteCountingType(Poll poll)
           
static VoteCountingType getVoteCountingType(Result result)
           
static VoteCountingType getVoteCountingType(String type)
           
static boolean isGroupType(Poll poll)
           
 void setChoiceType(ChoiceType type, Poll ePoll)
           
 void setPollType(PollType type, Poll ePoll)
           
 void setVoteCounting(VoteCountingType type, Poll ePoll)
           
 void setVoteCounting(VoteCountingType type, Result eResult)
           
 
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

EnumController

public EnumController(org.nuiton.topia.TopiaContext transaction)
Method Detail

setChoiceType

public void setChoiceType(ChoiceType type,
                          Poll ePoll)

setPollType

public void setPollType(PollType type,
                        Poll ePoll)

setVoteCounting

public void setVoteCounting(VoteCountingType type,
                            Poll ePoll)

setVoteCounting

public void setVoteCounting(VoteCountingType type,
                            Result eResult)

getChoiceType

public static ChoiceType getChoiceType(String type)

getChoiceType

public static ChoiceType getChoiceType(Poll poll)

getVoteCountingType

public static VoteCountingType getVoteCountingType(String type)

getVoteCountingType

public static VoteCountingType getVoteCountingType(Poll poll)

getVoteCountingType

public static VoteCountingType getVoteCountingType(Result result)

getPollType

public static PollType getPollType(String type)

getPollType

public static PollType getPollType(Poll poll)

isGroupType

public static boolean isGroupType(Poll poll)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.