for (Context context : ((CourseGroup)this.degreeModule).getContextsWithCourseGroups()) { new UICourseGroup(context.getDegreeModule(), context, this.toEdit, this.showRules, this.depth + 1, this.tabs + "\t", this.onlyStructure).encodeBegin(facesContext);
for (Context context : ((CourseGroup)this.degreeModule).getSortedContextsWithCourseGroups()) { new UICourseGroup(context.getDegreeModule(), context, this.toEdit, this.showRules, this.depth + 1, this.tabs + "\t", this.onlyStructure, this.toOrder).encodeBegin(facesContext);
    private void encodeChildCourseGroups() throws IOException {        for (Context context : ((CourseGroup)this.degreeModule).getContextsWithCourseGroups()) {            new UICourseGroup(context.getDegreeModule(), context, this.toEdit, this.showRules, this.depth + 1, this.tabs + "\t", this.onlyStructure).encodeBegin(facesContext);        }    }