public final class FormHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copy(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of Form
|
static int |
create(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of Form
|
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
|
static 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
|
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
|
static void |
remove(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the form whose identifier is specified in parameter
|
static void |
update(Form form,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the form which is specified in parameter
|
public static int create(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form
- The instance of the Form which contains the informations to storeplugin
- the Pluginpublic static void copy(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form
- The instance of the Form who must copyplugin
- the Pluginpublic static void update(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form
- The instance of the Form which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- The form Idplugin
- the Pluginpublic static Form findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The entry primary keyplugin
- the Pluginpublic static List<Form> getFormList(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginpublic static fr.paris.lutece.util.ReferenceList getFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.