Class ContentTreePermissionReindexEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.content.ContentEvent
-
- com.atlassian.confluence.event.events.permission.ContentTreePermissionReindexEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,Serializable
public class ContentTreePermissionReindexEvent extends ContentEvent
This event is fired byDefaultContentPermissionManager
when the permissions of some content (page, attachment, comment, file comment) have been changed and require a reindex. Listeners should not process dependencies of the content because separate events are fired for each dependant content object that inherits the permission changes.In general,
ContentPermissionEvent
should be emitted when changing content permissions on an object. Use this event to listen for all permission changes to any object.- Since:
- 5.9.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ContentTreePermissionReindexEvent(Object src, ContentEntityObject content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ContentEntityObject
getContent()
-
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
equals, hashCode, isSuppressNotifications, setSuppressNotifications
-
Methods inherited from class java.util.EventObject
getSource, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
-
-
-
-
Constructor Detail
-
ContentTreePermissionReindexEvent
public ContentTreePermissionReindexEvent(Object src, ContentEntityObject content)
-
-
Method Detail
-
getContent
public @NonNull ContentEntityObject getContent()
-
-