Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.ShiftType


        List<ShiftType> shiftTypes = infoShiftToEdit.getShift().getTypes();
        String[] selectedshiftTypesArray = new String[shiftTypes.size()];

        for (int i = 0; i < shiftTypes.size(); i++) {
            ShiftType shiftType = shiftTypes.get(i);
            selectedshiftTypesArray[i] = shiftType.getName();
        }

        editShiftForm.set("shiftTiposAula", selectedshiftTypesArray);

        getExecutionCourses(request);
View Full Code Here


            editShiftForm.set("nome", infoShiftToEdit.getNome());

            List<ShiftType> shiftTypes = infoShiftToEdit.getShift().getTypes();
            String[] selectedshiftTypesArray = new String[shiftTypes.size()];
            for (int i = 0; i < shiftTypes.size(); i++) {
                ShiftType shiftType = shiftTypes.get(i);
                selectedshiftTypesArray[i] = shiftType.getName();
            }
            editShiftForm.set("shiftTiposAula", selectedshiftTypesArray);
            editShiftForm.set("lotacao", infoShiftToEdit.getLotacao());
            //editShiftForm.set("comment", infoShiftToEdit.getComment());
View Full Code Here

public class LessonPlanningsToSummariesManagementProvider implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        SummariesManagementBean bean = (SummariesManagementBean) source;
        ShiftType lessonType = bean.getLessonType();
        if (lessonType != null) {
            ExecutionCourse executionCourse = bean.getExecutionCourse();
            return executionCourse.getLessonPlanningsOrderedByOrder(lessonType);
        }
        return new ArrayList<LessonPlanning>();
View Full Code Here

public class LastSummariesToSummariesManagementProvider implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        SummariesManagementBean bean = (SummariesManagementBean) source;
        ShiftType lessonType = bean.getLessonType();

        if (lessonType != null) {

            ExecutionCourse executionCourse = bean.getExecutionCourse();
            List<Summary> summaries = new ArrayList<Summary>();
View Full Code Here

        String type;
        BigDecimal totalQuantity;
        BigDecimal unitQuantity;

        public FenixCourseLoad(final CourseLoad courseLoad) {
            final ShiftType shiftType = courseLoad.getType();
            type = shiftType == null ? null : shiftType.name();
            totalQuantity = courseLoad.getTotalQuantity();
            unitQuantity = courseLoad.getUnitQuantity() == null ? courseLoad.getWeeklyHours() : courseLoad.getUnitQuantity();
        }
View Full Code Here

        public FenixShift(final Shift shift) {
            this.name = shift.getNome();
            setOccupation(new FenixShiftOccupation(shift.getStudentsSet().size(), shift.getLotacao()));
            for (CourseLoad courseLoad : shift.getCourseLoadsSet()) {
                final ShiftType type = courseLoad.getType();
                if (type != null) {
                    types.add(type.name());
                }
            }
            Set<Space> spaces = new HashSet<>();
            for (final Lesson lesson : shift.getAssociatedLessonsSet()) {
                if (lesson.getSala() != null) {
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.ShiftType

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.