public ResultParticipation run(ResultParticipationCreationBean bean) throws ExcepcaoPersistencia, FenixServiceException {
public ResultParticipation run(ResultParticipationCreationBean bean) throws FenixServiceException {
    public ResultParticipation run(ResultParticipationCreationBean bean) throws ExcepcaoPersistencia, FenixServiceException {        final Result result = bean.getResult();        if(result == null){ throw new InvalidArgumentsServiceException(); }                final Person person = AccessControl.getUserView().getPerson();        ResultParticipation resultParticipation = null;                if(bean.getPerson()!=null) {            resultParticipation = new ResultParticipation(result,bean.getPerson(),bean.getResultParticipationRole(), person);        }        else {            if (!(bean.getOrganization()==null && (bean.getOrganizationName()==null||bean.getOrganizationName().equals("")))) {                final InsertExternalPerson insertExternalPerson = new InsertExternalPerson();                final ExternalPerson externalPerson;                if (bean.getOrganization() == null) {                    externalPerson = insertExternalPerson.run(bean.getPersonName(), bean.getOrganizationName());                }                else {                    externalPerson = insertExternalPerson.run(bean.getPersonName(), bean.getOrganization());                }                resultParticipation = new ResultParticipation(result,externalPerson.getPerson(),bean.getResultParticipationRole(), person);            }        }                        return resultParticipation;    }