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, getContentisSuppressNotifications, setSuppressNotificationsgetSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTimestamppublic 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 ConfluenceEntityUpdatedpublic boolean isTitleChanged()
public boolean equals(@Nullable Object obj)
ConfluenceEventSubclasses must override this to compare their own fields.
equals in class BlogPostEventobj - the object to compare.Event.equals(Object)public int hashCode()
ConfluenceEventhashCode in class BlogPostEventEvent.hashCode()Copyright © 2003–2018 Atlassian. All rights reserved.