public final class QuizHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Quiz |
create(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article Quiz
|
static Collection<Quiz> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns Quiz list
|
static Collection<Quiz> |
findAllEnabled(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns Quiz list
|
static Quiz |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of the article Quiz whose identifier is specified in
parameter
|
static Quiz |
findLastQuiz(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the last quiz
|
static void |
remove(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the Quiz instance whose identifier is specified in parameter
|
static Quiz |
update(Quiz quiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates of the Quiz instance specified in parameter
|
public static Quiz create(Quiz quiz, fr.paris.lutece.portal.service.plugin.Plugin plugin)
quiz - An instance of the Quiz which contains the informations to
storeplugin - the pluginpublic static Quiz update(Quiz quiz, fr.paris.lutece.portal.service.plugin.Plugin plugin)
quiz - An instance of the Quiz which contains the informations to
storeplugin - the pluginpublic static void remove(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The identifier of the article Quiz to delete in the
databaseplugin - the pluginpublic static Quiz findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The primary key of the article to find in the databaseplugin - the pluginpublic static Collection<Quiz> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic static Collection<Quiz> findAllEnabled(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic static Quiz findLastQuiz(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginCopyright © 2015 City of Paris. All rights reserved.