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:
ConfluenceEntityUpdated, Updated, Serializable

public class PageUpdateEvent
extends PageEvent
implements Updated, ConfluenceEntityUpdated

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PageUpdateEvent(Object src, Page updatedPage)
           
PageUpdateEvent(Object src, Page updatedPage, AbstractPage originalPage, boolean minorEdit)
           
PageUpdateEvent(Object src, Page updatedPage, Page originalPage)
           
 
Method Summary
 ConfluenceEntityObject getNew()
           
 ConfluenceEntityObject getOld()
           
 AbstractPage getOriginalPage()
           
 boolean isMinorEdit()
           
 void setMinorEdit(boolean minorEdit)
           
 
Methods inherited from class com.atlassian.confluence.event.events.content.page.PageEvent
getContent, getPage
 
Methods inherited from class com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageUpdateEvent

public PageUpdateEvent(Object src,
                       Page updatedPage)

PageUpdateEvent

public PageUpdateEvent(Object src,
                       Page updatedPage,
                       Page originalPage)

PageUpdateEvent

public PageUpdateEvent(Object src,
                       Page updatedPage,
                       AbstractPage originalPage,
                       boolean minorEdit)
Method Detail

getOriginalPage

public AbstractPage getOriginalPage()

isMinorEdit

public boolean isMinorEdit()

setMinorEdit

public void setMinorEdit(boolean minorEdit)

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.