Interface IUserParameterService
-
public interface IUserParameterServiceUser parameter service interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountUserPasswordHistoryFromDate(java.sql.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.ReferenceListfindAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Find all parametersfr.paris.lutece.util.ReferenceItemfindByKey(java.lang.String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the parameter from a given keyjava.lang.StringgetEncryptionAlgorithm(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the encryption algorithmbooleanisPasswordEncrypted(fr.paris.lutece.portal.service.plugin.Plugin plugin)Check if the passwords must be encrypted or notjava.util.List<java.lang.String>selectUserPasswordHistory(int nUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Gets the history of password of the given uservoidupdate(fr.paris.lutece.util.ReferenceItem userParam, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update a parameter
-
-
-
Method Detail
-
findByKey
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 keyplugin- the plugin- Returns:
- the parameter
-
findAll
fr.paris.lutece.util.ReferenceList findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all parameters- Parameters:
plugin- the plugin- Returns:
- a ReferenceList
-
update
void update(fr.paris.lutece.util.ReferenceItem userParam, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update a parameter- Parameters:
userParam- the parameterplugin- the plugin
-
isPasswordEncrypted
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
java.lang.String getEncryptionAlgorithm(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the encryption algorithm- Parameters:
plugin- the plugin- Returns:
- the encryption algorithm
-
countUserPasswordHistoryFromDate
int countUserPasswordHistoryFromDate(java.sql.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.- Parameters:
minDate- Minimum date to consider.nUserId- Id of the userplugin- the plugin- Returns:
- The number of password change done by the user since the given date.
-
selectUserPasswordHistory
java.util.List<java.lang.String> selectUserPasswordHistory(int nUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Gets the history of password of the given user- Parameters:
nUserId- Id of the userplugin- the plugin- Returns:
- The collection of recent passwords used by the user.
-
-