public class QuizParticipantDAO extends Object implements IQuizParticipantDAO
| Constructor and Description |
|---|
QuizParticipantDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteParticipantsByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
QuizParticipant |
findByIdentifiantAndQuizId(String identifiant,
int idQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a participant by this identifiant and by quiz
|
void |
insert(QuizParticipant quizParticipant,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
List<QuizParticipant> |
selectParticipantsList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of the participants of a quiz
|
public void insert(QuizParticipant quizParticipant, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IQuizParticipantDAOquizParticipant - The Instance of the object QuizParticipantplugin - the pluginpublic void deleteParticipantsByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteParticipantsByQuiz in interface IQuizParticipantDAOnIdQuiz - The indentifier of the object QuizParticipantplugin - the pluginpublic List<QuizParticipant> selectParticipantsList(int nIdQuiz, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectParticipantsList in interface IQuizParticipantDAOnIdQuiz - The Quiz identifierplugin - the pluginpublic QuizParticipant findByIdentifiantAndQuizId(String identifiant, int idQuiz, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByIdentifiantAndQuizId in interface IQuizParticipantDAOidentifiant - the participant identifiantidQuiz - the quiz idplugin - the pluginCopyright © 2019 City of Paris. All rights reserved.