Examples of PhdMeetingBean


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

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

    }

    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

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

    }

    @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
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.