public final class LocalizationDAO extends UtilDAO implements ILocalizationDAO
BEAN_NAME
Constructor and Description |
---|
LocalizationDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdLocalization,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
Localization |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Localization of the given form
|
void |
insert(Localization localization,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Localization |
select(int nIdLocalization,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(Localization localization,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
getNewPrimaryKey
public void insert(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ILocalizationDAO
insert
in interface ILocalizationDAO
localization
- instance of the Localization object to insertplugin
- the Pluginpublic void update(Localization localization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ILocalizationDAO
update
in interface ILocalizationDAO
localization
- the reference of the Localizationplugin
- the Pluginpublic void delete(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ILocalizationDAO
delete
in interface ILocalizationDAO
nIdLocalization
- identifier of the Localization to deleteplugin
- the Pluginpublic Localization select(int nIdLocalization, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ILocalizationDAO
select
in interface ILocalizationDAO
nIdLocalization
- The identifier of the Localizationplugin
- the Pluginpublic Localization findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ILocalizationDAO
findByIdForm
in interface ILocalizationDAO
nIdForm
- the form idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.