public class ChildOrderConflictHandler extends java.lang.Object implements PartialConflictHandler
TreeConstants.OAK_CHILD_ORDER
PartialConflictHandler.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)
PartialConflictHandler
ours
has been added to parent
which conflicts
with property theirs
which has been added in the persistence store.addExistingProperty
in interface PartialConflictHandler
parent
- root of the conflictours
- our version of the propertytheirs
- their version of the propertyPartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution changeDeletedProperty(NodeBuilder parent, PropertyState ours)
PartialConflictHandler
ours
has been changed in parent
while it was
removed in the persistence store.changeDeletedProperty
in interface PartialConflictHandler
parent
- root of the conflictours
- our version of the propertyPartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution changeChangedProperty(NodeBuilder parent, PropertyState ours, PropertyState theirs)
PartialConflictHandler
ours
has been changed in parent
while it was
also changed to a different value (theirs
) in the persistence store.changeChangedProperty
in interface PartialConflictHandler
parent
- root of the conflictours
- our version of the propertytheirs
- their version of the propertyPartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution deleteDeletedProperty(NodeBuilder parent, PropertyState ours)
PartialConflictHandler
ours
has been removed in parent
while it was
also removed in the persistence store.deleteDeletedProperty
in interface PartialConflictHandler
parent
- root of the conflictours
- our version of the propertyPartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution deleteChangedProperty(NodeBuilder parent, PropertyState theirs)
PartialConflictHandler
theirs
changed in the persistence store while it has been
deleted locally.deleteChangedProperty
in interface PartialConflictHandler
parent
- root of the conflicttheirs
- their version of the propertyPartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution addExistingNode(NodeBuilder parent, java.lang.String name, NodeState ours, NodeState theirs)
PartialConflictHandler
ours
has been added to parent
which conflicts
with node theirs
which has been added in the persistence store.addExistingNode
in interface PartialConflictHandler
parent
- root of the conflictname
- name of the nodeours
- our version of the nodetheirs
- their version of the nodePartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution changeDeletedNode(NodeBuilder parent, java.lang.String name, NodeState ours)
PartialConflictHandler
ours
has been changed in parent
while it was
removed in the persistence store.changeDeletedNode
in interface PartialConflictHandler
parent
- root of the conflictname
- name of the nodeours
- our version of the nodePartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution deleteChangedNode(NodeBuilder parent, java.lang.String name, NodeState theirs)
PartialConflictHandler
theirs
changed in the persistence store while it has been
deleted locally.deleteChangedNode
in interface PartialConflictHandler
parent
- root of the conflictname
- name of the nodetheirs
- their version of the nodePartialConflictHandler.Resolution
of the conflict or null
public PartialConflictHandler.Resolution deleteDeletedNode(NodeBuilder parent, java.lang.String name)
PartialConflictHandler
name
has been removed in parent
while it was
also removed in the persistence store.deleteDeletedNode
in interface PartialConflictHandler
parent
- root of the conflictname
- name of the nodePartialConflictHandler.Resolution
of the conflict or null
Copyright © 2010 - 2020 Adobe. All Rights Reserved