public final class FormSubmitDAO extends Object implements IFormSubmitDAO
| Constructor and Description | 
|---|
| FormSubmitDAO() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | delete(int nIdFormSubmit,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete  all  response  associate to the form submit whose identifier is specified in parameter | 
| int | insert(FormSubmit formSubmit,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table. | 
| FormSubmit | load(int nIdFormSubmit,
    fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the formResponse from the table | 
| int | selectCountByFilter(ResponseFilter filter,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the formSubmit who verify the filter and returns them in a  list | 
| List<FormSubmit> | selectListByFilter(ResponseFilter filter,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the formSubmit who verify the filter and returns them in a  list | 
| List<StatisticFormSubmit> | selectStatisticFormSubmit(ResponseFilter filter,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the number of formSubmit group by day  who verify the filter and returns them in a  list of statistic | 
| void | store(FormSubmit formSubmit,
     fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the the formSubmit in the table | 
public int insert(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFormSubmitDAOformSubmit - instance of the formResponse object to insertplugin - the pluginpublic FormSubmit load(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFormSubmitDAOnIdFormSubmit - The identifier of the formResponseplugin - the pluginpublic void delete(int nIdFormSubmit,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFormSubmitDAOnIdFormSubmit - The identifier of the formResponseplugin - the pluginpublic void store(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFormSubmitDAOformSubmit - instance of the formSubmit object to updateplugin - the pluginpublic List<FormSubmit> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IFormSubmitDAOfilter - the filterplugin - the pluginpublic int selectCountByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface IFormSubmitDAOfilter - the filterplugin - the pluginpublic List<StatisticFormSubmit> selectStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectStatisticFormSubmit in interface IFormSubmitDAOfilter - the filterplugin - the pluginCopyright © 2019 City of Paris. All rights reserved.