Interface IFormSubmitDAO
- All Known Implementing Classes:
FormSubmitDAO
public interface IFormSubmitDAO
Interface IFormSubmitDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tableintinsert(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of the formResponse from the tableintselectCountByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the formResponse who verify the filter and returns them in a listselectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the formResponse who verify the filter and returns them in a listselectStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the number of formSubmit who verify the filter and returns them in a list of statisticvoidstore(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the the formResponse in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
formResponse- instance of the formResponse object to insertplugin- the plugin- Returns:
- the key of the new formResponse
-
load
Load the data of the formResponse from the table- Parameters:
nIdFormResponse- The identifier of the formResponseplugin- the plugin- Returns:
- the instance of the formResponse
-
delete
void delete(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdFormResponse- The identifier of the formResponseplugin- the plugin
-
store
Update the the formResponse in the table- Parameters:
formResponse- instance of the formResponse object to updateplugin- the plugin
-
selectListByFilter
List<FormSubmit> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the formResponse who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of formResponse
-
selectCountByFilter
Load the data of all the formResponse who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of formResponse
-
selectStatisticFormSubmit
List<StatisticFormSubmit> selectStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the number of formSubmit who verify the filter and returns them in a list of statistic- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of statistic
-