Examples of StudentNumberBean


Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

    public ActionForward prepareSearchStudent(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        final Object renderedObject = getRenderedObject("student-number-bean");
        if (renderedObject == null) {
            request.setAttribute("studentNumberBean", new StudentNumberBean());
        } else {
            final StudentNumberBean numberBean = (StudentNumberBean) renderedObject;
            final Student student = getStudent(numberBean);
            if (student != null) {
                RenderUtils.invalidateViewState();
                request.setAttribute("registrations", getAllRegistrations(student));
                request.setAttribute("studentNumberBean", numberBean);
View Full Code Here

Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

    }

    public ActionForward showAllStudentCurricularPlans(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        final StudentNumberBean studentNumberBean = new StudentNumberBean();
        final Student student = getStudent(request);
        studentNumberBean.setNumber(student.getNumber());

        request.setAttribute("studentNumberBean", studentNumberBean);
        request.setAttribute("registrations", getAllRegistrations(student));

        return mapping.findForward("chooseStudentInformation");
View Full Code Here

Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

@Forwards({ @Forward(name = "prepare", path = "/manager/student/candidacies/manageFirstCandidacySummaryFile.jsp") })
public class FirstTimeCandidacySummaryFileDA extends FenixDispatchAction {

    @EntryPoint
    public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
        request.setAttribute("studentNumberBean", new StudentNumberBean());
        return mapping.findForward("prepare");
    }
View Full Code Here

Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

    }

    public ActionForward searchCandidacy(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        final StudentNumberBean numberBean = (StudentNumberBean) getRenderedObject("student-number-bean");

        StudentCandidacy studentCandidacy = findCandidacy(numberBean.getNumber());
        request.setAttribute("candidacy", studentCandidacy);

        if (studentCandidacy != null && studentCandidacy.getSummaryFile() != null) {
            request.setAttribute("hasPDF", "true");
        }
View Full Code Here

Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

    @EntryPoint
    public ActionForward prepareChooseStudent(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        request.setAttribute("studentNumberBean", new StudentNumberBean());
        return mapping.findForward("chooseStudent");
    }
View Full Code Here

Examples of org.fenixedu.academic.dto.commons.student.StudentNumberBean

    }

    public ActionForward chooseStudent(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        final StudentNumberBean studentNumberBean = (StudentNumberBean) getObjectFromViewState("student-number-bean");
        request.setAttribute("studentId", Student.readStudentByNumber(studentNumberBean.getNumber()).getExternalId());

        return prepare(mapping, form, request, response);
    }
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.