public final class FieldHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copy(Field field)
Copy of an instance of field
|
static int |
create(Field field)
Creation of an instance of field
|
static void |
createVerifyBy(int nIdField,
int nIdExpression)
Insert an association between field and a regular expression
|
static Field |
findByPrimaryKey(int nKey)
Returns an instance of a Field whose identifier is specified in parameter
|
static List<Field> |
getFieldListByIdEntry(int nIdEntry)
Load the data of all the field of the entry and returns them in a list
|
static List<Field> |
getFieldListByListIdEntry(List<Integer> idList)
Load the data of all the field of the list of entry entry and returns them in a list
|
static List<Integer> |
getListRegularExpressionKeyByIdField(int nIdField)
Load the key of all the regularExpression associate to the field and returns them in a list
|
static boolean |
isRegularExpressionIsUse(int nIdExpression)
Verify if the regular expression is use
|
static void |
remove(int nIdField)
Remove the field whose identifier is specified in parameter
|
static void |
removeVerifyBy(int nIdField,
int nIdExpression)
Delete an association between field and a regular expression
|
static void |
update(Field field)
Update of the field which is specified in parameter
|
public static int create(Field field)
field
- The instance of the Field which contains the informations to storepublic static void copy(Field field)
field
- The instance of the Field who must copypublic static void update(Field field)
field
- The instance of the Field which contains the informations to updatepublic static void remove(int nIdField)
nIdField
- The field Idpublic static Field findByPrimaryKey(int nKey)
nKey
- The field primary keypublic static List<Field> getFieldListByIdEntry(int nIdEntry)
nIdEntry
- the id of the entrypublic static void removeVerifyBy(int nIdField, int nIdExpression)
nIdField
- The identifier of the fieldnIdExpression
- The identifier of the regular expressionpublic static void createVerifyBy(int nIdField, int nIdExpression)
nIdField
- The identifier of the fieldnIdExpression
- The identifier of the regular expressionpublic static List<Integer> getListRegularExpressionKeyByIdField(int nIdField)
nIdField
- the id of the fieldpublic static boolean isRegularExpressionIsUse(int nIdExpression)
nIdExpression
- The identifier of the regular expressionCopyright © 2020 City of Paris. All rights reserved.