public class BlogPostTrashedEvent extends BlogPostEvent implements Trashed, UserDriven
source
Constructor and Description |
---|
BlogPostTrashedEvent(Object source,
BlogPost blogPost,
com.atlassian.user.User trasher)
Deprecated.
since 6.0, use
BlogPostTrashedEvent(Object, BlogPost, User, boolean) instead |
BlogPostTrashedEvent(Object source,
BlogPost blogPost,
com.atlassian.user.User trasher,
boolean suppressNotifications) |
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.
|
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.
|
getBlogPost, getContent
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Deprecated public BlogPostTrashedEvent(Object source, BlogPost blogPost, @Nullable com.atlassian.user.User trasher)
BlogPostTrashedEvent(Object, BlogPost, User, boolean)
instead@Nullable public 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.
equals
in class BlogPostEvent
obj
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class BlogPostEvent
Event.hashCode()
Copyright © 2003–2017 Atlassian. All rights reserved.