|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.QuizDAO
public class QuizDAO
This class provides Data Access methods for Quiz objects
| Constructor Summary | |
|---|---|
QuizDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Quiz |
load(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of Quiz from the table |
Quiz |
loadLastQuiz(fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of Quiz from the table |
java.util.Collection<Quiz> |
selectQuizEnabledList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return A Quiz Collection |
java.util.Collection<Quiz> |
selectQuizList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return A Quiz Collection |
void |
store(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuizDAO()
| Method Detail |
|---|
public void insert(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IQuizDAOquiz - The Instance of the object Quizplugin - the pluginpublic java.util.Collection<Quiz> selectQuizList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuizList in interface IQuizDAOplugin - the plugin
public java.util.Collection<Quiz> selectQuizEnabledList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuizEnabledList in interface IQuizDAOplugin - the plugin
public void delete(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IQuizDAOnIdQuiz - The indentifier of the object Quizplugin - the plugin
public Quiz load(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IQuizDAOnIdQuiz - The indentifier of the object Quizplugin - the plugin
public Quiz loadLastQuiz(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadLastQuiz in interface IQuizDAOplugin - the plugin
public void store(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IQuizDAOquiz - The instance of the Quiz to updateplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||