Interface ITemplateQuestionDAO
-
- All Known Implementing Classes:
TemplateQuestionDAO
public interface ITemplateQuestionDAOITemplateQuestionDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(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.Questionload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<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 listvoidstore(fr.paris.lutece.plugins.forms.business.Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
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.- Parameters:
question- instance of the Question object to insertplugin- the Plugin
-
store
void store(fr.paris.lutece.plugins.forms.business.Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table- Parameters:
question- the reference of the Questionplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the Question to deleteplugin- the Plugin
-
load
fr.paris.lutece.plugins.forms.business.Question load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table- Parameters:
nKey- The identifier of the questionplugin- the Plugin- Returns:
- The instance of the question
-
selectQuestionsListByTemplate
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- Parameters:
plugin- the PluginnIdTemplate- the template id- Returns:
- The list which contains the data of all the question objects
-
-