handleChange(ec, target, ERCAuditTrailType.ADDED, keyPath, null, serializeObject(eo));
}
protected void handleUpdate(EOEditingContext ec, EOEnterpriseObject target, String keyPath, EOEnterpriseObject eo) {
ERXGenericRecord rec = (ERXGenericRecord) target;
EOEnterpriseObject oldValue = (EOEnterpriseObject) rec.valueForKeyPath(keyPath);
handleChange(ec, target, ERCAuditTrailType.UPDATED, keyPath, oldValue, oldValue);
}
protected void handleChange(EOEditingContext ec, EOEnterpriseObject eo, ERCAuditTrailType type, String keyPath, Object oldValue, Object newValue) {
ERXGenericRecord rec = (ERXGenericRecord) eo;