Class PluginContentUpdatedEvent
- 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.content.event.PluginContentUpdatedEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,ConfluenceEntityUpdated
,Updated
,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
Constructors Constructor Description PluginContentUpdatedEvent(Object src, CustomContentEntityObject currentContent, CustomContentEntityObject oldContent, SaveContext saveContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEntityObject
getContent()
ConfluenceEntityObject
getNew()
ConfluenceEntityObject
getOld()
SaveContext
getSaveContext()
-
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
equals, hashCode, isSuppressNotifications, setSuppressNotifications
-
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(Object src, CustomContentEntityObject currentContent, CustomContentEntityObject oldContent, SaveContext saveContext)
-
-
Method Detail
-
getOld
public ConfluenceEntityObject getOld()
- Specified by:
getOld
in interfaceConfluenceEntityUpdated
- Returns:
- the old content before the update
-
getNew
public ConfluenceEntityObject getNew()
- Specified by:
getNew
in interfaceConfluenceEntityUpdated
- Returns:
- the new content after the update
-
getContent
public ContentEntityObject getContent()
- Specified by:
getContent
in interfaceContented
-
getSaveContext
public SaveContext getSaveContext()
-
-