Package org.fenixedu.academic.dto

Examples of org.fenixedu.academic.dto.InfoRoomOccupationEditor


        if (actionErrors.isEmpty()) {

            InfoShift infoShift = (InfoShift) (request.getAttribute(PresentationConstants.SHIFT));

            InfoRoomOccupationEditor infoRoomOccupation = null;
            if (infoSala != null) {
                infoRoomOccupation = new InfoRoomOccupationEditor();
                infoRoomOccupation.setDayOfWeek(weekDay);
                infoRoomOccupation.setEndTime(fim);
                infoRoomOccupation.setStartTime(inicio);
                infoRoomOccupation.setInfoRoom(infoSala);
            }

            final FrequencyType frequency;
            if (quinzenal.booleanValue()) {
                frequency = FrequencyType.BIWEEKLY;
            } else {
                frequency = FrequencyType.WEEKLY;
            }

            if (infoRoomOccupation != null) {
                infoRoomOccupation.setFrequency(frequency);
            }

            String action = request.getParameter("action");
            if (action != null && action.equals("edit")) {
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.InfoRoomOccupationEditor

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.