Interface ITemplateFieldDAO
-
- All Known Implementing Classes:
TemplateFieldDAO
public interface ITemplateFieldDAOIFieldDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableintinsert(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.Fieldload(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the Field from the tableList<fr.paris.lutece.plugins.genericattributes.business.Field>loadByCode(String code, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load all Fields by codeList<fr.paris.lutece.plugins.genericattributes.business.Field>selectFieldListByIdEntry(int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the field of the entry and returns them in a listvoidstore(fr.paris.lutece.plugins.genericattributes.business.Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the field in the table
-
-
-
Method Detail
-
insert
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.- Parameters:
field- instance of the Field object to insertplugin- the plugin- Returns:
- the new field create
-
store
void store(fr.paris.lutece.plugins.genericattributes.business.Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the field in the table- Parameters:
field- instance of the Field object to updateplugin- the plugin
-
delete
void delete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdField- The identifier of the fieldplugin- the plugin
-
load
fr.paris.lutece.plugins.genericattributes.business.Field load(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the Field from the table- Parameters:
nIdField- The identifier of the fieldplugin- the plugin- Returns:
- the instance of the Field
-
selectFieldListByIdEntry
List<fr.paris.lutece.plugins.genericattributes.business.Field> selectFieldListByIdEntry(int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field of the entry and returns them in a list- Parameters:
idEntry- the id of the entryplugin- the plugin- Returns:
- the list of field
-
-