fireModified(object, propertyNames, oldValues, newValues);
firePostModified(object);
return;
}
ModificationProxy h = (ModificationProxy) Proxy.getInvocationHandler(object);
// get the real object
CatalogInfo real = (CatalogInfo) h.getProxyObject();
// fire out what changed
List propertyNames = h.getPropertyNames();
List newValues = h.getNewValues();
List oldValues = h.getOldValues();
// TODO: protect this original object, perhaps with another proxy
fireModified(real, propertyNames, oldValues, newValues);
// commit to the original object
h.commit();
// resolve to do a sync on the object
// syncIdWithName(real);
// fire the post modify event