@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, toString
getSource
public Long getCurrentId()
getCurrentId
in interface ConfluenceEntityUpdated
public Integer getCurrentVersion()
getCurrentVersion
in interface ConfluenceEntityUpdated
public Long getOriginalId()
getOriginalId
in interface ConfluenceEntityUpdated
public Integer getOriginalVersion()
getOriginalVersion
in interface ConfluenceEntityUpdated
public boolean isMinorEdit()
isMinorEdit
in interface Edited
public boolean equals(@Nullable Object o)
equals
in class com.atlassian.event.Event
public int hashCode()
hashCode
in class com.atlassian.event.Event
Copyright © 2003–2017 Atlassian. All rights reserved.