|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.genericattributes.business.ResponseDAO
public final class ResponseDAO
This class provides Data Access methods for Response objects
| Constructor Summary | |
|---|---|
ResponseDAO()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseDAO()
| Method Detail |
|---|
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 plugin
public Response load(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IResponseDAOnIdResponse - The identifier of the entryplugin - the plugin
public void delete(int nIdResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IResponseDAOnIdResponse - The identifier of the responseplugin - the plugin
public void store(Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IResponseDAOresponse - instance of the response object to updateplugin - the plugin
public List<Response> selectListByFilter(ResponseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IResponseDAOfilter - the filterplugin - the plugin
public List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getStatisticByIdEntry in interface IResponseDAOnIdEntry - the id of the entryplugin - the plugin
public int getMaxNumber(int nIdEntry,
int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getMaxNumber in interface IResponseDAOnIdEntry - the id of the entrynIdResource - the id resourcestrResourceType - The resource typeplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||