void graphCommitted(GraphDiff parentSyncDiff) { if (parentSyncDiff != null) { new CayenneContextMergeHandler(context).merge(parentSyncDiff); } remapTargets(); stateLog.graphCommitted(); reset(); if (lifecycleEventsEnabled) { // include all diffs after the commit start marker. // We fire event as if it was posted by parent channel, so that // nested contexts could catch it context.fireDataChannelCommitted(context.getChannel(), parentSyncDiff); } }