public final class FieldHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Field |
create(Field field)
Create an instance of the field class
|
static Field |
findByPrimaryKey(int nKey)
Returns an instance of a field whose identifier is specified in parameter
|
static List<Field> |
getFieldsList()
Load the data of all the field objects and returns them in form of a list
|
static void |
remove(int nFieldId)
Remove the field whose identifier is specified in parameter
|
static Field |
update(Field field)
Update of the field which is specified in parameter
|
public static Field create(Field field)
field - The instance of the Field which contains the informations to storepublic static Field update(Field field)
field - The instance of the Field which contains the data to storepublic static void remove(int nFieldId)
nFieldId - The field Idpublic static Field findByPrimaryKey(int nKey)
nKey - The field primary keyCopyright © 2015 City of Paris. All rights reserved.