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

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

public final class LocalizationKeyHome
extends Object

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


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

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

update

public static LocalizationKey update(LocalizationKey localizationKey)
Update of the localizationKey which is specified in parameter

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

remove

public static void remove(int nLocalizationKeyId)
Remove the localizationKey whose identifier is specified in parameter

Parameters:
nLocalizationKeyId - The localizationKey Id

findByPrimaryKey

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

Parameters:
nKey - The localizationKey primary key
Returns:
an instance of LocalizationKey

getLocalizationKeysList

public static Collection<LocalizationKey> getLocalizationKeysList()
Load the data of all the localizationKey objects and returns them in form of a collection

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.