|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.modules.games.service.RandService
public class RandService
Rand Service
| Constructor Summary | |
|---|---|
RandService()
|
|
| Method Summary | |
|---|---|
QuizParticipant |
create(QuizParticipant quizParticipant,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of an article QuizParticipant |
java.util.List<QuizParticipant> |
findAllValidByQuizId(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns QuizParticipant list |
QuizParticipant |
findByIdentifiantAndQuizId(java.lang.String identifiant,
int idQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a participant by this identifiant and by quiz |
void |
removeParticipantsByQuiz(int nQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the QuizParticipant instance whose identifier is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandService()
| Method Detail |
|---|
public QuizParticipant create(QuizParticipant quizParticipant,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
quizParticipant - An instance of the QuizParticipant which contains
the informations to storeplugin - the plugin
public void removeParticipantsByQuiz(int nQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nQuiz - The identifier of the article QuizParticipant to delete in
the databaseplugin - the plugin
public java.util.List<QuizParticipant> findAllValidByQuizId(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginnIdQuiz - The identifier of the article Quiz to find it in the
database
public QuizParticipant findByIdentifiantAndQuizId(java.lang.String identifiant,
int idQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
identifiant - the participant identifiantidQuiz - the quiz idplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||