public class ChildOrderConflictHandler extends java.lang.Object implements PartialConflictHandler
TreeConstants.OAK_CHILD_ORDERPartialConflictHandler.Resolution| Constructor and Description |
|---|
ChildOrderConflictHandler() |
| Modifier and Type | Method and Description |
|---|---|
PartialConflictHandler.Resolution |
addExistingNode(NodeBuilder parent,
java.lang.String name,
NodeState ours,
NodeState theirs)
The node
ours has been added to parent which conflicts
with node theirs which has been added in the persistence store. |
PartialConflictHandler.Resolution |
addExistingProperty(NodeBuilder parent,
PropertyState ours,
PropertyState theirs)
The property
ours has been added to parent which conflicts
with property theirs which has been added in the persistence store. |
PartialConflictHandler.Resolution |
changeChangedProperty(NodeBuilder parent,
PropertyState ours,
PropertyState theirs)
The property
ours has been changed in parent while it was
also changed to a different value (theirs) in the persistence store. |
PartialConflictHandler.Resolution |
changeDeletedNode(NodeBuilder parent,
java.lang.String name,
NodeState ours)
The node
ours has been changed in parent while it was
removed in the persistence store. |
PartialConflictHandler.Resolution |
changeDeletedProperty(NodeBuilder parent,
PropertyState ours)
The property
ours has been changed in parent while it was
removed in the persistence store. |
PartialConflictHandler.Resolution |
deleteChangedNode(NodeBuilder parent,
java.lang.String name,
NodeState theirs)
The node
theirs changed in the persistence store while it has been
deleted locally. |
PartialConflictHandler.Resolution |
deleteChangedProperty(NodeBuilder parent,
PropertyState theirs)
The property
theirs changed in the persistence store while it has been
deleted locally. |
PartialConflictHandler.Resolution |
deleteDeletedNode(NodeBuilder parent,
java.lang.String name)
The node
name has been removed in parent while it was
also removed in the persistence store. |
PartialConflictHandler.Resolution |
deleteDeletedProperty(NodeBuilder parent,
PropertyState ours)
The property
ours has been removed in parent while it was
also removed in the persistence store. |
public PartialConflictHandler.Resolution addExistingProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs)
PartialConflictHandlerours has been added to parent which conflicts
with property theirs which has been added in the persistence store.addExistingProperty in interface PartialConflictHandlerparent - root of the conflictours - our version of the propertytheirs - their version of the propertyPartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution changeDeletedProperty(NodeBuilder parent, PropertyState ours)
PartialConflictHandlerours has been changed in parent while it was
removed in the persistence store.changeDeletedProperty in interface PartialConflictHandlerparent - root of the conflictours - our version of the propertyPartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs)
PartialConflictHandlerours has been changed in parent while it was
also changed to a different value (theirs) in the persistence store.changeChangedProperty in interface PartialConflictHandlerparent - root of the conflictours - our version of the propertytheirs - their version of the propertyPartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution deleteDeletedProperty(NodeBuilder parent, PropertyState ours)
PartialConflictHandlerours has been removed in parent while it was
also removed in the persistence store.deleteDeletedProperty in interface PartialConflictHandlerparent - root of the conflictours - our version of the propertyPartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution deleteChangedProperty(NodeBuilder parent, PropertyState theirs)
PartialConflictHandlertheirs changed in the persistence store while it has been
deleted locally.deleteChangedProperty in interface PartialConflictHandlerparent - root of the conflicttheirs - their version of the propertyPartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
PartialConflictHandlerours has been added to parent which conflicts
with node theirs which has been added in the persistence store.addExistingNode in interface PartialConflictHandlerparent - root of the conflictname - name of the nodeours - our version of the nodetheirs - their version of the nodePartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
PartialConflictHandlerours has been changed in parent while it was
removed in the persistence store.changeDeletedNode in interface PartialConflictHandlerparent - root of the conflictname - name of the nodeours - our version of the nodePartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
PartialConflictHandlertheirs changed in the persistence store while it has been
deleted locally.deleteChangedNode in interface PartialConflictHandlerparent - root of the conflictname - name of the nodetheirs - their version of the nodePartialConflictHandler.Resolution of the conflict or nullpublic PartialConflictHandler.Resolution deleteDeletedNode(NodeBuilder parent, java.lang.String name)
PartialConflictHandlername has been removed in parent while it was
also removed in the persistence store.deleteDeletedNode in interface PartialConflictHandlerparent - root of the conflictname - name of the nodePartialConflictHandler.Resolution of the conflict or nullCopyright © 2010 - 2023 Adobe. All Rights Reserved