Class QuizGeneratedQuestionDAO
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.QuizGeneratedQuestionDAO
- All Implemented Interfaces:
IQuizGeneratedQuestionDAO
@ApplicationScoped
public class QuizGeneratedQuestionDAO
extends Object
implements IQuizGeneratedQuestionDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidinsert(QuizGeneratedQuestion question, fr.paris.lutece.portal.service.plugin.Plugin plugin) load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidmarkAsDiscarded(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidmarkAsImported(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectPendingByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidstore(QuizGeneratedQuestion question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
Constructor Details
-
QuizGeneratedQuestionDAO
public QuizGeneratedQuestionDAO()
-
-
Method Details
-
insert
public void insert(QuizGeneratedQuestion question, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
insertin interfaceIQuizGeneratedQuestionDAO
-
load
public Optional<QuizGeneratedQuestion> load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
loadin interfaceIQuizGeneratedQuestionDAO
-
store
public void store(QuizGeneratedQuestion question, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
storein interfaceIQuizGeneratedQuestionDAO
-
delete
public void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
deletein interfaceIQuizGeneratedQuestionDAO
-
selectByWorkflow
public List<QuizGeneratedQuestion> selectByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
selectByWorkflowin interfaceIQuizGeneratedQuestionDAO
-
selectPendingByWorkflow
public List<QuizGeneratedQuestion> selectPendingByWorkflow(int nIdWorkflow, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
selectPendingByWorkflowin interfaceIQuizGeneratedQuestionDAO
-
markAsImported
public void markAsImported(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
markAsImportedin interfaceIQuizGeneratedQuestionDAO
-
markAsDiscarded
public void markAsDiscarded(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
markAsDiscardedin interfaceIQuizGeneratedQuestionDAO
-