|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.ResponseDAO
public final class ResponseDAO
This class provides Data Access methods for Response objects
Constructor Summary | |
---|---|
ResponseDAO()
|
Method Summary | |
---|---|
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 |
java.util.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 |
java.util.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 IResponseDAO
response
- instance of the Response object to insertplugin
- the pluginpublic Response load(int nIdResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IResponseDAO
nIdResponse
- The identifier of the responseplugin
- the plugin
public void delete(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IResponseDAO
nIdFormSubmit
- The identifier of the formSubmitplugin
- the pluginpublic void store(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IResponseDAO
response
- instance of the response object to updateplugin
- the pluginpublic java.util.List<Response> selectListByFilter(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter
in interface IResponseDAO
filter
- the filterplugin
- the plugin
public java.util.List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getStatisticByIdEntry
in interface IResponseDAO
nIdEntry
- the id of the entryplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |