List allSections = persistentSection.readBySite(site);
List allSections = persistentSection.readBySite(site.getExecutionCourse().getSigla(), site.getExecutionCourse().getExecutionPeriod().getName(), site.getExecutionCourse().getExecutionPeriod().getExecutionYear().getYear());
    private ISiteComponent getInfoSiteSections(InfoSiteSections component,            ISite site, Integer sectionCode) throws FenixServiceException {        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            IPersistentSection persistentSection = sp.getIPersistentSection();            ISection iSection = (ISection) persistentSection.readByOID(                    Section.class, sectionCode);            InfoSection infoSection = InfoSection.newInfoFromDomain(iSection);            List allSections = persistentSection.readBySite(site);            // build the result of this service            Iterator iterator = allSections.iterator();            List infoSectionsList = new ArrayList(allSections.size());            if (iSection.getSuperiorSection() == null) {                while (iterator.hasNext()) {                    ISection section = (ISection) iterator.next();                    if ((section.getSuperiorSection() == null)                            && !section.getName().equals(iSection.getName())) {                        infoSectionsList.add(InfoSection.newInfoFromDomain(section));                    }                }            } else {                while (iterator.hasNext()) {                    ISection section = (ISection) iterator.next();                    if ((section.getSuperiorSection() != null && section                            .getSuperiorSection().getIdInternal().equals(                                    iSection.getSuperiorSection()                                            .getIdInternal()))                            && !section.getName().equals(iSection.getName())) {                        infoSectionsList.add(InfoSection.newInfoFromDomain(section));                    }                }            }            Collections.sort(infoSectionsList);            component.setSection(infoSection);            component.setSections(infoSectionsList);        } catch (ExcepcaoPersistencia e) {            throw new FenixServiceException(e);        }        return component;    }