|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.database.authentication.service.DatabaseAccountLifeTimeService
public class DatabaseAccountLifeTimeService
Service to handle account life time
| Field Summary | |
|---|---|
static String |
BEAN_DATABASE_ACCOUNT_LIFE_TIME_SERVICE
|
| Constructor Summary | |
|---|---|
DatabaseAccountLifeTimeService()
|
|
| 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()
|
static DatabaseAccountLifeTimeService |
getService()
Get an instance of the service |
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 |
| Field Detail |
|---|
public static final String BEAN_DATABASE_ACCOUNT_LIFE_TIME_SERVICE
| Constructor Detail |
|---|
public DatabaseAccountLifeTimeService()
| Method Detail |
|---|
public static DatabaseAccountLifeTimeService getService()
public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
getPlugin in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic List<Integer> getIdUsersWithExpiredLifeTimeList(Timestamp currentTimestamp)
getIdUsersWithExpiredLifeTimeList in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic List<Integer> getIdUsersToSendFirstAlert(Timestamp alertMaxDate)
getIdUsersToSendFirstAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService
public List<Integer> getIdUsersToSendOtherAlert(Timestamp alertMaxDate,
Timestamp timeBetweenAlerts,
int maxNumberAlerts)
getIdUsersToSendOtherAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic void updateNbAlert(List<Integer> listIdUser)
updateNbAlert in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic void updateChangePassword(List<Integer> listIdUser)
updateChangePassword in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic void setUserStatusExpired(List<Integer> listIdUser)
setUserStatusExpired in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic String getExpirationtMailBody()
getExpirationtMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic String getFirstAlertMailBody()
getFirstAlertMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic String getOtherAlertMailBody()
getOtherAlertMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic String getPasswordExpiredMailBody()
getPasswordExpiredMailBody in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService
public void addParametersToModel(Map<String,String> model,
Integer nIdUser)
addParametersToModel in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic String getUserMainEmail(int nIdUser)
getUserMainEmail in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeServicepublic List<Integer> getIdUsersWithExpiredPasswordsList(Timestamp currentTimestamp)
getIdUsersWithExpiredPasswordsList in interface fr.paris.lutece.plugins.mylutece.service.IAccountLifeTimeService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||