Package org.fenixedu.academic.domain.phd.thesis.meeting

Examples of org.fenixedu.academic.domain.phd.thesis.meeting.PhdMeetingBean


    // Submit thesis meeting minutes

    public ActionForward prepareSubmitThesisMeetingMinutes(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        final PhdMeetingBean bean = new PhdMeetingBean();
        final PhdMeeting meeting = getPhdMeeting(request);
        bean.setDocument(new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.JURY_MEETING_MINUTES));
        bean.setMeeting(meeting);
        bean.setMeetingProcess(meeting.getMeetingProcess());

        request.setAttribute("meetingBean", bean);
        return mapping.findForward("submitThesisMeetingMinutes");
    }
View Full Code Here


    }

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

        PhdMeetingBean meetingBean = getRenderedObject("meetingBean");
        try {
            ExecuteProcessActivity.run(meetingBean.getMeetingProcess(), SubmitThesisMeetingMinutes.class, meetingBean);
        } catch (final DomainException e) {
            addErrorMessage(request, e.getMessage(), e.getArgs());
            return prepareSubmitThesisMeetingMinutesInvalid(mapping, form, request, response);
        }
View Full Code Here

    }

    @Override
    protected PhdMeetingSchedulingProcess executeActivity(PhdMeetingSchedulingProcess process, User userView, Object object) {
        final PhdMeetingBean bean = (PhdMeetingBean) object;
        final PhdMeeting meeting = bean.getMeeting();

        final PhdProgramDocumentUploadBean document = bean.getDocument();
        if (document.hasAnyInformation()) {
            meeting.addDocument(document, userView.getPerson());
        }

        if (bean.isToNotify()) {
            /*
             * TODO: (check subject and body) AlertService.alertStudent(process,
             * subject, body);
             */
        }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.thesis.meeting.PhdMeetingBean

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.