Class FormHome
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.FormHome
-
public final class FormHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for ReportingProject objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopy(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Copy of an instance of Formstatic intcreate(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of Formstatic FormfindByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an instance of a Form whose identifier is specified in parameterstatic java.util.List<Form>getFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the form who verify the filter and returns them in a liststatic fr.paris.lutece.util.ReferenceListgetFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all enable form returns them in a reference liststatic voidremove(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the form whose identifier is specified in parameterstatic voidupdate(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of the form which is specified in parameter
-
-
-
Method Detail
-
create
public static int create(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Form- Parameters:
form- The instance of the Form which contains the informations to storeplugin- the Plugin- Returns:
- The primary key of the new form.
-
copy
public static void copy(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Form- Parameters:
form- The instance of the Form who must copyplugin- the Plugin
-
update
public static void update(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the form which is specified in parameter- Parameters:
form- The instance of the Form which contains the informations to updateplugin- the Plugin
-
remove
public static void remove(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the form whose identifier is specified in parameter- Parameters:
nIdForm- The form Idplugin- the Plugin
-
findByPrimaryKey
public static Form findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Form whose identifier is specified in parameter- Parameters:
nKey- The entry primary keyplugin- the Plugin- Returns:
- an instance of Form
-
getFormList
public static java.util.List<Form> getFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the form who verify the filter and returns them in a list- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list of form
-
getFormList
public static fr.paris.lutece.util.ReferenceList getFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all enable form returns them in a reference list- Parameters:
plugin- the plugin- Returns:
- a reference list of enable form
-
-