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<Integer> |
getAnonymizeEntryList(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of entries of a form to anonymize
|
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 List<Form> |
getFormListForAutomaticCleaning(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of forms that must be cleaned automatically.
|
static Map<Integer,fr.paris.lutece.portal.business.style.Theme> |
getXPageThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the xpage themes for all forms
|
static void |
insertAnonymizeEntry(int nIdForm,
int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert an entry in the anonymize entries table
|
static void |
remove(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the form whose identifier is specified in parameter
|
static void |
removeAnonymizeEntry(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove entries in the anonymize entries table
|
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 List<Form> getFormListForAutomaticCleaning(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginpublic static fr.paris.lutece.util.ReferenceList getFormList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginpublic static Map<Integer,fr.paris.lutece.portal.business.style.Theme> getXPageThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginpublic static List<Integer> getAnonymizeEntryList(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- The id of the formplugin
- The pluginpublic static void insertAnonymizeEntry(int nIdForm, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- The id of the form the entry is associated withnIdEntry
- The id of the entry to anonymizeplugin
- The pluginpublic static void removeAnonymizeEntry(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- The id of the formplugin
- The pluginCopyright © 2016 City of Paris. All rights reserved.