public abstract class AbstractCopyPageHierarchyEvent extends AbstractPageHierarchyEvent
source
Constructor and Description |
---|
AbstractCopyPageHierarchyEvent(Object source,
Page root,
Page destination,
@Nullable ConfluenceUser initiator,
boolean suppressNotifications)
Deprecated.
|
AbstractCopyPageHierarchyEvent(Object source,
Page root,
Page destination,
@Nullable ConfluenceUser initiator,
boolean suppressNotifications,
int hierarchySize,
boolean includeAttachments,
boolean includeRestrictions,
boolean includeLabels) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable Object other)
Equals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.
|
Page |
getDestination() |
Page |
getTargetPage() |
int |
hashCode()
Subclasses must override this to hash their own fields.
|
boolean |
isIncludeAttachments() |
boolean |
isIncludeLabels() |
boolean |
isIncludeRestrictions() |
getHierarchySize, getInitiator
getContent, getPage, toString
isSuppressNotifications, setSuppressNotifications
getSource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestamp
@Deprecated public AbstractCopyPageHierarchyEvent(Object source, Page root, Page destination, @Nullable ConfluenceUser initiator, boolean suppressNotifications)
AbstractCopyPageHierarchyEvent(Object, Page, Page, ConfluenceUser, boolean, int, boolean, boolean, boolean)
instead.public AbstractCopyPageHierarchyEvent(Object source, Page root, Page destination, @Nullable ConfluenceUser initiator, boolean suppressNotifications, int hierarchySize, boolean includeAttachments, boolean includeRestrictions, boolean includeLabels)
public Page getDestination()
public final Page getTargetPage()
getTargetPage
in class AbstractPageHierarchyEvent
public boolean isIncludeAttachments()
public boolean isIncludeRestrictions()
public boolean isIncludeLabels()
public boolean equals(@Nullable Object other)
ConfluenceEvent
Subclasses must override this to compare their own fields.
equals
in class AbstractPageHierarchyEvent
other
- the object to compare.Event.equals(Object)
public int hashCode()
ConfluenceEvent
hashCode
in class AbstractPageHierarchyEvent
Event.hashCode()
Copyright © 2003–2020 Atlassian. All rights reserved.