public final class TemplateFieldDAO extends Object implements ITemplateFieldDAO
| Constructor and Description |
|---|
TemplateFieldDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(fr.paris.lutece.plugins.genericattributes.business.Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.plugins.genericattributes.business.Field |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Field from the table
|
List<fr.paris.lutece.plugins.genericattributes.business.Field> |
loadByCode(String code,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all Fields by code
|
List<fr.paris.lutece.plugins.genericattributes.business.Field> |
selectFieldListByIdEntry(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
|
void |
store(fr.paris.lutece.plugins.genericattributes.business.Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the field in the table
|
public int insert(fr.paris.lutece.plugins.genericattributes.business.Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITemplateFieldDAOfield - instance of the Field object to insertplugin - the pluginpublic fr.paris.lutece.plugins.genericattributes.business.Field load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITemplateFieldDAOnId - The identifier of the fieldplugin - the pluginpublic void delete(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITemplateFieldDAOnIdField - The identifier of the fieldplugin - the pluginpublic void store(fr.paris.lutece.plugins.genericattributes.business.Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITemplateFieldDAOfield - instance of the Field object to updateplugin - the pluginpublic List<fr.paris.lutece.plugins.genericattributes.business.Field> selectFieldListByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateFieldDAOselectFieldListByIdEntry in interface ITemplateFieldDAOnIdEntry - the id of the entryplugin - the pluginpublic List<fr.paris.lutece.plugins.genericattributes.business.Field> loadByCode(String code, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITemplateFieldDAOloadByCode in interface ITemplateFieldDAOCopyright © 2022 City of Paris. All rights reserved.