|
||||||||||
| 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 |
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 responseplugin - the plugin
public void delete(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IResponseDAOnIdFormSubmit - The identifier of the formSubmitplugin - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||