public final class ResponseDAO extends Object implements IResponseDAO
| Constructor and Description |
|---|
ResponseDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all responses associate to the form submit whose identifier is specified in parameter
|
List<StatisticEntrySubmit> |
getStatisticByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return a list of statistic on the entry
|
void |
insert(Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Response |
load(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the response from the table
|
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
|
void |
store(Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the response in the table
|
public void insert(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IResponseDAOresponse - instance of the Response object to insertplugin - the pluginpublic Response load(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IResponseDAOnIdResponse - The identifier of the responseplugin - the pluginpublic void delete(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IResponseDAOnIdFormSubmit - The identifier of the formSubmitplugin - the pluginpublic void store(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IResponseDAOresponse - instance of the response object to updateplugin - the pluginpublic List<Response> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IResponseDAOfilter - the filterplugin - the pluginpublic List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getStatisticByIdEntry in interface IResponseDAOnIdEntry - the id of the entryplugin - the pluginCopyright © 2022 City of Paris. All rights reserved.