public interface IResponseDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a response from its id
|
int |
getMaxNumber(int nIdEntry,
int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the max number from a given id resource
|
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
|
void insert(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
response
- instance of the Response object to insertplugin
- the pluginResponse load(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse
- The identifier of the entryplugin
- the pluginvoid delete(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResponse
- The identifier of the responseplugin
- the pluginvoid store(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
response
- instance of the response object to updateplugin
- the pluginList<Response> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginList<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- the id of the entryplugin
- the pluginint getMaxNumber(int nIdEntry, int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- the id of the entrynIdResource
- the id resourcestrResourceType
- The resource typeplugin
- Plugin
Copyright © 2018 City of Paris. All rights reserved.