fr.paris.lutece.plugins.pluginwizard.business
Class ConfigurationKeyHome

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.business.ConfigurationKeyHome

public final class ConfigurationKeyHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for ConfigurationKey objects


Method Summary
static ConfigurationKey create(ConfigurationKey configurationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create an instance of the configurationKey class
static ConfigurationKey findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a configurationKey whose identifier is specified in parameter
static java.util.Collection<ConfigurationKey> getConfigurationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the configurationKey objects and returns them in form of a collection
static void remove(int nConfigurationKeyId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the configurationKey whose identifier is specified in parameter
static ConfigurationKey update(ConfigurationKey configurationKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the configurationKey which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ConfigurationKey create(ConfigurationKey configurationKey,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the configurationKey class

Parameters:
configurationKey - The instance of the ConfigurationKey which contains the informations to store
plugin - the Plugin
Returns:
The instance of configurationKey which has been created with its primary key.

update

public static ConfigurationKey update(ConfigurationKey configurationKey,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the configurationKey which is specified in parameter

Parameters:
configurationKey - The instance of the ConfigurationKey which contains the data to store
plugin - the Plugin
Returns:
The instance of the configurationKey which has been updated

remove

public static void remove(int nConfigurationKeyId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the configurationKey whose identifier is specified in parameter

Parameters:
nConfigurationKeyId - The configurationKey Id
plugin - the Plugin

findByPrimaryKey

public static ConfigurationKey findByPrimaryKey(int nKey,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a configurationKey whose identifier is specified in parameter

Parameters:
nKey - The configurationKey primary key
plugin - the Plugin
Returns:
an instance of ConfigurationKey

getConfigurationKeysList

public static java.util.Collection<ConfigurationKey> getConfigurationKeysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the configurationKey objects and returns them in form of a collection

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.