Class FormSubmitHome
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.FormSubmitHome
-
public final class FormSubmitHome extends java.lang.Objectclass FormSubmitHome
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcreate(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of formSubmitstatic FormSubmitfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a FormSubmitwhose identifier is specified in parameterstatic intgetCountFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the formSubmit who verify the filter and returns them in a liststatic java.util.List<FormSubmit>getFormSubmitList(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the formSubmit who verify the filter and returns them in a liststatic java.util.List<StatisticFormSubmit>getStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the number of formSubmit who verify the filter and returns them in a list of statisticstatic voidremove(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the formSubmit whose identifier is specified in parameterstatic voidupdate(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the formSubmit which is specified in parameter
-
-
-
Method Detail
-
create
public static int create(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of formSubmit- Parameters:
formSubmit- The instance of the formSubmit which contains the informations to storeplugin- the Plugin- Returns:
- the id of the new form submit
-
update
public static void update(FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the formSubmit which is specified in parameter- Parameters:
formSubmit- The instance of the FormSubmit which contains the informations to updateplugin- the Plugin
-
remove
public static void remove(int nIdFormSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the formSubmit whose identifier is specified in parameter- Parameters:
nIdFormSubmit- The formSubmitIdplugin- the Plugin
-
findByPrimaryKey
public static FormSubmit findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a FormSubmitwhose identifier is specified in parameter- Parameters:
nKey- The formResponse primary keyplugin- the Plugin- Returns:
- an instance of FormResponse
-
getFormSubmitList
public static java.util.List<FormSubmit> getFormSubmitList(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formSubmit who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of formSubmit
-
getCountFormSubmit
public static int getCountFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the formSubmit who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of formSubmit
-
getStatisticFormSubmit
public static java.util.List<StatisticFormSubmit> getStatisticFormSubmit(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of formSubmit who verify the filter and returns them in a list of statistic- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of statistic
-
-