com.stratelia.webactiv.util.questionContainer.model
Class QuestionContainerHeader

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean
      extended by com.silverpeas.util.i18n.AbstractBean
          extended by com.stratelia.webactiv.util.questionContainer.model.QuestionContainerHeader
All Implemented Interfaces:
I18NBean, SilverContentInterface, Serializable

public class QuestionContainerHeader
extends AbstractBean
implements Serializable, SilverContentInterface

See Also:
Serialized Form

Field Summary
static int CLASSIC_DISPLAY_RESULTS
           
static int DELAYED_RESULTS
           
static int DETAILED_DISPLAY_RESULTS
           
static int IMMEDIATE_RESULTS
           
static int NOTHING_DISPLAY_RESULTS
           
static int TWICE_DISPLAY_RESULTS
           
 
Constructor Summary
QuestionContainerHeader(QuestionContainerPK questionContainerPK, String title, String description, String creatorId, String creationDate, String beginDate, String endDate, boolean isClosed, int nbVoters, int nbQuestionsPerPage, boolean anonymous, int resultMode, int resultView)
           
QuestionContainerHeader(QuestionContainerPK questionContainerPK, String title, String description, String comment, String creatorId, String creationDate, String beginDate, String endDate, boolean isClosed, int nbVoters, int nbQuestionsPerPage, int nbMaxParticipations, int nbParticipationsBeforeSolution, int maxTime, boolean anonymous, int resultMode, int resultView)
           
QuestionContainerHeader(QuestionContainerPK questionContainerPK, String title, String description, String comment, String creatorId, String creationDate, String beginDate, String endDate, boolean isClosed, int nbVoters, int nbQuestionsPerPage, int nbMaxParticipations, int nbParticipationsBeforeSolution, int maxTime, int resultMode, int resultView)
           
 
Method Summary
 void close(boolean isClosed)
           
 String getBeginDate()
           
 String getComment()
           
 String getCreationDate()
           
 String getCreatorId()
           
 String getDate()
           
 String getEndDate()
           
 String getIconUrl()
           
 String getId()
           
 String getInstanceId()
           
 int getMaxTime()
           
 int getNbMaxParticipations()
           
 int getNbMaxPoints()
           
 int getNbParticipationsBeforeSolution()
           
 int getNbQuestionsPerPage()
           
 int getNbRegistered()
           
 int getNbVoters()
           
 String getPermalink()
           
 QuestionContainerPK getPK()
           
 int getResultMode()
           
 int getResultView()
           
 Collection<ScoreDetail> getScores()
           
 String getSilverCreationDate()
           
 String getTitle()
           
 String getURL()
           
 boolean isAnonymous()
           
 boolean isClosed()
           
 void setAnonymous(boolean anonymous)
           
 void setBeginDate(String beginDate)
           
 void setComment(String comment)
           
 void setCreationDate(String creationDate)
           
 void setCreatorId(String creatorId)
           
 void setEndDate(String endDate)
           
 void setIconUrl(String iconUrl)
           
 void setMaxTime(int nb)
           
 void setNbMaxParticipations(int nb)
           
 void setNbMaxPoints(int nb)
           
 void setNbParticipationsBeforeSolution(int nb)
           
 void setNbQuestionsPerPage(int nb)
           
 void setNbRegistered(int nb)
           
 void setNbVoters(int nb)
           
 void setPK(QuestionContainerPK pk)
           
 void setResultMode(int resultMode)
           
 void setResultView(int resultView)
           
 void setScores(Collection<ScoreDetail> scores)
           
 void setTitle(String title)
           
 
Methods inherited from class com.silverpeas.util.i18n.AbstractBean
getDescription, getLanguages, getName
 
Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean
addTranslation, getClonedTranslations, getDescription, getLanguage, getLanguageToDisplay, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getDescription, getDescription, getLanguages, getName, getName
 

Field Detail

IMMEDIATE_RESULTS

public static final int IMMEDIATE_RESULTS
See Also:
Constant Field Values

DELAYED_RESULTS

public static final int DELAYED_RESULTS
See Also:
Constant Field Values

NOTHING_DISPLAY_RESULTS

public static final int NOTHING_DISPLAY_RESULTS
See Also:
Constant Field Values

CLASSIC_DISPLAY_RESULTS

public static final int CLASSIC_DISPLAY_RESULTS
See Also:
Constant Field Values

DETAILED_DISPLAY_RESULTS

public static final int DETAILED_DISPLAY_RESULTS
See Also:
Constant Field Values

TWICE_DISPLAY_RESULTS

public static final int TWICE_DISPLAY_RESULTS
See Also:
Constant Field Values
Constructor Detail

QuestionContainerHeader

public QuestionContainerHeader(QuestionContainerPK questionContainerPK,
                               String title,
                               String description,
                               String comment,
                               String creatorId,
                               String creationDate,
                               String beginDate,
                               String endDate,
                               boolean isClosed,
                               int nbVoters,
                               int nbQuestionsPerPage,
                               int nbMaxParticipations,
                               int nbParticipationsBeforeSolution,
                               int maxTime,
                               int resultMode,
                               int resultView)

QuestionContainerHeader

public QuestionContainerHeader(QuestionContainerPK questionContainerPK,
                               String title,
                               String description,
                               String comment,
                               String creatorId,
                               String creationDate,
                               String beginDate,
                               String endDate,
                               boolean isClosed,
                               int nbVoters,
                               int nbQuestionsPerPage,
                               int nbMaxParticipations,
                               int nbParticipationsBeforeSolution,
                               int maxTime,
                               boolean anonymous,
                               int resultMode,
                               int resultView)

QuestionContainerHeader

public QuestionContainerHeader(QuestionContainerPK questionContainerPK,
                               String title,
                               String description,
                               String creatorId,
                               String creationDate,
                               String beginDate,
                               String endDate,
                               boolean isClosed,
                               int nbVoters,
                               int nbQuestionsPerPage,
                               boolean anonymous,
                               int resultMode,
                               int resultView)
Method Detail

getPK

public QuestionContainerPK getPK()

getTitle

public String getTitle()

getComment

public String getComment()

getCreatorId

public String getCreatorId()
Specified by:
getCreatorId in interface SilverContentInterface

getCreationDate

public String getCreationDate()

getBeginDate

public String getBeginDate()

getEndDate

public String getEndDate()

isClosed

public boolean isClosed()

getNbVoters

public int getNbVoters()

getNbRegistered

public int getNbRegistered()

getNbQuestionsPerPage

public int getNbQuestionsPerPage()

getNbMaxParticipations

public int getNbMaxParticipations()

getNbParticipationsBeforeSolution

public int getNbParticipationsBeforeSolution()

getMaxTime

public int getMaxTime()

getNbMaxPoints

public int getNbMaxPoints()

getScores

public Collection<ScoreDetail> getScores()

setPK

public void setPK(QuestionContainerPK pk)

setTitle

public void setTitle(String title)

setComment

public void setComment(String comment)

setCreatorId

public void setCreatorId(String creatorId)

setCreationDate

public void setCreationDate(String creationDate)

setBeginDate

public void setBeginDate(String beginDate)

setEndDate

public void setEndDate(String endDate)

close

public void close(boolean isClosed)

setNbVoters

public void setNbVoters(int nb)

setNbQuestionsPerPage

public void setNbQuestionsPerPage(int nb)

setNbRegistered

public void setNbRegistered(int nb)

setNbMaxParticipations

public void setNbMaxParticipations(int nb)

setNbParticipationsBeforeSolution

public void setNbParticipationsBeforeSolution(int nb)

setMaxTime

public void setMaxTime(int nb)

setNbMaxPoints

public void setNbMaxPoints(int nb)

setScores

public void setScores(Collection<ScoreDetail> scores)

getURL

public String getURL()
Specified by:
getURL in interface SilverContentInterface

getId

public String getId()
Specified by:
getId in interface SilverContentInterface

getInstanceId

public String getInstanceId()
Specified by:
getInstanceId in interface SilverContentInterface

getDate

public String getDate()
Specified by:
getDate in interface SilverContentInterface

getSilverCreationDate

public String getSilverCreationDate()
Specified by:
getSilverCreationDate in interface SilverContentInterface

setIconUrl

public void setIconUrl(String iconUrl)

getIconUrl

public String getIconUrl()
Specified by:
getIconUrl in interface SilverContentInterface

getPermalink

public String getPermalink()

isAnonymous

public boolean isAnonymous()

setAnonymous

public void setAnonymous(boolean anonymous)

getResultMode

public int getResultMode()

setResultMode

public void setResultMode(int resultMode)

getResultView

public int getResultView()

setResultView

public void setResultView(int resultView)


Copyright © 2016 Silverpeas. All Rights Reserved.