Class DefaultLikeNotificationManager
java.lang.Object
com.atlassian.confluence.plugins.like.notifications.DefaultLikeNotificationManager
- All Implemented Interfaces:
LikeNotificationManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultLikeNotificationManager
(UserAccessor userAccessor, NotificationManager notificationManager, LikeManager likeManager, NetworkService networkService, NotificationDao notificationDao, ContentEntityManager entityManager) -
Method Summary
Modifier and TypeMethodDescriptiongetNotifications
(LikeEvent event) Compute the notifications that should result from the specified like event ocurring.getNotifications
(LikePayload event) Get a list of like notifications for a provided like event payload
-
Constructor Details
-
DefaultLikeNotificationManager
public DefaultLikeNotificationManager(UserAccessor userAccessor, NotificationManager notificationManager, LikeManager likeManager, NetworkService networkService, NotificationDao notificationDao, ContentEntityManager entityManager)
-
-
Method Details
-
getNotifications
Description copied from interface:LikeNotificationManager
Compute the notifications that should result from the specified like event ocurring.- Specified by:
getNotifications
in interfaceLikeNotificationManager
- Parameters:
event
- the like event- Returns:
- notifications which represent who should be notified.
-
getNotifications
Description copied from interface:LikeNotificationManager
Get a list of like notifications for a provided like event payload- Specified by:
getNotifications
in interfaceLikeNotificationManager
- Parameters:
event
- The like event payload- Returns:
-