fr.paris.lutece.plugins.search.solr.business.field
Interface IFieldDAO

All Known Implementing Classes:
FieldDAO

public interface IFieldDAO

IFieldDAO Interface


Method Summary
 void delete(int nIdField, 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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.util.List<Field> selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the field objects and returns them as a List
 void store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(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 inssert
plugin - the Plugin

store

void store(Field field,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
field - the reference of the Field
plugin - the Plugin

delete

void delete(int nIdField,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdField - int identifier of the Field to delete
plugin - the Plugin

load

Field load(int nKey,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the field
plugin - the Plugin
Returns:
The instance of the field

selectFieldsList

java.util.List<Field> selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field objects and returns them as a List

Parameters:
plugin - the Plugin
Returns:
The List which contains the data of all the field objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.