|
||||||||||
| 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 |
insert(int nIdQuestion,
Answer answer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
boolean |
isAnswersWithProfil(int nIdProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the answer from the table |
Answer |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
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
List<Answer> selectAnswersList(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginnIdQuestion - the id of the question
void deleteAnswersByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion - The question IDplugin - The plugin
boolean isAnswersWithProfil(int nIdProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdProfil - The identifier of the profilplugin - The plugin
true if there is at least one answer with profil,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||