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 java.lang.Object
implements fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService

Account life time service


Constructor Summary
MyluteceDirectoryAccountLifeTimeService()
          Default constructor
 
Method Summary
 void addParametersToModel(java.util.Map<java.lang.String,java.lang.String> model, java.lang.Integer nIdUser)
          
 java.lang.String getExpirationtMailBody()
          
 java.lang.String getFirstAlertMailBody()
          
 java.util.List<java.lang.Integer> getIdUsersToSendFirstAlert(java.sql.Timestamp alertMaxDate)
          
 java.util.List<java.lang.Integer> getIdUsersToSendOtherAlert(java.sql.Timestamp alertMaxDate, java.sql.Timestamp timeBetweenAlerts, int maxNumberAlerts)
          
 java.util.List<java.lang.Integer> getIdUsersWithExpiredLifeTimeList(java.sql.Timestamp currentTimestamp)
          
 java.lang.String getOtherAlertMailBody()
          
 fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
          Get the plugin
 java.lang.String getUserMainEmail(int nIdUser)
          
 void setUserStatusExpired(java.util.List<java.lang.Integer> listIdUser)
          
 void updateNbAlert(java.util.List<java.lang.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 java.util.List<java.lang.Integer> getIdUsersWithExpiredLifeTimeList(java.sql.Timestamp currentTimestamp)

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

getIdUsersToSendFirstAlert

public java.util.List<java.lang.Integer> getIdUsersToSendFirstAlert(java.sql.Timestamp alertMaxDate)

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

getIdUsersToSendOtherAlert

public java.util.List<java.lang.Integer> getIdUsersToSendOtherAlert(java.sql.Timestamp alertMaxDate,
                                                                    java.sql.Timestamp timeBetweenAlerts,
                                                                    int maxNumberAlerts)

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

updateNbAlert

public void updateNbAlert(java.util.List<java.lang.Integer> listIdUser)

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

setUserStatusExpired

public void setUserStatusExpired(java.util.List<java.lang.Integer> listIdUser)

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

getExpirationtMailBody

public java.lang.String getExpirationtMailBody()

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

getFirstAlertMailBody

public java.lang.String getFirstAlertMailBody()

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

getOtherAlertMailBody

public java.lang.String getOtherAlertMailBody()

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

addParametersToModel

public void addParametersToModel(java.util.Map<java.lang.String,java.lang.String> model,
                                 java.lang.Integer nIdUser)

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

getUserMainEmail

public java.lang.String getUserMainEmail(int nIdUser)

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.