Interface IResponseDAO
-
- All Known Implementing Classes:
ResponseDAO
public interface IResponseDAOinterface IResponseDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a response from its idintgetMaxNumber(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the max number from a given id resourceList<StatisticEntrySubmit>getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)return a list of statistic on the entryvoidinsert(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Responseload(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the response from the tableList<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 listvoidstore(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the the response in the tablevoidstoreFileKey(int nIdResponse, String strFileKey, String strFileOrigin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
-
-
Method Detail
-
insert
void insert(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
response- instance of the Response object to insertplugin- the plugin
-
load
Response load(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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 nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a response from its id- Parameters:
nIdResponse- The identifier of the responseplugin- the plugin
-
store
void store(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
-
getMaxNumber
int getMaxNumber(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the max number from a given id resource- Parameters:
nIdEntry- the id of the entryplugin-Plugin- Returns:
- the max number
-
-