final Person person = AccessControl.getUserView().getPerson();  ResultEventAssociation association = null; if(bean.getEvent()==null) { final Event event = new Event(bean.getEventNameMLS(), bean.getEventType());  try { association = new ResultEventAssociation(result, event, bean.getRole(), person.getName()); } catch (DomainException e) { event.delete(); throw new FenixServiceException(e.getKey()); } } else { association = new ResultEventAssociation(result,bean.getEvent(), bean.getRole(), person.getName()); }
    public ResultEventAssociation run(ResultEventAssociationSimpleCreationBean bean, Integer resultId, String personName) throws ExcepcaoPersistencia, FenixServiceException {        final Result result = rootDomainObject.readResultByOID(resultId);        if(result == null){ throw new InvalidArgumentsServiceException(); }        final ResultEventAssociation association = new ResultEventAssociation(result,bean.getEvent(), bean.getRole(), personName);                return association;    }