getUpdateNotifier().addChangedObject(adapter);
}
private void addObjectChangedForPersistenceLayer(final ObjectAdapter adapter) {
LOG.debug("object change to be persisted " + adapter.getOid());
getTransactionManager().executeWithinTransaction(new TransactionalClosureAbstract() {
@Override
public void preExecute() {
CallbackUtils.callCallback(adapter, UpdatingCallbackFacet.class);
}