Examples of StudentsSearchBean


Examples of org.fenixedu.academic.dto.student.StudentsSearchBean

    @EntryPoint
    public ActionForward prepareSearch(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        StudentsSearchBean studentsSearchBean = getRenderedObject();

        if (studentsSearchBean == null) { // 1st time
            studentsSearchBean = new StudentsSearchBean();
        } else {

            final Set<Student> students = studentsSearchBean.search();

            if (students.size() == 1) {
                Student student = students.iterator().next();
                request.setAttribute("student", student);
                request.setAttribute("choosePhdOrRegistration", new ChooseRegistrationOrPhd(student));
View Full Code Here

Examples of org.fenixedu.academic.dto.student.StudentsSearchBean

    @EntryPoint
    public ActionForward prepareSearch(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        StudentsSearchBean studentsSearchBean = getRenderedObject();

        if (studentsSearchBean == null) { // 1st time
            studentsSearchBean = new StudentsSearchBean();
        } else {

            final Set<AcademicProgram> programs = new HashSet<AcademicProgram>();

            programs.addAll(Bennu.getInstance().getDegreesSet());

            final Set<Student> students = studentsSearchBean.searchForPrograms(programs);

            if (students.size() == 1) {

                request.setAttribute("student", students.iterator().next());
                return mapping.findForward("viewStudentDetails");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.