Class DatabaseUserParameterHome
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.parameter.DatabaseUserParameterHome
DatabaseUserParameterHome
-
Method Summary
Modifier and TypeMethodDescriptionstatic fr.paris.lutece.util.ReferenceListfindAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Find all parametersstatic fr.paris.lutece.util.ReferenceItemLoad the parameter valuestatic intgetIntegerSecurityParameter(String strParameterkey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the integer value of a security parameterstatic voidupdate(fr.paris.lutece.util.ReferenceItem userParam, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the parameter value
-
Method Details
-
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 keyplugin- 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 parameterplugin- 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 parameterplugin- the plugin- Returns:
- The integer value of a security parameter
-