com.atlassian.confluence.event.events.content.page.async
Class PageEditedEvent

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.content.page.async.PageEvent
                  extended by com.atlassian.confluence.event.events.content.page.async.PageEditedEvent
All Implemented Interfaces:
Edited, ConfluenceEntityUpdated, UserDriven, Updated, Serializable

Deprecated.

@AsynchronousPreferred
@Deprecated
public class PageEditedEvent
extends PageEvent
implements Edited, ConfluenceEntityUpdated

Event about page being updated.

Because on update currentPageId will always stay the same and new id will be created for originalPageId version comparison could be used for making sure that event is not out of date.

Since:
5.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PageEditedEvent(Object src, com.atlassian.sal.api.user.UserKey userKey, Long currentPageId, Integer currentVersion, Long originalPageId, Integer originalVersion, boolean suppressNotifications)
          Deprecated.  
 
Method Summary
 Long getCurrentId()
          Deprecated.  
 Integer getCurrentVersion()
          Deprecated.  
 Long getOriginalId()
          Deprecated.  
 Integer getOriginalVersion()
          Deprecated.  
 boolean isMinorEdit()
          Deprecated.  
 
Methods inherited from class com.atlassian.confluence.event.events.content.page.async.PageEvent
getOriginatingUserKey, getPageId, getPageVersion, isSuppressNotifications, toString
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageEditedEvent

public PageEditedEvent(Object src,
                       com.atlassian.sal.api.user.UserKey userKey,
                       Long currentPageId,
                       Integer currentVersion,
                       Long originalPageId,
                       Integer originalVersion,
                       boolean suppressNotifications)
Deprecated. 
Method Detail

getCurrentId

public Long getCurrentId()
Deprecated. 
Specified by:
getCurrentId in interface ConfluenceEntityUpdated
Returns:
the new content id after the update

getCurrentVersion

public Integer getCurrentVersion()
Deprecated. 
Specified by:
getCurrentVersion in interface ConfluenceEntityUpdated
Returns:
current version

getOriginalId

public Long getOriginalId()
Deprecated. 
Specified by:
getOriginalId in interface ConfluenceEntityUpdated
Returns:
the original content id before the update

getOriginalVersion

public Integer getOriginalVersion()
Deprecated. 
Specified by:
getOriginalVersion in interface ConfluenceEntityUpdated
Returns:
original version

isMinorEdit

public boolean isMinorEdit()
Deprecated. 
Specified by:
isMinorEdit in interface Edited


Copyright © 2003–2015 Atlassian. All rights reserved.