public void run(Integer resultParticipationId, Integer offset, String personName) throws ExcepcaoPersistencia, FenixServiceException { final ResultParticipation resultParticipation = (ResultParticipation) rootDomainObject.readResultParticipationByOID(resultParticipationId);  if(resultParticipation == null) { throw new FenixServiceException("error.ResultParticipation.not.found");
public void run(ResultParticipation participation, OrderChange orderChange) { switch (orderChange) { case MoveUp: participation.moveUp(); break; case MoveDown: participation.moveDown(); break; case MoveTop: participation.moveTop(); break; case MoveBottom: participation.moveBottom(); break;
    public void run(Integer resultParticipationId, Integer offset, String personName) throws ExcepcaoPersistencia, FenixServiceException {        final ResultParticipation resultParticipation = (ResultParticipation) rootDomainObject.readResultParticipationByOID(resultParticipationId);                if(resultParticipation == null) {            throw new FenixServiceException("error.ResultParticipation.not.found");        }                if(!resultParticipation.changeOrder(offset, personName)) {            throw new FenixServiceException("error.ResultParticipation.changeOrder");        }       }