Class NotificationRemovalListener
- java.lang.Object
-
- com.atlassian.confluence.mail.notification.NotificationRemovalListener
-
public class NotificationRemovalListener extends Object
Listens to any permissions changes and removes notifications as necessary
-
-
Constructor Summary
Constructors Constructor Description NotificationRemovalListener(NotificationManager notificationManager, PermissionManager permissionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onSpacePermissionRemovedEvent(SpacePermissionRemoveEvent e)
If a VIEWSPACE permission is being removed, iterate through the list of space watchers and remove any users who should no longer be there.
-
-
-
Constructor Detail
-
NotificationRemovalListener
public NotificationRemovalListener(@Qualifier("notificationManager") NotificationManager notificationManager, @Qualifier("permissionManager") PermissionManager permissionManager)
-
-
Method Detail
-
onSpacePermissionRemovedEvent
@EventListener public void onSpacePermissionRemovedEvent(SpacePermissionRemoveEvent e)
If a VIEWSPACE permission is being removed, iterate through the list of space watchers and remove any users who should no longer be there.
-
-