Interface ILocalizationDAO
- All Known Implementing Classes:
LocalizationDAO
public interface ILocalizationDAO
Localization DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefindByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns the Localization of the given formvoidinsert(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.select(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidupdate(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
localization- instance of the Localization object to insertplugin- the Plugin
-
update
Update the record in the table- Parameters:
localization- the reference of the Localizationplugin- the Plugin
-
delete
void delete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdLocalization- identifier of the Localization to deleteplugin- the Plugin
-
deleteByIdForm
void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdForm- identifier of the id formplugin- the Plugin
-
select
Load the data from the table- Parameters:
nIdLocalization- The identifier of the Localizationplugin- the Plugin- Returns:
- The instance of the Localization
-
findByIdForm
Returns the Localization of the given form- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form Localization
-