public class BlogPostUpdateEvent extends BlogPostEvent implements Edited, ConfluenceEntityUpdated
source
Constructor and Description |
---|
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
BlogPost originalBlogPost) |
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
BlogPost originalBlogPost,
boolean suppressNotifications) |
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
BlogPost originalBlogPost,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger) |
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.
|
ConfluenceEntityObject |
getNew() |
ConfluenceEntityObject |
getOld() |
BlogPost |
getOriginalBlogPost() |
PageUpdateTrigger |
getUpdateTrigger() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isMinorEdit() |
boolean |
isTitleChanged() |
void |
setMinorEdit(boolean minorEdit)
Deprecated.
since 5.4. Use com.atlassian.confluence.event.events.content.ContentEvent#setSuppressNotifications(boolean) instead.
|
getBlogPost, getContent
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost)
public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost, boolean suppressNotifications)
public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost, boolean suppressNotifications, PageUpdateTrigger updateTrigger)
public boolean isMinorEdit()
isMinorEdit
in interface Edited
@Deprecated public void setMinorEdit(boolean minorEdit)
@Nonnull public PageUpdateTrigger getUpdateTrigger()
@Nullable public ConfluenceEntityObject getOld()
getOld
in interface ConfluenceEntityUpdated
@Nonnull public ConfluenceEntityObject getNew()
getNew
in interface ConfluenceEntityUpdated
public boolean isTitleChanged()
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.