com.atlassian.confluence.event.events.content.page
Class PageUpdateEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.content.ContentEvent
com.atlassian.confluence.event.events.content.page.PageEvent
com.atlassian.confluence.event.events.content.page.PageUpdateEvent
- All Implemented Interfaces:
- Contented, Edited, Timestamped, ConfluenceEntityUpdated, Updated, java.io.Serializable
public class PageUpdateEvent
- extends PageEvent
- implements Edited, ConfluenceEntityUpdated
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
PageUpdateEvent(java.lang.Object src,
Page updatedPage)
|
PageUpdateEvent(java.lang.Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications)
|
PageUpdateEvent(java.lang.Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger)
|
PageUpdateEvent(java.lang.Object src,
Page updatedPage,
Page originalPage)
|
Methods inherited from class com.atlassian.event.Event |
hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PageUpdateEvent
public PageUpdateEvent(java.lang.Object src,
Page updatedPage)
PageUpdateEvent
public PageUpdateEvent(java.lang.Object src,
Page updatedPage,
Page originalPage)
PageUpdateEvent
public PageUpdateEvent(java.lang.Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications)
PageUpdateEvent
public PageUpdateEvent(java.lang.Object src,
Page updatedPage,
AbstractPage originalPage,
boolean suppressNotifications,
PageUpdateTrigger updateTrigger)
getOriginalPage
public AbstractPage getOriginalPage()
isMinorEdit
public boolean isMinorEdit()
- Specified by:
isMinorEdit
in interface Edited
setMinorEdit
public void setMinorEdit(boolean minorEdit)
getUpdateTrigger
public PageUpdateTrigger getUpdateTrigger()
getOld
public ConfluenceEntityObject getOld()
- Specified by:
getOld
in interface ConfluenceEntityUpdated
- Returns:
- the old content before the update
getNew
public ConfluenceEntityObject getNew()
- Specified by:
getNew
in interface ConfluenceEntityUpdated
- Returns:
- the new content after the update
isTitleChanged
public boolean isTitleChanged()
- Returns:
- true if the title was changed as part of the update this event relates to
toString
public java.lang.String toString()
- Overrides:
toString
in class PageEvent
Copyright © 2003-2014 Atlassian. All Rights Reserved.