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)
LikeNotificationManagergetNotifications in interface LikeNotificationManagerevent - the like eventpublic List<LikeNotification> getNotifications(LikePayload event)
LikeNotificationManagergetNotifications in interface LikeNotificationManagerevent - The like event payloadCopyright © 2003–2022 Atlassian. All rights reserved.