public final class FieldHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of field
|
static int |
create(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of field
|
static void |
createVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert an association between field and a regular expression
|
static Field |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Field whose identifier is specified in parameter
|
static List<Field> |
getFieldListByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field of the entry and returns them in a list
|
static List<Integer> |
getListRegularExpressionKeyByIdField(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the key of all the regularExpression associate to the field and returns them in a list
|
static boolean |
isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
verify if the regular expresssion is use
|
static void |
remove(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the field whose identifier is specified in parameter
|
static void |
removeVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an association between field and a regular expression
|
static void |
update(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the field which is specified in parameter
|
public static int create(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field - The instance of the Field which contains the informations to storeplugin - the Pluginpublic static void copy(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field - The instance of the Field who must copyplugin - the Pluginpublic static void update(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field - The instance of the Field which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField - The field Idplugin - the Pluginpublic static Field findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The field primary keyplugin - the Pluginpublic static List<Field> getFieldListByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry - the id of the entryplugin - the pluginpublic static void removeVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the pluginpublic static void createVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the pluginpublic static List<Integer> getListRegularExpressionKeyByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField - the id of the fieldplugin - the pluginpublic static boolean isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdExpression - The identifier of the regular expressionplugin - the pluginCopyright © 2017 City of Paris. All rights reserved.