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, getPage
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSuppressNotifications
getTimestamp
@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 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.
public int hashCode()
ConfluenceEvent
Copyright © 2003–2021 Atlassian. All rights reserved.