public interface IUserParameterService
Modifier and Type | Method and Description |
---|---|
int |
countUserPasswordHistoryFromDate(Timestamp minDate,
int nUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the number of password change done by a user since the given date.
|
fr.paris.lutece.util.ReferenceList |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all parameters
|
fr.paris.lutece.util.ReferenceItem |
findByKey(String strParameterKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the parameter from a given key
|
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
|
List<String> |
selectUserPasswordHistory(int nUserId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets the history of password of the given user
|
void |
update(fr.paris.lutece.util.ReferenceItem userParam,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a parameter
|
fr.paris.lutece.util.ReferenceItem findByKey(String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strParameterKey
- the keyplugin
- the pluginfr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginvoid update(fr.paris.lutece.util.ReferenceItem userParam, fr.paris.lutece.portal.service.plugin.Plugin plugin)
userParam
- the parameterplugin
- the pluginboolean isPasswordEncrypted(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginString getEncryptionAlgorithm(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginint countUserPasswordHistoryFromDate(Timestamp minDate, int nUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
minDate
- Minimum date to consider.nUserId
- Id of the userplugin
- the pluginCopyright © 2015 City of Paris. All rights reserved.