int userId = persistent.getFieldInt("uid");
if (userId != - 1 && userId != 0 && userId != 1 && userId != 2)
{
String userName = persistent.getFieldString("name");
EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
Properties props = new Properties();
props.put("id", userId);
props.put("name", userName);
em.fire("aktera.user.delete", request, log, props);
deleteUserPersistent(request, response, persistent, systemDelete);
props = new Properties();
props.put("id", userId);
props.put("name", userName);
em.fire("aktera.user.deleted", request, log, props);
}
}