public class BlogPostUpdateEvent extends BlogPostEvent implements Edited, ConfluenceEntityUpdated, NotificationEnabledEvent
source| Constructor and Description |
|---|
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
@Nullable BlogPost originalBlogPost)
Deprecated.
since 7.1.0, use
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext) |
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
@Nullable BlogPost originalBlogPost,
boolean suppressNotifications)
Deprecated.
since 7.1.0, use
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext) |
BlogPostUpdateEvent(Object src,
BlogPost updatedBlogPost,
@Nullable BlogPost originalBlogPost,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger)
Deprecated.
since 7.1.0, use
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext) |
BlogPostUpdateEvent(Object source,
BlogPost updatedBlogPost,
@Nullable BlogPost originalBlogPost,
@Nullable OperationContext<PageUpdateTrigger> operationContext) |
| 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.
|
@NonNull ConfluenceEntityObject |
getNew() |
@Nullable ConfluenceEntityObject |
getOld() |
@Nullable BlogPost |
getOriginalBlogPost() |
@NonNull PageUpdateTrigger |
getUpdateTrigger() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isMinorEdit() |
boolean |
isTitleChanged() |
getBlogPost, getContentisSuppressNotifications, setSuppressNotificationsgetSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisSuppressNotificationsgetTimestamp@Deprecated public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost)
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext)@Deprecated public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost, boolean suppressNotifications)
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext)@Deprecated public BlogPostUpdateEvent(Object src, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost, boolean suppressNotifications, PageUpdateTrigger updateTrigger)
BlogPostUpdateEvent(Object, BlogPost, BlogPost, OperationContext)public BlogPostUpdateEvent(Object source, BlogPost updatedBlogPost, @Nullable BlogPost originalBlogPost, @Nullable OperationContext<PageUpdateTrigger> operationContext)
public @Nullable BlogPost getOriginalBlogPost()
public boolean isMinorEdit()
isMinorEdit in interface Editedpublic @NonNull PageUpdateTrigger getUpdateTrigger()
public @Nullable ConfluenceEntityObject getOld()
getOld in interface ConfluenceEntityUpdatedpublic @NonNull ConfluenceEntityObject getNew()
getNew in interface ConfluenceEntityUpdated@EnsuresNonNullIf(expression="getOriginalBlogPost()",
result=true)
public 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–2022 Atlassian. All rights reserved.