public interface IAnswerDAO
| Modifier and Type | Method and Description |
|---|---|
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
|
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 Pluginvoid store(Answer answer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
answer - the reference of the Answerplugin - the Pluginvoid delete(int nIdAnswer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAnswer - int identifier of the Answer to deleteplugin - the PluginAnswer load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the answerplugin - the PluginList<Answer> selectAnswersList(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginnIdQuestion - the id of the questionvoid deleteAnswersByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdQuestion - The question IDplugin - The pluginboolean isAnswersWithProfil(int nIdProfil,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdProfil - The identifier of the profilplugin - The plugintrue if there is at least one answer with profil,
false otherwiseCopyright © 2015 City of Paris. All rights reserved.