if (InodeUtils.isSet(mlForm.getUserFilterListInode())) {
uf = (UserFilter) InodeFactory.getInode(mlForm.getUserFilterListInode(), UserFilter.class);
//removing permissions on the user filter
PermissionAPI perAPI = APILocator.getPermissionAPI();
perAPI.removePermissions(uf);
InodeFactory.deleteInode(uf);
HibernateUtil.flush();
HibernateUtil.closeSession();
SessionMessages.add(req, "message", "message.userfilter.success.delete");