com.atlassian.confluence.plugins.dailysummary.components
Interface SummaryEmailTaskFactory

All Known Implementing Classes:
DefaultSummaryEmailTaskFactory

public interface SummaryEmailTaskFactory

Factory for the daily (or weekly) recommended content emails.

Since:
4.2

Method Summary
 com.atlassian.fugue.Maybe<com.atlassian.mail.queue.MailQueueItem> createEmailTask(com.atlassian.user.User user, java.util.Date date)
          Convenience method for a recommended content email for all spaces.
 com.atlassian.fugue.Maybe<com.atlassian.mail.queue.MailQueueItem> createEmailTask(com.atlassian.user.User user, java.util.Date date, Space space)
          Create a recommended content email.
 

Method Detail

createEmailTask

com.atlassian.fugue.Maybe<com.atlassian.mail.queue.MailQueueItem> createEmailTask(com.atlassian.user.User user,
                                                                                  java.util.Date date)
Convenience method for a recommended content email for all spaces.

See Also:
createEmailTask(User, Date, Space)

createEmailTask

com.atlassian.fugue.Maybe<com.atlassian.mail.queue.MailQueueItem> createEmailTask(com.atlassian.user.User user,
                                                                                  java.util.Date date,
                                                                                  @Nullable
                                                                                  Space space)
Create a recommended content email.

Parameters:
user - the user for whom the content is retrieved
date - the (current) date describing the minimum age boundary to scope the content
space - the space the recommended content should be constrained to
Returns:
maybe if there's recommended content for the user
Since:
5.2


Copyright © 2003-2014 Atlassian. All Rights Reserved.