/** * Update the rule dictionary from the specified dictionaryPath * * @param A rule dictionary object * @return boolean true if the update was successful otherwise false. * @see See writeDictionary http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10663/toc.htm */ public static boolean updateRuleDictionary(RuleDictionary dictionary) throws Exception { UndoableEdit undo = null; List<SDKWarning> warnings = new ArrayList<SDKWarning>(); boolean rc = false; try { undo = dictionary.update(warnings); rc = true; } catch (ConcurrentUpdateException e) { dictionary.rollback(); } catch (SDKException e) { dictionary.rollback(); } return rc; }