Interface IFieldDAO
- All Known Implementing Classes:
FieldDAO
public interface IFieldDAO
IFieldDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the field objects and returns them as a ListvoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
field- instance of the Field object to inssertplugin- the Plugin
-
store
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
Load the data from the table- Parameters:
strId- The identifier of the fieldplugin- the Plugin- Returns:
- The instance of the field
-
selectFieldsList
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
-