@Transactional public class PasswordExpirationMailNotificationManagerImpl extends Object implements PasswordExpirationMailNotificationManager
Modifier and Type | Field and Description |
---|---|
protected static EntityQuery<Directory> |
ACTIVE_INTERNAL_DIRECTORIES_QUERY |
protected static int |
DEFAULT_BATCH_SIZE |
Constructor and Description |
---|
PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager,
Clock clock,
InternalUserDao userDao,
PasswordExpirationNotificationMailer passwordExpirationNotificationMailer) |
PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager,
Clock clock,
InternalUserDao userDao,
PasswordExpirationNotificationMailer passwordExpirationNotificationMailer,
int notificationBatchSize) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getRemindPeriodsForDirectory(Directory directory) |
void |
notifyUsers()
Notify users that their password will soon expire.
|
protected static final EntityQuery<Directory> ACTIVE_INTERNAL_DIRECTORIES_QUERY
protected static final int DEFAULT_BATCH_SIZE
public PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer)
public PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer, int notificationBatchSize)
public void notifyUsers()
PasswordExpirationMailNotificationManager
notifyUsers
in interface PasswordExpirationMailNotificationManager
public List<Integer> getRemindPeriodsForDirectory(Directory directory)
getRemindPeriodsForDirectory
in interface PasswordExpirationMailNotificationManager
directory
- directory objectCopyright © 2019 Atlassian. All rights reserved.