Package org.fenixedu.academic.dto.resourceAllocationManager

Examples of org.fenixedu.academic.dto.resourceAllocationManager.PeriodsManagementBean


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

        PeriodsManagementBean bean = getRenderedObject();

        if (bean == null) {
            bean = new PeriodsManagementBean();
        } else {
            try {
                updateBean(request, bean);
            } catch (DomainException e) {
                addActionMessage("error", request, e.getKey());
View Full Code Here


    }

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

        PeriodsManagementBean bean = getRenderedObject();

        bean.addNewBean();

        request.setAttribute("managementBean", bean);

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

    }

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

        PeriodsManagementBean bean = getRenderedObject();

        try {
            bean.duplicatePeriod(request.getParameter("toDuplicateId"));
            addActionMessage("success", request, "label.occupation.period.duplicate.success");
        } catch (DomainException e) {
            addActionMessage("error", request, e.getKey());
        }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.resourceAllocationManager.PeriodsManagementBean

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.