Class ContentUpdatedEvent
- java.lang.Object
-
- com.atlassian.confluence.event.events.content.page.synchrony.ContentUpdatedEvent
-
@Internal public class ContentUpdatedEvent extends Object
Triggered when a change to content has been made.At the moment it gets triggered for published Page or Blogpost during normal publish operations as well as addition of inline comments, resolving tasks or any other server side changes.
Current consumer of this plugins is collab edit plugin, which makes Synchrony aware of any changes to editor DOM.
- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev)
ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev, PageUpdateTrigger updateTrigger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ContentId
getContentId()
ContentStatus
getContentStatus()
String
getSpaceKey()
String
getSyncRev()
PageUpdateTrigger
getUpdateTrigger()
ConfluenceUser
getUser()
int
hashCode()
-
-
-
Constructor Detail
-
ContentUpdatedEvent
public ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev)
-
ContentUpdatedEvent
public ContentUpdatedEvent(ConfluenceUser user, ContentId contentId, ContentStatus contentStatus, String spaceKey, String syncRev, PageUpdateTrigger updateTrigger)
-
-
Method Detail
-
getUser
public ConfluenceUser getUser()
-
getContentId
public ContentId getContentId()
-
getContentStatus
public ContentStatus getContentStatus()
-
getSpaceKey
public String getSpaceKey()
-
getSyncRev
public String getSyncRev()
-
getUpdateTrigger
public PageUpdateTrigger getUpdateTrigger()
-
-