Interface IFieldDAO
-
- All Known Implementing Classes:
FieldDAO
public interface IFieldDAOIFieldDAO 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 tablevoidinsert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Fieldload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.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 Listvoidstore(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 inssertplugin- 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 Fieldplugin- 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 deleteplugin- 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 fieldplugin- 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
-
-