Interface IResponseDAO
- All Known Implementing Classes:
ResponseDAO
public interface IResponseDAO
interface IResponseDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete all response associate to the form submit whose identifier is specified in parametergetStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) return a list of statistic on the entryvoidInsert a new record in the table.load(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of the response from the tableselectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the response who verify the filter and returns them in a listvoidUpdate the the response in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
response- instance of the Response object to insertplugin- the plugin
-
load
Load the data of the response from the table- Parameters:
nIdResponse- The identifier of the entryplugin- the plugin- Returns:
- the instance of the Entry
-
delete
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- Parameters:
nIdFormSubmit- The identifier of the formSubmitplugin- the plugin
-
store
Update the the response in the table- Parameters:
response- instance of the response object to updateplugin- the plugin
-
selectListByFilter
List<Response> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the response who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of response
-
getStatisticByIdEntry
List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin) return a list of statistic on the entry- Parameters:
nIdEntry- the id of the entryplugin- the plugin- Returns:
- return a list of statistic on the entry
-