Student student = Student.getById(studentID); Seminary seminary = Seminary.getById(seminaryID);
Student student = rootDomainObject.readStudentByOID(studentID); Seminary seminary = rootDomainObject.readSeminaryByOID(seminaryID);
    public List run(Integer studentID, Integer seminaryID) throws BDException, ExcepcaoPersistencia {        List candidaciesInfo = new LinkedList();        Student student = Student.getById(studentID);        Seminary seminary = Seminary.getById(seminaryID);        List<Candidacy> candidacies = Candidacy.getByStudentAndSeminary(student, seminary);        for (Candidacy candidacy : candidacies) {            InfoCandidacy infoCandidacy = InfoCandidacy.newInfoFromDomain(candidacy);            infoCandidacy.setSeminaryName(seminary.getName());            candidaciesInfo.add(infoCandidacy);        }        return candidaciesInfo;    }