373839404142434445
} return profile; } public void setPermiso(Profile perfil, String idPermiso) { Permission permiso = new Permission(); permiso.setId(idPermiso); perfil.addPermiso(permiso); }
949596979899100101102103
return map; } public void addPermission(Set<Permission> permissions, String id, String description) { Permission permission = new Permission(); permission.setId(id); permission.setDescription(description); permissions.add(permission); }