|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.pluginwizard.business.ConfigurationKeyDAO
public final class ConfigurationKeyDAO
This class provides Data Access methods for ConfigurationKey objects
Constructor Summary | |
---|---|
ConfigurationKeyDAO()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationKeyDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
public 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 plugin
public 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 plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |