fr.paris.lutece.plugins.form.business.parameter
Class EntryParameterHome

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.parameter.EntryParameterHome

public final class EntryParameterHome
extends Object

EntryParameterHome


Constructor Summary
EntryParameterHome()
           
 
Method Summary
static fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load all the parameter default values
static fr.paris.lutece.util.ReferenceItem findByKey(String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the parameter value
static void update(fr.paris.lutece.util.ReferenceItem param, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the parameter value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryParameterHome

public EntryParameterHome()
Method Detail

findAll

public static fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the parameter default values

Parameters:
plugin - Plugin
Returns:
a list of ReferenceItem

findByKey

public static fr.paris.lutece.util.ReferenceItem findByKey(String strParameterKey,
                                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the parameter value

Parameters:
strParameterKey - the parameter key
plugin - The plugin
Returns:
The parameter value

update

public static void update(fr.paris.lutece.util.ReferenceItem param,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the parameter value

Parameters:
param - A reference item contain the association key/value to update. The key must be in the code parameter of the reference item, and the value in the value parameter
plugin - The plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.