Class DatabaseUserParameterHome


  • public final class DatabaseUserParameterHome
    extends java.lang.Object
    DatabaseUserParameterHome
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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​(java.lang.String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the parameter value
      static int getIntegerSecurityParameter​(java.lang.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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findByKey

        public static fr.paris.lutece.util.ReferenceItem findByKey​(java.lang.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​(java.lang.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