|
||||||||||
| 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 |
java.lang.String |
getCgu()
Gets the CGU |
java.lang.String |
getConclusion()
Returns the conclusion of this quiz. |
java.util.Date |
getDateBeginDisponibility()
Return the date begin of the publication |
java.sql.Timestamp |
getDateCreation()
|
java.util.Date |
getDateEndDisponibility()
|
int |
getIdQuiz()
Returns the identifier of this Quiz. |
byte[] |
getImg()
Returns the Value |
java.lang.String |
getIntroduction()
Returns the name of this quiz. |
java.lang.String |
getName()
Returns the name of this quiz. |
java.util.Collection |
getQuestions()
Returns a collection of questions |
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(java.lang.String strCgu)
Sets CGU |
void |
setConclusion(java.lang.String strConclusion)
Sets the conclusion of the quiz to the specified string |
void |
setDateBeginDisponibility(java.util.Date dateBeginDisponibility)
Define the date begin of the publication |
void |
setDateCreation(java.sql.Timestamp dateCreation)
set the creation date |
void |
setDateEndDisponibility(java.util.Date dateEndDisponibility)
set the date of end disponibility |
void |
setIdQuiz(int nIdQuiz)
Sets the identifier of the quiz to the specified integer. |
void |
setIntroduction(java.lang.String strIntroduction)
Sets the introduction of the quiz to the specified string |
void |
setName(java.lang.String strName)
Sets the name of the quiz to the specified string |
void |
setQuestions(java.util.Collection questions)
Sets the list of questions on a Collection |
void |
setStatus(int status)
Set The Boolean status |
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 java.lang.String getName()
public void setName(java.lang.String strName)
strName - The new namepublic boolean isEnabled()
public void setStatus(int status)
status - The Statuspublic java.util.Collection getQuestions()
public void setQuestions(java.util.Collection questions)
questions - The Collection of quetsionspublic java.lang.String getIntroduction()
public void setIntroduction(java.lang.String strIntroduction)
strIntroduction - The new namepublic java.lang.String getConclusion()
public void setConclusion(java.lang.String strConclusion)
strConclusion - The conclusionpublic java.lang.String getCgu()
public void setCgu(java.lang.String strCgu)
strCgu - The CGU to setpublic void setDateBeginDisponibility(java.util.Date dateBeginDisponibility)
dateBeginDisponibility - The date begin of the publicationpublic java.util.Date getDateBeginDisponibility()
public java.util.Date getDateEndDisponibility()
public void setDateEndDisponibility(java.util.Date dateEndDisponibility)
dateEndDisponibility - the date of end disponibilitypublic java.sql.Timestamp getDateCreation()
public void setDateCreation(java.sql.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 status
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||