fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.parameter
Class MyluteceDirectoryParameterService

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.parameter.MyluteceDirectoryParameterService
All Implemented Interfaces:
IMyluteceDirectoryParameterService

public class MyluteceDirectoryParameterService
extends java.lang.Object
implements IMyluteceDirectoryParameterService

MyluteceDirectoryParameterService


Field Summary
static java.lang.String BEAN_SERVICE
           
 
Constructor Summary
MyluteceDirectoryParameterService()
           
 
Method Summary
 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
 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
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

MyluteceDirectoryParameterService

public MyluteceDirectoryParameterService()
Method Detail

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

Specified by:
findByKey in interface IMyluteceDirectoryParameterService
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

Specified by:
update in interface IMyluteceDirectoryParameterService
Parameters:
userParam - the parameter
plugin - the plugin

isPasswordEncrypted

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

Specified by:
isPasswordEncrypted in interface IMyluteceDirectoryParameterService
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

Specified by:
getEncryptionAlgorithm in interface IMyluteceDirectoryParameterService
Parameters:
plugin - the plugin
Returns:
the encryption algorithm


Copyright © 2012 Mairie de Paris. All Rights Reserved.