Applies the resolving strategy between the last known revision baseDoc
(or None
if the document did not exist before to the client knowledge),
the last revision in the database lastDoc
(or None
if the document was deleted)
and the document the client wants to save currentDoc
.
Applies the resolving strategy between the last known revision baseDoc
(or None
if the document did not exist before to the client knowledge),
the last revision in the database lastDoc
(or None
if the document was deleted)
and the document the client wants to save currentDoc
.
If no automatic merge could be found, then returns None
, which results in a conflict exception.
When JNothing
is returned no further try is performed and the saving is considered succesful by
keeping the current version in the database.
A strategy indicates how update conflict are resolved. It is used by the conflict resolver at each try and may be called several times with the same document if the document changed while the strategy was applied.