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

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


    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


    // End of viewing Meeting Scheduling Process

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

        PhdMeeting meeting = getDomainObject(request, "meetingId");
        PhdEditMeetingBean bean = new PhdEditMeetingBean(meeting);

        request.setAttribute("process", getProcess(request));
        request.setAttribute("meeting", meeting);
        request.setAttribute("bean", bean);
View Full Code Here

    }

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

        PhdMeeting meeting = getDomainObject(request, "meetingId");
        PhdThesisProcess process = getProcess(request);
        PhdEditMeetingBean bean = getRenderedObject("bean");

        meeting.editAttributes(bean);

        String link = "/phdThesisProcess.do?method=viewMeetingSchedulingProcess&processId=" + process.getExternalId();

        return new ActionForward(link, false);
    }
View Full Code Here

        return new ActionForward(link, false);
    }

    public ActionForward editMeetingAttributesInvalid(final ActionMapping mapping, final ActionForm form,
            final HttpServletRequest request, final HttpServletResponse response) {
        PhdMeeting meeting = getDomainObject(request, "meetingId");
        PhdThesisProcess process = getProcess(request);
        PhdEditMeetingBean bean = getRenderedObject("bean");

        request.setAttribute("process", process);
        request.setAttribute("meeting", meeting);
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,
View Full Code Here

TOP

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

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.