eventHandler.registerForDataContextEvents();
fireWillCommit();
}
try {
GraphDiff returnChanges = getChannel().onSync(this, changes, syncType);
getObjectStore().postprocessAfterCommit(returnChanges);
// this is a legacy event ... will deprecate in 2.0
fireTransactionCommitted();
// this event is caught by peer nested DataContexts to synchronize the
// state
fireDataChannelCommitted(this, changes);
// this event is caught by child DataContexts to update temporary
// ObjectIds with permanent
if (!returnChanges.isNoop()) {
fireDataChannelCommitted(getChannel(), returnChanges);
}
return returnChanges;
}