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 Object

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


Method Summary
static ConfigurationKey create(ConfigurationKey configurationKey)
          Create an instance of the configurationKey class
static ConfigurationKey findByPrimaryKey(int nKey)
          Returns an instance of a configurationKey whose identifier is specified in parameter
static Collection<ConfigurationKey> getConfigurationKeysList()
          Load the data of all the configurationKey objects and returns them in form of a collection
static void remove(int nConfigurationKeyId)
          Remove the configurationKey whose identifier is specified in parameter
static ConfigurationKey update(ConfigurationKey configurationKey)
          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)
Create an instance of the configurationKey class

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

update

public static ConfigurationKey update(ConfigurationKey configurationKey)
Update of the configurationKey which is specified in parameter

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

remove

public static void remove(int nConfigurationKeyId)
Remove the configurationKey whose identifier is specified in parameter

Parameters:
nConfigurationKeyId - The configurationKey Id

findByPrimaryKey

public static ConfigurationKey findByPrimaryKey(int nKey)
Returns an instance of a configurationKey whose identifier is specified in parameter

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

getConfigurationKeysList

public static Collection<ConfigurationKey> getConfigurationKeysList()
Load the data of all the configurationKey objects and returns them in form of a collection

Returns:
the collection which contains the data of all the configurationKey objects


Copyright © 2013 Mairie de Paris. All Rights Reserved.