ExecutionDegree.filterByAcademicInterval(getAcademicIntervalFromParameter(getAcademicInterval()));
List<InfoExecutionDegree> infoExecutionDegrees = new ArrayList<InfoExecutionDegree>();
for (ExecutionDegree degree : degrees) {
infoExecutionDegrees.add(new InfoExecutionDegree(degree));
}
Collections.sort(infoExecutionDegrees, new ComparatorByNameForInfoExecutionDegree());
List<SelectItem> result = new ArrayList<SelectItem>(infoExecutionDegrees.size());
result.add(new SelectItem(0, this.chooseMessage));
for (InfoExecutionDegree infoExecutionDegree : infoExecutionDegrees) {
StringBuilder label = new StringBuilder();