if (studentTestQuestion.getOptionShuffle() == null) { studentTestQuestion.setOptionShuffle(infoStudentTestQuestion.getOptionShuffle()); }
    public List<InfoStudentTestQuestion> run(String userName, Integer distributedTestId, Boolean log, String path) throws FenixServiceException,            ExcepcaoPersistencia {        List<InfoStudentTestQuestion> infoStudentTestQuestionList = new ArrayList<InfoStudentTestQuestion>();        path = path.replace('\\', '/');        ISuportePersistente persistentSuport = PersistenceSupportFactory.getDefaultPersistenceSupport();        IStudent student = persistentSuport.getIPersistentStudent().readByUsername(userName);        if (student == null)            throw new FenixServiceException();        IDistributedTest distributedTest = (IDistributedTest) persistentSuport.getIPersistentDistributedTest().readByOID(DistributedTest.class,                distributedTestId);        if (distributedTest == null) {            throw new InvalidArgumentsServiceException();        }        List<IStudentTestQuestion> studentTestQuestionList = persistentSuport.getIPersistentStudentTestQuestion().readByStudentAndDistributedTest(                student.getIdInternal(), distributedTest.getIdInternal());        if (studentTestQuestionList.size() == 0)            throw new InvalidArgumentsServiceException();        for (IStudentTestQuestion studentTestQuestion : studentTestQuestionList) {            InfoStudentTestQuestion infoStudentTestQuestion;            ParseQuestion parse = new ParseQuestion();            try {                infoStudentTestQuestion = InfoStudentTestQuestionWithAll.newInfoFromDomain(studentTestQuestion);                infoStudentTestQuestion = parse.parseStudentTestQuestion(infoStudentTestQuestion, path);            } catch (Exception e) {                throw new FenixServiceException(e);            }            infoStudentTestQuestionList.add(infoStudentTestQuestion);        }        if (log.booleanValue()) {            IStudentTestLog studentTestLog = DomainFactory.makeStudentTestLog();            studentTestLog.setDistributedTest(distributedTest);            studentTestLog.setStudent(student);            studentTestLog.setDate(Calendar.getInstance().getTime());            studentTestLog.setEvent(new String("Ler Ficha de Trabalho"));        }        return infoStudentTestQuestionList;    }