|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.service.outputprocessor.QuizOutputProcessorManagementService
public final class QuizOutputProcessorManagementService
Service to manage quiz output processors.
| Method Summary | |
|---|---|
void |
changeProcessorEnabling(String strProcessorId,
int nIdQuiz)
Enable or disable a processor for a given quiz. |
void |
disableProcessors(int nIdQuiz)
Disable every enabled processors for a given quiz |
static QuizOutputProcessorManagementService |
getInstance()
Get the instance of the service |
IQuizOutputProcessor |
getProcessor(String strProcessorId)
Get a processor from its id |
List<IQuizOutputProcessor> |
getProcessorsList()
Get the list of every processors |
boolean |
isProcessorEnabled(String strProcessorId,
int nIdQuiz)
Check if a processor is enabled or not for a given quiz |
void |
processEnabledProcessors(Map<String,String[]> mapAnswers,
String strScore,
int nIdQuiz)
Process every enabled processors for a given quiz over answers made by a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static QuizOutputProcessorManagementService getInstance()
public List<IQuizOutputProcessor> getProcessorsList()
public IQuizOutputProcessor getProcessor(String strProcessorId)
strProcessorId - The id of the processor to get
public boolean isProcessorEnabled(String strProcessorId,
int nIdQuiz)
strProcessorId - The id of the processor to checknIdQuiz - The id of the quiz
public void changeProcessorEnabling(String strProcessorId,
int nIdQuiz)
nIdQuiz - The id of the quizstrProcessorId - The id of the processor to enable or disablepublic void disableProcessors(int nIdQuiz)
nIdQuiz - the id of the quiz to disable processors of
public void processEnabledProcessors(Map<String,String[]> mapAnswers,
String strScore,
int nIdQuiz)
mapAnswers - the map containing answersnIdQuiz - The id of the answered quiz
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||