Class ContentEntityAutoWatcher
- java.lang.Object
-
- com.atlassian.confluence.impl.notifications.ContentEntityAutoWatcher
-
public final class ContentEntityAutoWatcher extends Object
Responsible for adding auto-watch notifications to new content via an event listener.- Since:
- 7.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentEntityAutoWatcher.AutowatchIfRequiredEvent
-
Constructor Summary
Constructors Constructor Description ContentEntityAutoWatcher(UserPreferencesAccessor userPreferencesAccessor, NotificationManager notificationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
autowatchIfRequired(ContentEntityObject ceo, SaveContext saveContext)
void
onEvent(ContentEntityAutoWatcher.AutowatchIfRequiredEvent event)
-
-
-
Constructor Detail
-
ContentEntityAutoWatcher
public ContentEntityAutoWatcher(UserPreferencesAccessor userPreferencesAccessor, NotificationManager notificationManager)
-
-
Method Detail
-
onEvent
@EventListener public void onEvent(ContentEntityAutoWatcher.AutowatchIfRequiredEvent event)
-
autowatchIfRequired
public void autowatchIfRequired(ContentEntityObject ceo, SaveContext saveContext)
-
-