com.atlassian.confluence.content.event
Class PluginContentUpdatedEvent

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.content.event.PluginContentUpdatedEvent
All Implemented Interfaces:
Contented, Timestamped, ConfluenceEntityUpdated, Updated, java.io.Serializable

public class PluginContentUpdatedEvent
extends ContentEvent
implements Updated, ConfluenceEntityUpdated

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PluginContentUpdatedEvent(java.lang.Object src, CustomContentEntityObject currentContent, CustomContentEntityObject oldContent, SaveContext saveContext)
           
 
Method Summary
 ContentEntityObject getContent()
           
 ConfluenceEntityObject getNew()
           
 ConfluenceEntityObject getOld()
           
 SaveContext getSaveContext()
           
 
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, toString
 
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

PluginContentUpdatedEvent

public PluginContentUpdatedEvent(java.lang.Object src,
                                 CustomContentEntityObject currentContent,
                                 CustomContentEntityObject oldContent,
                                 SaveContext saveContext)
Method Detail

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

getContent

public ContentEntityObject getContent()
Specified by:
getContent in interface Contented

getSaveContext

public SaveContext getSaveContext()


Copyright © 2003-2014 Atlassian. All Rights Reserved.