fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service
Class MyluteceDirectoryAccountLifeTimeService

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.MyluteceDirectoryAccountLifeTimeService
All Implemented Interfaces:
fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

public class MyluteceDirectoryAccountLifeTimeService
extends Object
implements fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

Account life time service


Constructor Summary
MyluteceDirectoryAccountLifeTimeService()
          Default constructor
 
Method Summary
 void addParametersToModel(Map<String,String> model, Integer nIdUser)
          
 String getExpirationtMailBody()
          
 String getFirstAlertMailBody()
          
 List<Integer> getIdUsersToSendFirstAlert(Timestamp alertMaxDate)
          
 List<Integer> getIdUsersToSendOtherAlert(Timestamp alertMaxDate, Timestamp timeBetweenAlerts, int maxNumberAlerts)
          
 List<Integer> getIdUsersWithExpiredLifeTimeList(Timestamp currentTimestamp)
          
 List<Integer> getIdUsersWithExpiredPasswordsList(Timestamp currentTimestamp)
          
 String getOtherAlertMailBody()
          
 String getPasswordExpiredMailBody()
          
 fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
          Get the plugin
 String getUserMainEmail(int nIdUser)
          
 void setUserStatusExpired(List<Integer> listIdUser)
          
 void updateChangePassword(List<Integer> listIdUser)
          
 void updateNbAlert(List<Integer> listIdUser)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyluteceDirectoryAccountLifeTimeService

public MyluteceDirectoryAccountLifeTimeService()
Default constructor

Method Detail

getPlugin

public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
Get the plugin

Specified by:
getPlugin in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService
Returns:
The plugin

getIdUsersWithExpiredLifeTimeList

public List<Integer> getIdUsersWithExpiredLifeTimeList(Timestamp currentTimestamp)

Specified by:
getIdUsersWithExpiredLifeTimeList in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getIdUsersToSendFirstAlert

public List<Integer> getIdUsersToSendFirstAlert(Timestamp alertMaxDate)

Specified by:
getIdUsersToSendFirstAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getIdUsersToSendOtherAlert

public List<Integer> getIdUsersToSendOtherAlert(Timestamp alertMaxDate,
                                                Timestamp timeBetweenAlerts,
                                                int maxNumberAlerts)

Specified by:
getIdUsersToSendOtherAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getIdUsersWithExpiredPasswordsList

public List<Integer> getIdUsersWithExpiredPasswordsList(Timestamp currentTimestamp)

Specified by:
getIdUsersWithExpiredPasswordsList in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

updateNbAlert

public void updateNbAlert(List<Integer> listIdUser)

Specified by:
updateNbAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

updateChangePassword

public void updateChangePassword(List<Integer> listIdUser)

Specified by:
updateChangePassword in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

setUserStatusExpired

public void setUserStatusExpired(List<Integer> listIdUser)

Specified by:
setUserStatusExpired in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getExpirationtMailBody

public String getExpirationtMailBody()

Specified by:
getExpirationtMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getFirstAlertMailBody

public String getFirstAlertMailBody()

Specified by:
getFirstAlertMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getOtherAlertMailBody

public String getOtherAlertMailBody()

Specified by:
getOtherAlertMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getPasswordExpiredMailBody

public String getPasswordExpiredMailBody()

Specified by:
getPasswordExpiredMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

addParametersToModel

public void addParametersToModel(Map<String,String> model,
                                 Integer nIdUser)

Specified by:
addParametersToModel in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

getUserMainEmail

public String getUserMainEmail(int nIdUser)

Specified by:
getUserMainEmail in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService


Copyright © 2014 Mairie de Paris. All Rights Reserved.