com.stratelia.webactiv.util.questionContainer.model
Class QuestionContainerHeader
java.lang.Object
com.silverpeas.util.i18n.AbstractI18NBean
com.silverpeas.util.i18n.AbstractBean
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
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)
|
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 |
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
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)
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.