|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DocumentChanges.ChildrenChanges
Interface which encapsulates the changes to a document's children during an update operation. None of the changes in children expose SNS changes directly, so a connector would have to be aware of that during processing.
Method Summary | |
---|---|
LinkedHashMap<String,Name> |
getAppended()
Returns the (childId, childName) map of children that have been appended to underlying document. |
Map<String,LinkedHashMap<String,Name>> |
getInsertedBeforeAnotherChild()
Returns the (insertedBeforeChildId, (childId, childName)) map of the children that have been inserted before an existing child due to a reordering operation. |
Set<String> |
getRemoved()
Returns the ids of the children that have been removed. |
Map<String,Name> |
getRenamed()
Returns the (childId, newChildName) map of children that have been renamed. |
boolean |
isEmpty()
Checks if there are any changes to the children (appended/renamed/removed/insertedBefore) |
Method Detail |
---|
boolean isEmpty()
true
if there aren't any changes, false
otherwiseLinkedHashMap<String,Name> getAppended()
Map<String,Name> getRenamed()
Map<String,LinkedHashMap<String,Name>> getInsertedBeforeAnotherChild()
Set<String> getRemoved()
|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |