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:
Updated, 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(Object src, Page parentPage, List oldSortedChildren, List newSortedChildren, com.atlassian.user.User user)
           
 
Method Summary
 List getNewSortedChildren()
           
 List getOldSortedChildren()
           
 com.atlassian.user.User getUser()
           
 
Methods inherited from class com.atlassian.confluence.event.events.content.page.PageEvent
getContent, getPage
 
Methods inherited from class com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageChildrenReorderEvent

public PageChildrenReorderEvent(Object src,
                                Page parentPage,
                                List oldSortedChildren,
                                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 List getOldSortedChildren()
Returns:
the list of page children before the reorder

getNewSortedChildren

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.