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 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.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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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: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
-