@AsynchronousPreferred @Deprecated public class PageEditedEvent extends PageEvent implements Edited, ConfluenceEntityUpdated
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.
source| Constructor and Description |
|---|
PageEditedEvent(Object src,
com.atlassian.sal.api.user.UserKey userKey,
Long currentPageId,
Integer currentVersion,
Long originalPageId,
Integer originalVersion,
boolean suppressNotifications)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
|
Long |
getCurrentId()
Deprecated.
|
Integer |
getCurrentVersion()
Deprecated.
|
Long |
getOriginalId()
Deprecated.
|
Integer |
getOriginalVersion()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isMinorEdit()
Deprecated.
|
getOriginatingUserKey, getPageId, getPageVersion, isSuppressNotifications, toStringgetSourcepublic Long getCurrentId()
getCurrentId in interface ConfluenceEntityUpdatedpublic Integer getCurrentVersion()
getCurrentVersion in interface ConfluenceEntityUpdatedpublic Long getOriginalId()
getOriginalId in interface ConfluenceEntityUpdatedpublic Integer getOriginalVersion()
getOriginalVersion in interface ConfluenceEntityUpdatedpublic boolean isMinorEdit()
isMinorEdit in interface Editedpublic boolean equals(@Nullable Object o)
equals in class com.atlassian.event.Eventpublic int hashCode()
hashCode in class com.atlassian.event.EventCopyright © 2003–2019 Atlassian. All rights reserved.