public class DefaultSummaryEmailService extends Object implements SummaryEmailService
Modifier and Type | Field and Description |
---|---|
protected static String |
MAIL_QUEUE_NAME |
Constructor and Description |
---|
DefaultSummaryEmailService(SummaryEmailTaskFactory taskFactory,
com.atlassian.core.task.MultiQueueTaskManager taskManager,
SummaryEmailNotificationManager notificationManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate) |
Modifier and Type | Method and Description |
---|---|
boolean |
sendEmail(com.atlassian.user.User user,
Date date)
Send a summary email to a user with content generated with
respect to the given date.
|
int |
sendEmailForDate(Date date)
Send email to any users that have mail enabled for the
specific datetime.
|
protected static final String MAIL_QUEUE_NAME
public DefaultSummaryEmailService(SummaryEmailTaskFactory taskFactory, com.atlassian.core.task.MultiQueueTaskManager taskManager, SummaryEmailNotificationManager notificationManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public int sendEmailForDate(Date date)
SummaryEmailService
sendEmailForDate
in interface SummaryEmailService
public boolean sendEmail(com.atlassian.user.User user, Date date)
SummaryEmailService
The email is not sent if there is no content available for the user.
sendEmail
in interface SummaryEmailService
Copyright © 2003–2015 Atlassian. All rights reserved.
View cookie preferences