public class PageChildrenReorderEvent extends PageEvent implements Updated
source
Constructor and Description |
---|
PageChildrenReorderEvent(Object src,
Page parentPage,
List<Page> oldSortedChildren,
List<Page> newSortedChildren,
@Nullable com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object obj)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
@NonNull List<Page> |
getNewSortedChildPages() |
@NonNull List<Page> |
getOldSortedChildPages() |
@Nullable com.atlassian.user.User |
getUser() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
getContent, getPage, toString
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
public PageChildrenReorderEvent(Object src, Page parentPage, List<Page> oldSortedChildren, List<Page> newSortedChildren, @Nullable com.atlassian.user.User user)
src
- the object that performed the moveparentPage
- the page that has reordered childrenoldSortedChildren
- the ordered List of child pages before the reordernewSortedChildren
- the ordered List of child pages after the reorderuser
- the user that moved the page. Can be nullpublic @Nullable com.atlassian.user.User getUser()
public @NonNull List<Page> getOldSortedChildPages()
public @NonNull List<Page> getNewSortedChildPages()
public boolean equals(@Nullable Object obj)
ConfluenceEvent
Subclasses must override this to compare their own fields.
public int hashCode()
ConfluenceEvent
Copyright © 2003–2020 Atlassian. All rights reserved.