Class PageEditedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.confluence.event.events.ConfluenceEvent
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 events
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.Deprecated.Deprecated.Deprecated.Deprecated.int
hashCode()
Deprecated.Subclasses must override this to hash their own fields.boolean
Deprecated.Methods inherited from class com.atlassian.confluence.event.events.content.page.async.PageEvent
getOriginatingUserKey, getPageId, getPageVersion, isSuppressNotifications, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
Method Details
-
getCurrentId
Deprecated.- Specified by:
getCurrentId
in interfaceConfluenceEntityUpdated
- Returns:
- the new content id after the update
-
getCurrentVersion
Deprecated.- Specified by:
getCurrentVersion
in interfaceConfluenceEntityUpdated
- Returns:
- current version
-
getOriginalId
Deprecated.- Specified by:
getOriginalId
in interfaceConfluenceEntityUpdated
- Returns:
- the original content id before the update
-
getOriginalVersion
Deprecated.- Specified by:
getOriginalVersion
in interfaceConfluenceEntityUpdated
- Returns:
- original version
-
isMinorEdit
public boolean isMinorEdit()Deprecated.- Specified by:
isMinorEdit
in interfaceEdited
-
equals
Deprecated.Description copied from class:ConfluenceEvent
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type. It is incorrect to try to make an instance of a subclass equal to an instance of any of its superclasses.Subclasses must override this to compare their own fields.
- Overrides:
equals
in classConfluenceEvent
- Parameters:
o
- the object to compare.- Returns:
- true, if the given object has the same runtime class as this object's runtime class, and the event sources are equal.
-
hashCode
public int hashCode()Deprecated.Description copied from class:ConfluenceEvent
Subclasses must override this to hash their own fields.- Overrides:
hashCode
in classConfluenceEvent
- Returns:
- the hashcode
-