|
ModeShape Distribution 3.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface DocumentChanges.ParentChanges
Interface which encapsulates the changes to a document's parents during an update operation.
| 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) |
| Method Detail |
|---|
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.
|
ModeShape Distribution 3.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||