fr.paris.lutece.plugins.pluginwizard.business
Interface ILocalizationKeyDAO

All Known Implementing Classes:
LocalizationKeyDAO

public interface ILocalizationKeyDAO

ILocalizationKeyDAO Interface


Method Summary
 void delete(int nIdLocalizationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(LocalizationKey localizationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 LocalizationKey load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<LocalizationKey> selectLocalizationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the localizationKey objects and returns them as a collection
 void store(LocalizationKey localizationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(LocalizationKey localizationKey,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
localizationKey - instance of the LocalizationKey object to inssert
plugin - the Plugin

store

void store(LocalizationKey localizationKey,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
localizationKey - the reference of the LocalizationKey
plugin - the Plugin

delete

void delete(int nIdLocalizationKey,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdLocalizationKey - int identifier of the LocalizationKey to delete
plugin - the Plugin

load

LocalizationKey load(int nKey,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the localizationKey
plugin - the Plugin
Returns:
The instance of the localizationKey

selectLocalizationKeysList

Collection<LocalizationKey> selectLocalizationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the localizationKey objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the localizationKey objects


Copyright © 2013 Mairie de Paris. All Rights Reserved.