public interface ITemplateQuestionDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(fr.paris.lutece.plugins.forms.business.Question question,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.plugins.forms.business.Question |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<fr.paris.lutece.plugins.forms.business.Question> |
selectQuestionsListByTemplate(int nIdTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by step and returns them as a list
|
void |
store(fr.paris.lutece.plugins.forms.business.Question question,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(fr.paris.lutece.plugins.forms.business.Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
question
- instance of the Question object to insertplugin
- the Pluginvoid store(fr.paris.lutece.plugins.forms.business.Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
question
- the reference of the Questionplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Question to deleteplugin
- the Pluginfr.paris.lutece.plugins.forms.business.Question load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the questionplugin
- the PluginList<fr.paris.lutece.plugins.forms.business.Question> selectQuestionsListByTemplate(int nIdTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginnIdTemplate
- the template idCopyright © 2022 City of Paris. All rights reserved.