Package org.fenixedu.academic.domain.phd.email

Examples of org.fenixedu.academic.domain.phd.email.PhdIndividualProgramProcessEmailBean$PhdEmailParticipantsGuidersGroup


    }

    public ActionForward prepareSendPhdEmail(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        final PhdIndividualProgramProcess process = getProcess(request);
        final PhdIndividualProgramProcessEmailBean emailBean = new PhdIndividualProgramProcessEmailBean();

        emailBean.setProcess(process);

        request.setAttribute("emailBean", emailBean);

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


    }

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

        final PhdIndividualProgramProcessEmailBean emailBean = getRenderedObject("emailBean");
        emailBean.refreshTemplateInUse();
        request.setAttribute("emailBean", emailBean);

        RenderUtils.invalidateViewState("emailBean.create");
        for (PhdEmailParticipantsGroup group : emailBean.getPossibleParticipantsGroups()) {
            RenderUtils.invalidateViewState("emailBean.groups.edit." + group.toString());
        }
        RenderUtils.invalidateViewState("emailBean.individuals");
        RenderUtils.invalidateViewState("emailBean.template");
View Full Code Here

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

        final PhdIndividualProgramProcess process = getProcess(request);
        PhdIndividualProgramProcessEmailBean bean = new PhdIndividualProgramProcessEmailBean(getPhdEmail(request));
        bean.setProcess(process);

        request.setAttribute("emailBean", bean);

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

    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {

        final PhdIndividualProgramProcessEmailBean bean = (PhdIndividualProgramProcessEmailBean) object;
        bean.setProcess(process);
        PhdIndividualProgramProcessEmail.createEmail(bean);

        return process;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.email.PhdIndividualProgramProcessEmailBean$PhdEmailParticipantsGuidersGroup

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.