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, getContent
isSuppressNotifications, setSuppressNotifications
getSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSuppressNotifications
getTimestamp
@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 Edited
public @NonNull PageUpdateTrigger getUpdateTrigger()
public @Nullable ConfluenceEntityObject getOld()
getOld
in interface ConfluenceEntityUpdated
public @NonNull 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–2020 Atlassian. All rights reserved.