public class PageUpdateEvent extends PageEvent implements Edited, ConfluenceEntityUpdated
source
Constructor and Description |
---|
PageUpdateEvent(Object src,
Page updatedPage)
|
PageUpdateEvent(Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications)
|
PageUpdateEvent(Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger) |
PageUpdateEvent(Object src,
Page updatedPage,
Page originalPage)
|
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() |
AbstractPage |
getOriginalPage() |
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 instead.
|
String |
toString() |
getContent, getPage
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Deprecated public PageUpdateEvent(Object src, Page updatedPage)
@Deprecated public PageUpdateEvent(Object src, Page updatedPage, Page originalPage)
@Deprecated public PageUpdateEvent(Object src, Page updatedPage, @Nullable AbstractPage originalPage, boolean suppressNotifications)
public PageUpdateEvent(Object src, Page updatedPage, @Nullable AbstractPage originalPage, boolean suppressNotifications, PageUpdateTrigger updateTrigger)
@Nullable public AbstractPage getOriginalPage()
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 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–2016 Atlassian. All rights reserved.