|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.Quiz
public class Quiz
This class represents business object Quiz
| Constructor Summary | |
|---|---|
Quiz()
Creates a new Quiz object. |
|
| Method Summary | |
|---|---|
int |
getActiveCaptcha()
Gest captcha status |
int |
getActiveRequirement()
Gets the requirement status |
String |
getCgu()
Gets the CGU |
String |
getConclusion()
Returns the conclusion of this quiz. |
Date |
getDateBeginDisponibility()
Return the date begin of the publication |
Timestamp |
getDateCreation()
|
Date |
getDateEndDisponibility()
|
int |
getIdQuiz()
Returns the identifier of this Quiz. |
byte[] |
getImg()
Returns the Value |
String |
getIntroduction()
Returns the name of this quiz. |
String |
getName()
Returns the name of this quiz. |
Collection |
getQuestions()
Returns a collection of questions |
String |
getTypeQuiz()
|
boolean |
isEnabled()
Returns The boolean status of quiz |
void |
setActiveCaptcha(int nCaptcha)
Sets captcha status |
void |
setActiveRequirement(int nRequirement)
Sets the requirement status |
void |
setCgu(String strCgu)
Sets CGU |
void |
setConclusion(String strConclusion)
Sets the conclusion of the quiz to the specified string |
void |
setDateBeginDisponibility(Date dateBeginDisponibility)
Define the date begin of the publication |
void |
setDateCreation(Timestamp dateCreation)
set the creation date |
void |
setDateEndDisponibility(Date dateEndDisponibility)
set the date of end disponibility |
void |
setIdQuiz(int nIdQuiz)
Sets the identifier of the quiz to the specified integer. |
void |
setIntroduction(String strIntroduction)
Sets the introduction of the quiz to the specified string |
void |
setName(String strName)
Sets the name of the quiz to the specified string |
void |
setQuestions(Collection questions)
Sets the list of questions on a Collection |
void |
setStatus(int status)
Set The Boolean status |
void |
setTypeQuiz(String strTypeQuiz)
|
void |
setValue(byte[] strImg)
Sets the Value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Quiz()
| Method Detail |
|---|
public int getIdQuiz()
public void setIdQuiz(int nIdQuiz)
nIdQuiz - The quiz identifierpublic String getName()
public void setName(String strName)
strName - The new namepublic boolean isEnabled()
public void setStatus(int status)
status - The Statuspublic Collection getQuestions()
public void setQuestions(Collection questions)
questions - The Collection of quetsionspublic String getIntroduction()
public void setIntroduction(String strIntroduction)
strIntroduction - The new namepublic String getConclusion()
public void setConclusion(String strConclusion)
strConclusion - The conclusionpublic String getCgu()
public void setCgu(String strCgu)
strCgu - The CGU to setpublic void setDateBeginDisponibility(Date dateBeginDisponibility)
dateBeginDisponibility - The date begin of the publicationpublic Date getDateBeginDisponibility()
public Date getDateEndDisponibility()
public void setDateEndDisponibility(Date dateEndDisponibility)
dateEndDisponibility - the date of end disponibilitypublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation - the creation datepublic byte[] getImg()
public void setValue(byte[] strImg)
strImg - The Valuepublic int getActiveCaptcha()
public void setActiveCaptcha(int nCaptcha)
nCaptcha - The captcha statuspublic int getActiveRequirement()
public void setActiveRequirement(int nRequirement)
nRequirement - the requirement statuspublic String getTypeQuiz()
public void setTypeQuiz(String strTypeQuiz)
strTypeQuiz - the _strTypeQuiz to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||