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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.Deprecated.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.Subclasses must override this to hash their own fields.booleanDeprecated.Methods inherited from class com.atlassian.confluence.event.events.content.page.async.PageEvent
getOriginatingUserKey, getPageId, getPageVersion, isSuppressNotifications, toStringMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
Method Details
-
getCurrentId
Deprecated.- Specified by:
getCurrentIdin interfaceConfluenceEntityUpdated- Returns:
- the new content id after the update
-
getCurrentVersion
Deprecated.- Specified by:
getCurrentVersionin interfaceConfluenceEntityUpdated- Returns:
- current version
-
getOriginalId
Deprecated.- Specified by:
getOriginalIdin interfaceConfluenceEntityUpdated- Returns:
- the original content id before the update
-
getOriginalVersion
Deprecated.- Specified by:
getOriginalVersionin interfaceConfluenceEntityUpdated- Returns:
- original version
-
isMinorEdit
public boolean isMinorEdit()Deprecated.- Specified by:
isMinorEditin interfaceEdited
-
equals
Deprecated.Description copied from class:ConfluenceEventEquals 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:
equalsin 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:ConfluenceEventSubclasses must override this to hash their own fields.- Overrides:
hashCodein classConfluenceEvent- Returns:
- the hashcode
-