Class LocalizationDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.localization.LocalizationDAO
-
- All Implemented Interfaces:
ILocalizationDAO
public final class LocalizationDAO extends java.lang.Object implements ILocalizationDAO
-
-
Constructor Summary
Constructors Constructor Description LocalizationDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(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 tableLocalizationfindByIdForm(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.Localizationselect(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 Detail
-
insert
public void insert(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ILocalizationDAOInsert a new record in the table.- Specified by:
insertin interfaceILocalizationDAO- Parameters:
localization- instance of the Localization object to insertplugin- the Plugin
-
update
public void update(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ILocalizationDAOUpdate the record in the table- Specified by:
updatein interfaceILocalizationDAO- Parameters:
localization- the reference of the Localizationplugin- the Plugin
-
delete
public void delete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:ILocalizationDAODelete a record from the table- Specified by:
deletein interfaceILocalizationDAO- Parameters:
nIdLocalization- identifier of the Localization to deleteplugin- the Plugin
-
deleteByIdForm
public void deleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:ILocalizationDAODelete a record from the table- Specified by:
deleteByIdFormin interfaceILocalizationDAO- Parameters:
nIdForm- identifier of the id formplugin- the Plugin
-
select
public Localization select(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ILocalizationDAOLoad the data from the table- Specified by:
selectin interfaceILocalizationDAO- Parameters:
nIdLocalization- The identifier of the Localizationplugin- the Plugin- Returns:
- The instance of the Localization
-
findByIdForm
public Localization findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ILocalizationDAOReturns the Localization of the given form- Specified by:
findByIdFormin interfaceILocalizationDAO- Parameters:
nIdForm- the form idplugin- the plugin- Returns:
- the form Localization
-
-