fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.parameter
Class DatabaseUserParameterHome

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.parameter.DatabaseUserParameterHome

public final class DatabaseUserParameterHome
extends Object

DatabaseUserParameterHome


Method Summary
static fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all parameters
static fr.paris.lutece.util.ReferenceItem findByKey(String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the parameter value
static int getIntegerSecurityParameter(String strParameterkey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the integer value of a security parameter
static void update(fr.paris.lutece.util.ReferenceItem userParam, 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
 

Method Detail

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 userParam,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the parameter value

Parameters:
userParam - The parameter
plugin - the plugin

findAll

public static fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all parameters

Parameters:
plugin - the plugin
Returns:
a ReferenceList

getIntegerSecurityParameter

public static int getIntegerSecurityParameter(String strParameterkey,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the integer value of a security parameter

Parameters:
strParameterkey - The key of the parameter
plugin - the plugin
Returns:
The integer value of a security parameter


Copyright © 2014 Mairie de Paris. All Rights Reserved.