com.atlassian.confluence.mail
Class ChangeDigestNotificationBean

java.lang.Object
  extended by com.atlassian.confluence.mail.ChangeDigestNotificationBean

public class ChangeDigestNotificationBean
extends Object


Constructor Summary
ChangeDigestNotificationBean(ContentEntityManager contentEntityManager, UserAccessor userAccessor, SettingsManager settingsManager, PermissionManager permissionManager, NotificationManager notificationManager)
           
 
Method Summary
 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 repport of all pages and spaces changed that the user is watching
 boolean isUserNotifiable(com.atlassian.user.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeDigestNotificationBean

public ChangeDigestNotificationBean(ContentEntityManager contentEntityManager,
                                    UserAccessor userAccessor,
                                    SettingsManager settingsManager,
                                    PermissionManager permissionManager,
                                    NotificationManager notificationManager)
Method Detail

getWatchedChangeReportForUser

public ChangeDigestReport getWatchedChangeReportForUser(com.atlassian.user.User user,
                                                        List<? extends AbstractPage> pages)
Gets a repport of all pages and spaces changed that the user is watching

Parameters:
user -
pages -
Returns:
something

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 user
changes - A list of ContentEntityObjects representing the content that has changed
Returns:
the change digest report

isUserNotifiable

public boolean isUserNotifiable(com.atlassian.user.User user)

getAllChangeReports

public List<ChangeDigestReport> getAllChangeReports(Date fromWhen)


Copyright © 2003-2011 Atlassian. All Rights Reserved.