public class DefaultLikeNotificationManager extends Object implements LikeNotificationManager
Constructor and Description |
---|
DefaultLikeNotificationManager(UserAccessor userAccessor,
NotificationManager notificationManager,
LikeManager likeManager,
NetworkService networkService,
NotificationDao notificationDao,
ContentEntityManager entityManager) |
Modifier and Type | Method and Description |
---|---|
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
|
public DefaultLikeNotificationManager(UserAccessor userAccessor, NotificationManager notificationManager, LikeManager likeManager, NetworkService networkService, NotificationDao notificationDao, ContentEntityManager entityManager)
public List<LikeNotification> getNotifications(LikeEvent event)
LikeNotificationManager
getNotifications
in interface LikeNotificationManager
event
- the like eventpublic List<LikeNotification> getNotifications(LikePayload event)
LikeNotificationManager
getNotifications
in interface LikeNotificationManager
event
- The like event payloadCopyright © 2003–2017 Atlassian. All rights reserved.