com.atlassian.confluence.event.events.content.page
Class PageMoveEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.content.ContentEvent
com.atlassian.confluence.event.events.content.page.PageEvent
com.atlassian.confluence.event.events.content.page.PageMoveEvent
- All Implemented Interfaces:
- Contented, Timestamped, Updated, UserDriven, java.io.Serializable
Deprecated. since 5.3. Please use PageMovedEvent
@Deprecated
public class PageMoveEvent
- extends PageEvent
- implements Updated, UserDriven
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
PageMoveEvent(java.lang.Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
java.lang.Integer oldPosition,
com.atlassian.user.User theMover)
Deprecated. |
PageMoveEvent(java.lang.Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
java.lang.Integer oldPosition,
com.atlassian.user.User theMover,
boolean movedBecauseOfParent)
Deprecated. |
Methods inherited from class com.atlassian.event.Event |
hashCode |
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 |
PageMoveEvent
public PageMoveEvent(java.lang.Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
java.lang.Integer oldPosition,
com.atlassian.user.User theMover)
- Deprecated.
- Parameters:
src
- the object that performed the movemovedPage
- the page that has been movedoldSpace
- the space the page was in - may be null if oldParentPage existsoldParentPage
- the page's old parent - may be null if the page was top level in a spaceoldPosition
- the page's old position if in an ordered list of siblings, else nulltheMover
- the user that moved the page
PageMoveEvent
public PageMoveEvent(java.lang.Object src,
Page movedPage,
Space oldSpace,
Page oldParentPage,
java.lang.Integer oldPosition,
com.atlassian.user.User theMover,
boolean movedBecauseOfParent)
- Deprecated.
- Parameters:
src
- the object that performed the movemovedPage
- the page that has been movedoldSpace
- the space the page was in - may be null if oldParentPage existsoldParentPage
- the page's old parent - may be null if the page was top level in a spaceoldPosition
- the page's old position if in an ordered list of siblings, else nulltheMover
- the user that moved the pagemovedBecauseOfParent
- true if this page was moved as a result of its parent page being moved
getOldSpace
public Space getOldSpace()
- Deprecated.
- Returns:
- the space the page was in - should never return null
getOldParentPage
public Page getOldParentPage()
- Deprecated.
- Returns:
- the page's old parent - may be null if the page was top level in a space
getOldPosition
public java.lang.Integer getOldPosition()
- Deprecated.
- Returns the position in the sibling page list the source page was in previously.
Will be null if the page was not in a manually-ordered list.
getUser
public com.atlassian.user.User getUser()
- Deprecated.
- Returns:
- the user that moved the page
getNewParentpage
public Page getNewParentpage()
- Deprecated.
hasMovedChildren
public boolean hasMovedChildren()
- Deprecated.
isMovedBecauseOfParent
public boolean isMovedBecauseOfParent()
- Deprecated.
- Returns:
- true if this page was moved as a result of its parent page being moved
isMovedSpace
public boolean isMovedSpace()
- Deprecated.
- Returns:
- true if the page has moved space.
toString
public java.lang.String toString()
- Deprecated.
- Overrides:
toString
in class PageEvent
getOriginatingUser
public com.atlassian.user.User getOriginatingUser()
- Deprecated.
- Description copied from interface:
UserDriven
- Return the user that generated the event if known.
- Specified by:
getOriginatingUser
in interface UserDriven
- Returns:
- User that drove an event. Null indicates either that the
event was driven by the anonymous user or the system itself.
Copyright © 2003-2013 Atlassian. All Rights Reserved.