|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnswerDAO
IAnswerDAO Interface
| Method Summary | |
|---|---|
void |
delete(int nIdAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteAnswersByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete answer for a question |
void |
deleteAnswersByQuiz(java.util.Collection<QuizQuestion> questionList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete answer for a quiz |
void |
insert(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Answer |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
java.util.List<Answer> |
selectAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the answer objects and returns them as a List |
void |
store(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion - The question Idanswer - instance of the Answer object to inssertplugin - the Plugin
void store(Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
answer - the reference of the Answerplugin - the Plugin
void delete(int nIdAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAnswer - int identifier of the Answer to deleteplugin - the Plugin
Answer load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the answerplugin - the Plugin
java.util.List<Answer> selectAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginnIdQuestion - the id of the question
void deleteAnswersByQuiz(java.util.Collection<QuizQuestion> questionList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
questionList - The question listplugin - The plugin
void deleteAnswersByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion - The question IDplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||