Package com.atlassian.confluence.mail
Class ChangeDigestNotificationBean
java.lang.Object
com.atlassian.confluence.mail.ChangeDigestNotificationBean
-
Constructor Summary
ConstructorsConstructorDescriptionChangeDigestNotificationBean
(ContentEntityManager contentEntityManager, UserAccessor userAccessor, PermissionManager permissionManager, NotificationManager notificationManager) -
Method Summary
Modifier and TypeMethodDescriptiongetAllChangeReportForUser
(com.atlassian.user.User user, List<? extends ContentEntityObject> changes) Generates a change digest report for the list of changes passed in.getAllChangeReports
(Date fromWhen) 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 Details
-
ChangeDigestNotificationBean
public ChangeDigestNotificationBean(ContentEntityManager contentEntityManager, UserAccessor userAccessor, PermissionManager permissionManager, NotificationManager notificationManager) - Since:
- 7.16
-
-
Method Details
-
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
-