@ParametersAreNonnullByDefault public class ContentPermissionEvent extends ContentEvent
A ContentTreePermissionReindexEvent
is emitted by the
DefaultContentPermissionManager
for every descendant of this event's CEO.
source
Constructor and Description |
---|
ContentPermissionEvent(Object src,
ContentEntityObject content,
ContentPermission contentPermission) |
ContentPermissionEvent(Object src,
ContentEntityObject content,
ContentPermission contentPermission,
boolean reindexNeeded) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
ContentEntityObject |
getContent() |
ContentPermission |
getContentPermission() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isReindexNeeded() |
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Internal public ContentPermissionEvent(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission, boolean reindexNeeded)
public ContentPermissionEvent(Object src, ContentEntityObject content, @Nullable ContentPermission contentPermission)
@Nullable public ContentPermission getContentPermission()
@Nonnull public ContentEntityObject getContent()
public boolean isReindexNeeded()
public boolean equals(@Nullable Object obj)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class ContentEvent
obj
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class ContentEvent
Event.hashCode()
Copyright © 2003–2016 Atlassian. All rights reserved.