public final class ResponseHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of response
|
static Response |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Response whose identifier is specified in parameter
|
static List<Response> |
getResponseList(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
|
static List<StatisticEntrySubmit> |
getStatisticByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return a list of statistic on the entry
|
static void |
remove(int nIdFormSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all response associate to the form submit whose identifier is specified in parameter
|
static void |
update(Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the response which is specified in parameter
|
public static void create(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
response
- The instance of the response which contains the informations to storeplugin
- the Pluginpublic static void update(Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
response
- The instance of the Response which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFormSubmit
- The formSubmitKeyplugin
- the Pluginpublic static Response findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The entry primary keyplugin
- the Pluginpublic static List<Response> getResponseList(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginpublic static List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- the id of the entryplugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.