protected class FederatedDocumentChanges.FederatedParentChanges extends Object implements DocumentChanges.ParentChanges
| Modifier | Constructor and Description |
|---|---|
protected |
FederatedDocumentChanges.FederatedParentChanges() |
| 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)
|
protected FederatedDocumentChanges.FederatedParentChanges()
public boolean isEmpty()
DocumentChanges.ParentChangesisEmpty in interface DocumentChanges.ParentChangestrue if there aren't any changes, false otherwisepublic boolean hasNewPrimaryParent()
DocumentChanges.ParentChangeshasNewPrimaryParent in interface DocumentChanges.ParentChangestrue if there is a new primary parent, or false otherwisepublic Set<String> getAdded()
DocumentChanges.ParentChangesgetAdded in interface DocumentChanges.ParentChangespublic Set<String> getRemoved()
DocumentChanges.ParentChangesgetRemoved in interface DocumentChanges.ParentChangespublic String getNewPrimaryParent()
DocumentChanges.ParentChangesgetNewPrimaryParent in interface DocumentChanges.ParentChangesnull.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.