public class PageUpdateEvent extends PageEvent implements Edited, ConfluenceEntityUpdated, NotificationEnabledEvent
source| Constructor and Description |
|---|
PageUpdateEvent(Object src,
Page updatedPage,
@Nullable AbstractPage originalPage,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger)
Deprecated.
since 7.1.0, use
PageUpdateEvent(Object, Page, AbstractPage, OperationContext) |
PageUpdateEvent(Object source,
Page updatedPage,
@Nullable AbstractPage originalPage,
@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 AbstractPage |
getOriginalPage() |
@NonNull PageUpdateTrigger |
getUpdateTrigger() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isMinorEdit() |
boolean |
isTitleChanged() |
String |
toString() |
getContent, getPageisSuppressNotifications, setSuppressNotificationsgetSourceclone, finalize, getClass, notify, notifyAll, wait, wait, waitisSuppressNotificationsgetTimestamp@Deprecated public PageUpdateEvent(Object src, Page updatedPage, @Nullable AbstractPage originalPage, boolean suppressNotifications, PageUpdateTrigger updateTrigger)
PageUpdateEvent(Object, Page, AbstractPage, OperationContext)public PageUpdateEvent(Object source, Page updatedPage, @Nullable AbstractPage originalPage, @Nullable OperationContext<PageUpdateTrigger> operationContext)
public @Nullable AbstractPage getOriginalPage()
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="getOriginalPage()",
result=true)
public boolean isTitleChanged()
public boolean equals(@Nullable Object obj)
ConfluenceEventSubclasses must override this to compare their own fields.
public int hashCode()
ConfluenceEventCopyright © 2003–2020 Atlassian. All rights reserved.