Package org.fenixedu.academic.domain.student

Examples of org.fenixedu.academic.domain.student.Student


        String idString = request.getParameter("thesisId");
        if (idString == null) {
            thesis = (Thesis) request.getAttribute("thesis");

            if (thesis == null) {
                Student student = getStudent();

                Enrolment enrolment = student.getDissertationEnrolment();
                if (enrolment != null) {
                    thesis = enrolment.getThesis();
                }
            }
        } else {
View Full Code Here


    }

    @EntryPoint
    public ActionForward listThesis(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final Student student = getStudent();
        final TreeSet<Enrolment> enrolments = student.getDissertationEnrolments(null);
        request.setAttribute("enrolments", enrolments);
        return mapping.findForward("thesis-list-enrolments");
    }
View Full Code Here

    }

    @EntryPoint
    public ActionForward showPlan(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final Student student = getStudent(request);
        if (student != null) {
            final StudentCurricularPlanEquivalencePlan studentCurricularPlanEquivalencePlan =
                    getStudentCurricularPlanEquivalencePlan(request, student);
            if (studentCurricularPlanEquivalencePlan != null) {
View Full Code Here

        return mapping.findForward("showPlan");
    }

    public ActionForward showTable(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final Student student = getStudent(request);
        if (student != null) {
            final StudentCurricularPlanEquivalencePlan studentCurricularPlanEquivalencePlan =
                    getStudentCurricularPlanEquivalencePlan(request, student);
            if (studentCurricularPlanEquivalencePlan != null) {
                request.setAttribute("studentCurricularPlanEquivalencePlan", studentCurricularPlanEquivalencePlan);
View Full Code Here

        return mapping.findForward("showPlan");
    }

    public ActionForward prepareAddEquivalency(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final Student student = getStudent(request);
        final StudentCurricularPlanEquivalencePlan studentCurricularPlanEquivalencePlan =
                getStudentCurricularPlanEquivalencePlan(request, student);
        final DegreeCurricularPlan degreeCurricularPlan =
                (DegreeCurricularPlan) request.getAttribute("selectedDegreeCurricularPlan");
View Full Code Here

        return changeActiveState(mapping, actionForm, request, response, "DeActivateEquivalencePlanEntry");
    }

    public ActionForward changeActiveState(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response, final String service) throws Exception {
        final Student student = getStudent(request);
        final StudentCurricularPlanEquivalencePlan studentCurricularPlanEquivalencePlan =
                getStudentCurricularPlanEquivalencePlan(request, student);
        final EquivalencePlanEntry equivalencePlanEntry = getEquivalencePlanEntry(request);
        final Object[] args = { studentCurricularPlanEquivalencePlan, equivalencePlanEntry };
//        ServiceManagerServiceFactory.executeService(service, args);
View Full Code Here

            if (degreeCurricularPlan != null) {
                request.setAttribute("selectedDegreeCurricularPlan", degreeCurricularPlan);
            }
        }
        request.setAttribute("studentSearchBean", studentSearchBean);
        final Student student = studentSearchBean.search();
        if (student != null) {
            request.setAttribute("student", student);
        }

        return student;
View Full Code Here

        final Collection<MarkSheetTeacherMarkBean> marksToSubmit = new HashSet<MarkSheetTeacherMarkBean>();
        final List<Student> studentsWithImpossibleEnrolments = new ArrayList<Student>();

        for (final Enrolment enrolment : getEnrolmentsNotInAnyMarkSheet(submissionBean)) {
            if (enrolment.isImpossible()) {
                final Student student = enrolment.getStudentCurricularPlan().getRegistration().getStudent();
                if (!studentsWithImpossibleEnrolments.contains(student)) {
                    studentsWithImpossibleEnrolments.add(student);
                }
            } else {
                Attends attends = enrolment.getAttendsByExecutionCourse(submissionBean.getExecutionCourse());
View Full Code Here

public class ShiftStudentEnrollmentManagerDispatchAction extends FenixDispatchAction {

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

        final Student student = getUserView(request).getPerson().getStudent();

        final List<Registration> toEnrol = student.getRegistrationsToEnrolInShiftByStudent();
        if (toEnrol.size() == 1) {
            request.setAttribute("registrationOID", toEnrol.iterator().next().getExternalId());
            return prepareStartViewWarning(mapping, form, request, response);
        } else {
            request.setAttribute("toEnrol", toEnrol);
View Full Code Here

public class StudentEnrollmentManagementDA extends FenixDispatchAction {

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

        final Student student = getLoggedStudent(request);
        if (!student.hasFilledAuthorizationInformationInCurrentExecutionYear()) {
            request.setAttribute("student", student);
            return mapping.findForward("choosePersonalDataAuthorizationChoice");
        }

        final List<Registration> registrationsToEnrol = getRegistrationsToEnrolByStudent(request);
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.student.Student

Copyright © 2018 www.massapicom. 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.