| Constructor and Description |
|---|
FieldDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nFieldId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Field |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the field from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Field> |
selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the fields and returns them as a List
|
void |
store(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Field load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nFieldId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Field> selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldsList in interface IFieldDAOplugin - The pluginCopyright © 2019 City of Paris. All rights reserved.