public void run(Integer resultParticipationId, String personName) throws ExcepcaoPersistencia, FenixServiceException {  ResultParticipation resultParticipation = rootDomainObject.readResultParticipationByOID(resultParticipationId); if(resultParticipation == null){ throw new FenixServiceException(); } resultParticipation.delete(personName);
public void run(ResultParticipation participation) throws ExcepcaoPersistencia, FenixServiceException { final Result result = participation.getResult(); participation.delete(); result.setModificationDateAndAuthor(AccessControl.getUserView().getPerson().getName());
    public void run(Integer resultParticipationId, String personName) throws ExcepcaoPersistencia, FenixServiceException {                ResultParticipation resultParticipation = rootDomainObject.readResultParticipationByOID(resultParticipationId);        if(resultParticipation == null){            throw new FenixServiceException();        }        resultParticipation.delete(personName);      }