public final class QuizProfileHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static QuizProfile |
create(QuizProfile profile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article Quiz profile
|
static Collection<QuizProfile> |
findAll(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all profiles for a quiz
|
static QuizProfile |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a profile with its id
|
static String |
getName(int nIdProfile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the name of a profile
|
static void |
remove(int nIdProfile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a profile
|
static void |
removeProfilesByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every profiles associated with a given quiz
|
static fr.paris.lutece.util.ReferenceList |
selectQuizProfilsReferenceList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of profile
|
static void |
update(QuizProfile quizProfile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a profile
|
public static QuizProfile create(QuizProfile profile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
profile - An instance of the Quiz profile which contains the
informations to
storeplugin - the pluginpublic static fr.paris.lutece.util.ReferenceList selectQuizProfilsReferenceList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The quiz IDplugin - plugin Quizpublic static QuizProfile findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the id to loadplugin - plugin Quizpublic static String getName(int nIdProfile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdProfile - The profile IDplugin - plugin Quizpublic static Collection<QuizProfile> findAll(int nIdQuiz, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - the id quizplugin - plugin Quizpublic static void remove(int nIdProfile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdProfile - The id of the profile to removeplugin - The pluginpublic static void update(QuizProfile quizProfile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
quizProfile - The profile to updateplugin - The pluginpublic static void removeProfilesByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The id of the quizplugin - The pluginCopyright © 2015 City of Paris. All rights reserved.