|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IQuestionGroupDAO
IQuestionGroupDAO Interface
| Method Summary | |
|---|---|
void |
changePositionDown(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move down a group |
void |
changePositionUp(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Move up a group |
void |
delete(int nIdQuiz,
int nIdGroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete for a quiz |
int |
findLastByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the id of last group in quiz |
boolean |
hasGroupDisplayScore(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a quiz has a free HTML group that will display the score of the quiz |
void |
insert(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
QuestionGroup |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
QuestionGroup |
selectQuestionGroupByPosition(int nIdQuiz,
int nPosition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a group by its quiz and position |
List<QuestionGroup> |
selectQuestionGroupsList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the group objects and returns them as a List |
fr.paris.lutece.util.ReferenceList |
selectQuestionGroupsReferenceList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of groups |
void |
store(QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The quiz IDgroup - instance of the QuestionGroup object to inssertplugin - the Plugin
void store(QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
group - the reference of the QuestionGroupplugin - the Plugin
void delete(int nIdQuiz,
int nIdGroup,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The Quiz IDnIdGroup - int identifier of the QuestionGroup to deleteplugin - the Plugin
QuestionGroup load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the groupplugin - the Plugin
List<QuestionGroup> selectQuestionGroupsList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The Quiz Idplugin - the Plugin
fr.paris.lutece.util.ReferenceList selectQuestionGroupsReferenceList(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The Quiz IDplugin - The plugin
void deleteByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The Quiz IDplugin - The plugin
void changePositionUp(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The quiz Idgroup - The groupplugin - The plugin
void changePositionDown(int nIdQuiz,
QuestionGroup group,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The quiz Idgroup - The groupplugin - The plugin
QuestionGroup selectQuestionGroupByPosition(int nIdQuiz,
int nPosition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The quiz IDnPosition - The position of the required groupplugin - the Plugin
int findLastByQuiz(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - the quiz idplugin - the plugin
boolean hasGroupDisplayScore(int nIdQuiz,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuiz - The id of the quizplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||