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 boolean
equals(@Nullable Object o)
Deprecated.Long
getCurrentId()
Deprecated.Integer
getCurrentVersion()
Deprecated.Long
getOriginalId()
Deprecated.Integer
getOriginalVersion()
Deprecated.int
hashCode()
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 java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getCurrentId
public Long getCurrentId()
Deprecated.- Specified by:
getCurrentId
in interfaceConfluenceEntityUpdated
- Returns:
- the new content id after the update
-
getCurrentVersion
public Integer getCurrentVersion()
Deprecated.- Specified by:
getCurrentVersion
in interfaceConfluenceEntityUpdated
- Returns:
- current version
-
getOriginalId
public Long getOriginalId()
Deprecated.- Specified by:
getOriginalId
in interfaceConfluenceEntityUpdated
- Returns:
- the original content id before the update
-
getOriginalVersion
public Integer getOriginalVersion()
Deprecated.- Specified by:
getOriginalVersion
in interfaceConfluenceEntityUpdated
- Returns:
- original version
-
isMinorEdit
public boolean isMinorEdit()
Deprecated.- Specified by:
isMinorEdit
in interfaceEdited
-
equals
public boolean equals(@Nullable Object o)
Deprecated.- Overrides:
equals
in classcom.atlassian.event.Event
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classcom.atlassian.event.Event
-
-