|
||||||||||
| 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 |
java.util.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 IConfigurationKeyDAOconfigurationKey - instance of the ConfigurationKey object to insertplugin - The plugin
public ConfigurationKey load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IConfigurationKeyDAOnId - The identifier of the configurationKeyplugin - The plugin
public void delete(int nConfigurationKeyId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IConfigurationKeyDAOnConfigurationKeyId - The identifier of the configurationKeyplugin - The plugin
public void store(ConfigurationKey configurationKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IConfigurationKeyDAOconfigurationKey - The reference of the configurationKeyplugin - The pluginpublic java.util.Collection<ConfigurationKey> selectConfigurationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectConfigurationKeysList in interface IConfigurationKeyDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||