From: Anjo K. <an...@us...> - 2006-01-03 10:31:28
|
Update of /cvsroot/wonder/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32374 Modified Files: ERXEntityClassDescription.java Log Message: added missing argument Index: ERXEntityClassDescription.java =================================================================== RCS file: /cvsroot/wonder/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEntityClassDescription.java,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** ERXEntityClassDescription.java 19 Oct 2005 08:21:34 -0000 1.50 --- ERXEntityClassDescription.java 3 Jan 2006 10:31:20 -0000 1.51 *************** *** 641,645 **** try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_DELETE); } super.validateObjectForDelete(obj); --- 641,645 ---- try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_DELETE, obj); } super.validateObjectForDelete(obj); *************** *** 703,707 **** try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_UPDATE); } validateObjectWithUserInfo(obj, null, "validateForUpdate", "validateForUpdate"); --- 703,707 ---- try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_UPDATE, obj); } validateObjectWithUserInfo(obj, null, "validateForUpdate", "validateForUpdate"); *************** *** 728,732 **** try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_INSERT); } validateObjectWithUserInfo(obj, null, "validateForInsert", "validateForInsert"); --- 728,732 ---- try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_INSERT, obj); } validateObjectWithUserInfo(obj, null, "validateForInsert", "validateForInsert"); *************** *** 787,791 **** try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_SAVE); } --- 787,791 ---- try { if (useValidity()) { ! invokeValidityMethodWithType(VALIDITY_SAVE, obj); } *************** *** 1103,1111 **** ! private void invokeValidityMethodWithType(int type) throws NSValidation.ValidationException{ try { Object dummy = null; Method m = validityMethods()[type]; ! m.invoke(sharedGSVEngineInstance(), new Object[]{this}); } catch (IllegalAccessException e1) { log.error("an exception occured in validityValidateEOObjectOnSave", e1); --- 1103,1111 ---- ! private void invokeValidityMethodWithType(int type, EOEnterpriseObject eo) throws NSValidation.ValidationException{ try { Object dummy = null; Method m = validityMethods()[type]; ! m.invoke(sharedGSVEngineInstance(), new Object[]{eo}); } catch (IllegalAccessException e1) { log.error("an exception occured in validityValidateEOObjectOnSave", e1); |