com.atlassian.confluence.event.events.content.page
Class PageChildrenReorderEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by com.atlassian.confluence.event.events.content.ContentEvent
                      extended by com.atlassian.confluence.event.events.content.page.PageEvent
                          extended by com.atlassian.confluence.event.events.content.page.PageChildrenReorderEvent
All Implemented Interfaces:
Contented, Timestamped, Updated, java.io.Serializable

public class PageChildrenReorderEvent
extends PageEvent
implements Updated

An event where a page's children are re-ordered. No children are added or removed as part of the event, they only change position in the children list.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PageChildrenReorderEvent(java.lang.Object src, Page parentPage, java.util.List oldSortedChildren, java.util.List newSortedChildren, com.atlassian.user.User user)
           
 
Method Summary
 java.util.List getNewSortedChildren()
           
 java.util.List getOldSortedChildren()
           
 com.atlassian.user.User getUser()
           
 
Methods inherited from class com.atlassian.confluence.event.events.content.page.PageEvent
getContent, getPage, toString
 
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
equals, isSuppressNotifications, setSuppressNotifications
 
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
 
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
 

Constructor Detail

PageChildrenReorderEvent

public PageChildrenReorderEvent(java.lang.Object src,
                                Page parentPage,
                                java.util.List oldSortedChildren,
                                java.util.List newSortedChildren,
                                com.atlassian.user.User user)
Parameters:
src - the object that performed the move
parentPage - the page that has reordered children
oldSortedChildren - the ordered List of child pages before the reorder
newSortedChildren - the ordered List of child pages after the reorder
user - the user that moved the page
Method Detail

getUser

public com.atlassian.user.User getUser()
Returns:
the user that moved the page

getOldSortedChildren

public java.util.List getOldSortedChildren()
Returns:
the list of page children before the reorder

getNewSortedChildren

public java.util.List getNewSortedChildren()
Returns:
the list of page children after the reorder


Copyright © 2003-2014 Atlassian. All Rights Reserved.