Examples of FirstYearShiftsBean


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

public class ExportFirstYearShiftsDA extends FenixContextDispatchAction {

    @EntryPoint
    public ActionForward chooseExport(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        FirstYearShiftsBean bean = (FirstYearShiftsBean) getRenderedObject();
        if (bean == null) {
            bean = new FirstYearShiftsBean();
        }
        request.setAttribute("first_year_shifts_export", bean);

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

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

        return mapping.findForward("chooseExport");
    }

    public ActionForward export(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
            throws IOException {
        final FirstYearShiftsBean bean = getRenderedObject();
        if (bean == null) {
            return chooseExport(mapping, form, request, response);
        }

        final AcademicInterval executionYear = bean.getExecutionYear().getAcademicInterval();
        final EntryPhase phase = bean.getEntryPhase();
        final List<Degree> degrees =
                Degree.readAllByDegreeType(DegreeType.BOLONHA_DEGREE, DegreeType.BOLONHA_INTEGRATED_MASTER_DEGREE);

        if (executionYear == null) {
            return chooseExport(mapping, form, request, response);
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.