|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.federation.FederatedDocumentChanges.FederatedParentChanges
protected class FederatedDocumentChanges.FederatedParentChanges
Constructor Summary | |
---|---|
protected |
FederatedDocumentChanges.FederatedParentChanges()
|
Method Summary | |
---|---|
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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FederatedDocumentChanges.FederatedParentChanges()
Method Detail |
---|
public boolean isEmpty()
DocumentChanges.ParentChanges
isEmpty
in interface DocumentChanges.ParentChanges
true
if there aren't any changes, false
otherwisepublic boolean hasNewPrimaryParent()
DocumentChanges.ParentChanges
hasNewPrimaryParent
in interface DocumentChanges.ParentChanges
true
if there is a new primary parent, or false
otherwisepublic Set<String> getAdded()
DocumentChanges.ParentChanges
getAdded
in interface DocumentChanges.ParentChanges
public Set<String> getRemoved()
DocumentChanges.ParentChanges
getRemoved
in interface DocumentChanges.ParentChanges
public String getNewPrimaryParent()
DocumentChanges.ParentChanges
getNewPrimaryParent
in interface DocumentChanges.ParentChanges
null
.
|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |