public class PageTrashedEvent extends PageEvent implements Trashed, UserDriven
source
Constructor and Description |
---|
PageTrashedEvent(Object source,
Page trashedPage,
@Nullable com.atlassian.user.User trasher)
Deprecated.
since 6.0, use
PageTrashedEvent(Object, Page, User, boolean) instead |
PageTrashedEvent(Object source,
Page trashedPage,
@Nullable com.atlassian.user.User trasher,
boolean suppressNotifications) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
@Nullable com.atlassian.user.User |
getOriginatingUser()
Return the user that generated the event if known.
|
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getContent, getPage, toString
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Deprecated public PageTrashedEvent(Object source, Page trashedPage, @Nullable com.atlassian.user.User trasher)
PageTrashedEvent(Object, Page, User, boolean)
insteadpublic @Nullable com.atlassian.user.User getOriginatingUser()
UserDriven
getOriginatingUser
in interface UserDriven
public boolean equals(@Nullable Object obj)
ConfluenceEvent
Subclasses must override this to compare their own fields.
public int hashCode()
ConfluenceEvent
Copyright © 2003–2020 Atlassian. All rights reserved.