public List readBySiteAndSection(ISite site, ISection superiorSection) throws ExcepcaoPersistencia {  ISection section = (Section) superiorSection;
public List readBySiteAndSection(String executionCourseSigla, String executionPeriodName, String year, Integer superiorSectionID) throws ExcepcaoPersistencia {
    public List readBySiteAndSection(ISite site, ISection superiorSection) throws ExcepcaoPersistencia {        ISection section = (Section) superiorSection;        Criteria crit = new Criteria();        crit.addEqualTo("site.executionCourse.code", site.getExecutionCourse().getSigla());        crit.addEqualTo("site.executionCourse.executionPeriod.name", site.getExecutionCourse()                .getExecutionPeriod().getName());        crit.addEqualTo("site.executionCourse.executionPeriod.executionYear.year", site                .getExecutionCourse().getExecutionPeriod().getExecutionYear().getYear());        if (section == null) {            crit.addIsNull("keySuperiorSection");        } else {            crit.addEqualTo("keySuperiorSection", section.getIdInternal());        }        return queryList(Section.class, crit);    }