204205206207208209210211212213214
try { nat.begin(); boolean recursive = true; boolean overwrite = false; MacroParameters parameters = new MacroParameters(recursive,overwrite); macro.delete(slideToken,objectUri,parameters); nat.commit(); }
205206207208209210211212213214215
375376377378379380381382383384385
nat.begin(); // the user may not delete herself if ( !selfUri.equals(strUri)) { macro.delete(slidetoken, strUri, new MacroParameters(true, false)); } nat.commit(); } catch (MacroException e) {
543544545546547548549550551552553
768769770771772773774775776777778
try { try { nat.begin(); macro.delete(slidetoken, strUri, new MacroParameters(true, false)); nat.commit(); } catch (MacroException e) { // some aspect of the delete operation failed