com.atlassian.confluence.event.events.content.page
Class PageUpdateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by com.atlassian.confluence.event.events.content.ContentEvent
                      extended by com.atlassian.confluence.event.events.content.page.PageEvent
                          extended by 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

Field Summary
 
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)
           
 
Method Summary
 ConfluenceEntityObject getNew()
           
 ConfluenceEntityObject getOld()
           
 AbstractPage getOriginalPage()
           
 PageUpdateTrigger getUpdateTrigger()
           
 boolean isMinorEdit()
           
 boolean isTitleChanged()
           
 void setMinorEdit(boolean minorEdit)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.confluence.event.events.content.page.PageEvent
getContent, getPage
 
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
equals, isSuppressNotifications, setSuppressNotifications
 
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
 
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
 

Constructor Detail

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)
Method Detail

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.