List candidacies = rootDomainObject.readRegistrationByOID(id).getAssociatedCandidancies(); for (Iterator iterator = candidacies.iterator(); iterator.hasNext();) { SeminaryCandidacy candidacy = (SeminaryCandidacy) iterator.next();  InfoCandidacy infoCandidacy = InfoCandidacy.newInfoFromDomain(candidacy);  Seminary seminary = candidacy.getSeminary();
final Student student = person.getStudent(); for (final Registration registration : student.getRegistrationsSet()) { for (final SeminaryCandidacy seminaryCandidacy : registration.getAssociatedCandidanciesSet()) { final InfoCandidacy infoCandidacy = InfoCandidacy.newInfoFromDomain(seminaryCandidacy); final Seminary seminary = seminaryCandidacy.getSeminary();
	public List run(Integer id) throws BDException, ExcepcaoPersistencia {		List candidaciesInfo = new LinkedList();		List candidacies = rootDomainObject.readRegistrationByOID(id).getAssociatedCandidancies();		for (Iterator iterator = candidacies.iterator(); iterator.hasNext();) {			SeminaryCandidacy candidacy = (SeminaryCandidacy) iterator.next();			InfoCandidacy infoCandidacy = InfoCandidacy.newInfoFromDomain(candidacy);			Seminary seminary = candidacy.getSeminary();			infoCandidacy.setSeminaryName(seminary.getName());			candidaciesInfo.add(infoCandidacy);		}		return candidaciesInfo;	}