com.atlassian.confluence.mail
Class ChangeDigestNotificationBean

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

public class ChangeDigestNotificationBean
extends java.lang.Object


Constructor Summary
ChangeDigestNotificationBean(ContentEntityManager contentEntityManager, UserAccessor userAccessor, DefaultPermissionManager permissionManager, NotificationManager notificationManager)
           
 
Method Summary
 ChangeDigestReport getAllChangeReportForUser(com.atlassian.user.User user, java.util.List<? extends ContentEntityObject> changes)
          Generates a change digest report for the list of changes passed in.
 java.util.List<ChangeDigestReport> getAllChangeReports(java.util.Date fromWhen)
           
 ChangeDigestReport getWatchedChangeReportForUser(com.atlassian.user.User user, java.util.List<? extends AbstractPage> pages)
          Gets a report of all pages and spaces changed that the user is watching
 boolean isUserNotifiable(com.atlassian.user.User user)
          Deprecated. since 5.2. No replacement.
 
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,
                                    DefaultPermissionManager permissionManager,
                                    NotificationManager notificationManager)
Method Detail

getWatchedChangeReportForUser

public ChangeDigestReport getWatchedChangeReportForUser(com.atlassian.user.User user,
                                                        java.util.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,
                                                    java.util.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

@Deprecated
public boolean isUserNotifiable(com.atlassian.user.User user)
Deprecated. since 5.2. No replacement.


getAllChangeReports

public java.util.List<ChangeDigestReport> getAllChangeReports(java.util.Date fromWhen)


Copyright © 2003-2013 Atlassian. All Rights Reserved.