public final class ConfigurationKeyDAO extends Object implements IConfigurationKeyDAO
Constructor and Description |
---|
ConfigurationKeyDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nConfigurationKeyId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(ConfigurationKey configurationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ConfigurationKey |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the configurationKey from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<ConfigurationKey> |
selectConfigurationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the configurationKeys and returns them as a collection
|
void |
store(ConfigurationKey configurationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(ConfigurationKey configurationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IConfigurationKeyDAO
configurationKey
- instance of the ConfigurationKey object to insertplugin
- The pluginpublic ConfigurationKey load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IConfigurationKeyDAO
nId
- The identifier of the configurationKeyplugin
- The pluginpublic void delete(int nConfigurationKeyId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IConfigurationKeyDAO
nConfigurationKeyId
- The identifier of the configurationKeyplugin
- The pluginpublic void store(ConfigurationKey configurationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IConfigurationKeyDAO
configurationKey
- The reference of the configurationKeyplugin
- The pluginpublic Collection<ConfigurationKey> selectConfigurationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectConfigurationKeysList
in interface IConfigurationKeyDAO
plugin
- The pluginCopyright © 2020 City of Paris. All rights reserved.