public static interface DocumentChanges.ParentChanges
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAdded()
Returns a set of the ids of the parents that have been added.
|
String |
getNewPrimaryParent()
Returns the id of the new primary parent if there is a new primary parent.
|
Set<String> |
getRemoved()
Returns a set of the ids of the parents that have been removed.
|
boolean |
hasNewPrimaryParent()
Checks if there is a new primary parent.
|
boolean |
isEmpty()
Checks if there are any changes to the parent (appended/removed/primary parent changed)
|
boolean isEmpty()
true
if there aren't any changes, false
otherwiseboolean hasNewPrimaryParent()
true
if there is a new primary parent, or false
otherwiseSet<String> getAdded()
Set<String> getRemoved()
String getNewPrimaryParent()
null
.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.