Package com.atlassian.confluence.mail
Class ChangeDigestNotificationBean
- java.lang.Object
-
- com.atlassian.confluence.mail.ChangeDigestNotificationBean
-
public class ChangeDigestNotificationBean extends Object
-
-
Constructor Summary
Constructors Constructor Description ChangeDigestNotificationBean(ContentEntityManager contentEntityManager, UserAccessor userAccessor, PermissionManager permissionManager, NotificationManager notificationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeDigestReport
getAllChangeReportForUser(com.atlassian.user.User user, List<? extends ContentEntityObject> changes)
Generates a change digest report for the list of changes passed in.List<ChangeDigestReport>
getAllChangeReports(Date fromWhen)
ChangeDigestReport
getWatchedChangeReportForUser(com.atlassian.user.User user, List<? extends AbstractPage> pages)
Gets a report of all pages and spaces changed that the user is watching
-
-
-
Constructor Detail
-
ChangeDigestNotificationBean
public ChangeDigestNotificationBean(ContentEntityManager contentEntityManager, UserAccessor userAccessor, PermissionManager permissionManager, NotificationManager notificationManager)
- Since:
- 7.16
-
-
Method Detail
-
getWatchedChangeReportForUser
public ChangeDigestReport getWatchedChangeReportForUser(com.atlassian.user.User user, List<? extends AbstractPage> pages)
Gets a report of all pages and spaces changed that the user is watching
-
getAllChangeReportForUser
public ChangeDigestReport getAllChangeReportForUser(com.atlassian.user.User user, List<? extends ContentEntityObject> changes)
Generates a change digest report for the list of changes passed in. The report will only contain changes the passed in user is able to see.- Parameters:
user
- The userchanges
- A list of ContentEntityObjects representing the content that has changed- Returns:
- the change digest report
-
getAllChangeReports
public List<ChangeDigestReport> getAllChangeReports(Date fromWhen)
-
-