7677787980818283
try { this.getRoleDAO().deleteRole(role); _roles.remove(role.getName()); } catch (Throwable t) { SystemUtils.logThrowable(t, this, "removeRole"); throw new SystemException("Errore in rimozione Ruolo", t); } }
9293949596979899
try { this.getRoleDAO().updateRole(role); _roles.put(role.getName(), role); } catch (Throwable t) { SystemUtils.logThrowable(t, this, "updateRole"); throw new SystemException("Errore in aggiornamento Ruolo", t); } }
111112113114115116117118
try { this.getRoleDAO().addRole(role); _roles.put(role.getName(), role); } catch (Throwable t) { SystemUtils.logThrowable(t, this, "addRole"); throw new SystemException("Errore in aggiunta Ruolo", t); } }
149150151152153154155156
Role role = (Role) roleIt.next(); role.removePermission(permissionName); } } catch (Throwable t) { SystemUtils.logThrowable(t, this, "removePermission"); throw new SystemException("Errore in rimozione permesso", t); } }
174175176177178179180181
} } _permissions.add(permission); } catch (Throwable t) { SystemUtils.logThrowable(t, this, "updatePermission"); throw new SystemException("Errore in aggiornamento permesso", t); } }
192193194195196197198199
try { this.getPermissionDAO().addPermission(permission); _permissions.add(permission); } catch (Throwable t) { SystemUtils.logThrowable(t, this, "addPermission"); throw new SystemException("Errore in aggiunta permesso", t); } }
208209210211212213214215216
SystemUtils.getLogger().finest("Invocato"); int number = 0; try { number = this.getRoleDAO().getRoleUses(role); } catch (Throwable t) { throw new SystemException("Errore in numero utenti utilizzanti ruolo", t); } return number; }