com.atlassian.confluence.plugins.like.notifications
Class DefaultLikeNotificationManager

java.lang.Object
  extended by com.atlassian.confluence.plugins.like.notifications.DefaultLikeNotificationManager
All Implemented Interfaces:
LikeNotificationManager

public class DefaultLikeNotificationManager
extends Object
implements LikeNotificationManager


Constructor Summary
DefaultLikeNotificationManager(UserAccessor userAccessor, NotificationManager notificationManager, LikeManager likeManager, NetworkService networkService, NotificationDao notificationDao, ContentEntityManager entityManager)
           
 
Method Summary
 List<LikeNotification> getNotifications(LikeEvent event)
          Compute the notifications that should result from the specified like event ocurring.
 List<LikeNotification> getNotifications(LikePayload event)
          Get a list of like notifications for a provided like event payload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLikeNotificationManager

public DefaultLikeNotificationManager(UserAccessor userAccessor,
                                      NotificationManager notificationManager,
                                      LikeManager likeManager,
                                      NetworkService networkService,
                                      NotificationDao notificationDao,
                                      ContentEntityManager entityManager)
Method Detail

getNotifications

public List<LikeNotification> getNotifications(LikeEvent event)
Description copied from interface: LikeNotificationManager
Compute the notifications that should result from the specified like event ocurring.

Specified by:
getNotifications in interface LikeNotificationManager
Parameters:
event - the like event
Returns:
notifications which represent who should be notified.

getNotifications

public List<LikeNotification> getNotifications(LikePayload event)
Description copied from interface: LikeNotificationManager
Get a list of like notifications for a provided like event payload

Specified by:
getNotifications in interface LikeNotificationManager
Parameters:
event - The like event payload
Returns:


Copyright © 2003–2015 Atlassian. All rights reserved.