fr.paris.lutece.plugins.mylutece.modules.database.authentication.service.parameter
Class DatabaseUserParameterService

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.database.authentication.service.parameter.DatabaseUserParameterService

public final class DatabaseUserParameterService
extends java.lang.Object

DatabaseUserParameterService


Method Summary
 fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all parameters
 fr.paris.lutece.util.ReferenceItem findByKey(java.lang.String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the parameter from a given key
 java.lang.String getEncryptionAlgorithm(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get the encryption algorithm
static DatabaseUserParameterService getService()
          Get the instance of the service
 boolean isAccountCreationValidationEmail(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Check if the account creation must be validated by email
 boolean isJcaptchaEnable(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Check if the jcaptcha is enable or not
 boolean isPasswordEncrypted(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Check if the passwords must be encrypted or not
 void update(fr.paris.lutece.util.ReferenceItem userParam, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update a parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static DatabaseUserParameterService getService()
Get the instance of the service

Returns:
the instance of the service

findByKey

public fr.paris.lutece.util.ReferenceItem findByKey(java.lang.String strParameterKey,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the parameter from a given key

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

update

public void update(fr.paris.lutece.util.ReferenceItem userParam,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a parameter

Parameters:
userParam - the parameter
plugin - the plugin

findAll

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

Parameters:
plugin - the plugin
Returns:
a ReferenceList

isPasswordEncrypted

public boolean isPasswordEncrypted(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the passwords must be encrypted or not

Parameters:
plugin - the plugin
Returns:
true if they are encrypted, false otherwise

getEncryptionAlgorithm

public java.lang.String getEncryptionAlgorithm(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the encryption algorithm

Parameters:
plugin - the plugin
Returns:
the encryption algorithm

isAccountCreationValidationEmail

public boolean isAccountCreationValidationEmail(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the account creation must be validated by email

Parameters:
plugin - the plugin
Returns:
true if it must be validated by email, false otherwise

isJcaptchaEnable

public boolean isJcaptchaEnable(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the jcaptcha is enable or not

Parameters:
plugin - the plugin
Returns:
true if it is enable, false otherwise


Copyright © 2011 Mairie de Paris. All Rights Reserved.