|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAccountLifeTimeService
Account life time service interface
| Method Summary | |
|---|---|
void |
addParametersToModel(java.util.Map<java.lang.String,java.lang.String> model,
java.lang.Integer nIdUser)
Add specifiques parameters to a given model |
java.lang.String |
getExpirationtMailBody()
Get the body of the mail to send when a user account expire |
java.lang.String |
getFirstAlertMailBody()
Get the body of the mail to send for a first notification of a user before his account expire |
java.util.List<java.lang.Integer> |
getIdUsersToSendFirstAlert(java.sql.Timestamp alertMaxDate)
Get the list of id of users that need to receive their first alert |
java.util.List<java.lang.Integer> |
getIdUsersToSendOtherAlert(java.sql.Timestamp alertMaxDate,
java.sql.Timestamp timeBetweenAlerts,
int maxNumberAlerts)
Get the list of id of users that need to receive their first alert |
java.util.List<java.lang.Integer> |
getIdUsersWithExpiredLifeTimeList(java.sql.Timestamp currentTimestamp)
Get the list of id of users that have an expired time life but not the expired status |
java.util.List<java.lang.Integer> |
getIdUsersWithExpiredPasswordsList(java.sql.Timestamp currentTimestamp)
Get the list of id of users that have an expired password but not the change password flag |
java.lang.String |
getOtherAlertMailBody()
Get the body of the mail to send for a new notification of a user before his account expire |
java.lang.String |
getPasswordExpiredMailBody()
Get the body of the mail to send when a password expired |
fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Get the current plugin |
java.lang.String |
getUserMainEmail(int nUserId)
Get the main email adresse of a user |
void |
setUserStatusExpired(java.util.List<java.lang.Integer> listIdUser)
Set a user account status as expired. |
void |
updateChangePassword(java.util.List<java.lang.Integer> listIdUser)
Set the "change password" flag of users to true |
void |
updateNbAlert(java.util.List<java.lang.Integer> listIdUser)
Increment the number of alert send to users by 1 |
| Method Detail |
|---|
java.util.List<java.lang.Integer> getIdUsersWithExpiredLifeTimeList(java.sql.Timestamp currentTimestamp)
currentTimestamp - Timestamp describing the current time.
java.util.List<java.lang.Integer> getIdUsersToSendFirstAlert(java.sql.Timestamp alertMaxDate)
alertMaxDate - The maximum date to send alerts.
java.util.List<java.lang.Integer> getIdUsersToSendOtherAlert(java.sql.Timestamp alertMaxDate,
java.sql.Timestamp timeBetweenAlerts,
int maxNumberAlerts)
alertMaxDate - The maximum date to send alerts.timeBetweenAlerts - Timestamp describing the time between two
alerts.maxNumberAlerts - Maximum number of alerts to send to a user
java.util.List<java.lang.Integer> getIdUsersWithExpiredPasswordsList(java.sql.Timestamp currentTimestamp)
currentTimestamp - Timestamp describing the current time.
void updateNbAlert(java.util.List<java.lang.Integer> listIdUser)
listIdUser - The list of users to updatevoid updateChangePassword(java.util.List<java.lang.Integer> listIdUser)
listIdUser - List of user's id to updatevoid setUserStatusExpired(java.util.List<java.lang.Integer> listIdUser)
listIdUser - User accounts list to set as expiredjava.lang.String getExpirationtMailBody()
java.lang.String getFirstAlertMailBody()
java.lang.String getOtherAlertMailBody()
java.lang.String getPasswordExpiredMailBody()
void addParametersToModel(java.util.Map<java.lang.String,java.lang.String> model,
java.lang.Integer nIdUser)
model - The modelnIdUser - The id of the user to add the parametersjava.lang.String getUserMainEmail(int nUserId)
nUserId - Id of the user
fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||