Class PageMovedEvent
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.PageMovedEvent
- All Implemented Interfaces:
UserDriven,Updated,Serializable
@AsynchronousPreferred
@Deprecated
public class PageMovedEvent
extends PageEvent
implements Updated, UserDriven
Deprecated.
since 5.5. Use the synchronous events
- Since:
- 5.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPageMovedEvent(Object src, com.atlassian.sal.api.user.UserKey userKey, Long movedPageId, Integer movedPageVersion, String originalSpaceKey, String currentSpaceKey, Long originalParentPageId, Long currentParentPageId, boolean movedBecauseOfParent, boolean hasMovedChildren, boolean suppressNotifications) Deprecated. -
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.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
getSourceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.confluence.event.events.content.page.async.types.UserDriven
getOriginatingUserKey
-
Constructor Details
-
PageMovedEvent
public PageMovedEvent(Object src, com.atlassian.sal.api.user.UserKey userKey, Long movedPageId, Integer movedPageVersion, String originalSpaceKey, String currentSpaceKey, Long originalParentPageId, Long currentParentPageId, boolean movedBecauseOfParent, boolean hasMovedChildren, boolean suppressNotifications) Deprecated.
-
-
Method Details
-
getOriginalSpaceKey
Deprecated. -
getCurrentSpaceKey
Deprecated. -
getOriginalParentPageId
Deprecated. -
getCurrentParentPageId
Deprecated. -
hasMovedChildren
public boolean hasMovedChildren()Deprecated. -
isMovedBecauseOfParent
public boolean isMovedBecauseOfParent()Deprecated. -
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
-