Class PageEditedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.content.page.async.PageEvent
-
- com.atlassian.confluence.event.events.content.page.async.PageEditedEvent
-
- All Implemented Interfaces:
Edited,ConfluenceEntityUpdated,UserDriven,Updated,Serializable
@AsynchronousPreferred @Deprecated public class PageEditedEvent extends PageEvent implements Edited, ConfluenceEntityUpdated
Deprecated.since 5.5. Use the synchronous eventsEvent 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(@Nullable Object o)Deprecated.LonggetCurrentId()Deprecated.IntegergetCurrentVersion()Deprecated.LonggetOriginalId()Deprecated.IntegergetOriginalVersion()Deprecated.inthashCode()Deprecated.booleanisMinorEdit()Deprecated.-
Methods inherited from class com.atlassian.confluence.event.events.content.page.async.PageEvent
getOriginatingUserKey, getPageId, getPageVersion, isSuppressNotifications, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getCurrentId
public Long getCurrentId()
Deprecated.- Specified by:
getCurrentIdin interfaceConfluenceEntityUpdated- Returns:
- the new content id after the update
-
getCurrentVersion
public Integer getCurrentVersion()
Deprecated.- Specified by:
getCurrentVersionin interfaceConfluenceEntityUpdated- Returns:
- current version
-
getOriginalId
public Long getOriginalId()
Deprecated.- Specified by:
getOriginalIdin interfaceConfluenceEntityUpdated- Returns:
- the original content id before the update
-
getOriginalVersion
public Integer getOriginalVersion()
Deprecated.- Specified by:
getOriginalVersionin interfaceConfluenceEntityUpdated- Returns:
- original version
-
isMinorEdit
public boolean isMinorEdit()
Deprecated.- Specified by:
isMinorEditin interfaceEdited
-
equals
public boolean equals(@Nullable Object o)
Deprecated.- Overrides:
equalsin classcom.atlassian.event.Event
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classcom.atlassian.event.Event
-
-