Package org.fenixedu.academic.domain.degreeStructure

Examples of org.fenixedu.academic.domain.degreeStructure.CompetenceCourseInformation


    public Double getTrainingPeriodHours(final Integer order) {
        return getTrainingPeriodHours(order, (ExecutionSemester) null);
    }

    public double getTrainingPeriodHours(final Integer order, final ExecutionSemester period) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(period);
        return (information != null) ? information.getTrainingPeriodHours(order) : 0.0;
    }
View Full Code Here


    public double getTutorialOrientationHours(final ExecutionSemester period) {
        return getTutorialOrientationHours(null, period);
    }

    public double getTutorialOrientationHours(final Integer order, final ExecutionSemester period) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(period);
        return (information != null) ? information.getTutorialOrientationHours(order) : 0.0;
    }
View Full Code Here

    public Double getAutonomousWorkHours(final Integer order) {
        return getAutonomousWorkHours(order, (ExecutionSemester) null);
    }

    final public Double getAutonomousWorkHours(final Integer order, final ExecutionYear year) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionYear(year);
        return (information != null) ? information.getAutonomousWorkHours(order) : 0.0;
    }
View Full Code Here

        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionYear(year);
        return (information != null) ? information.getAutonomousWorkHours(order) : 0.0;
    }

    public Double getAutonomousWorkHours(final Integer order, final ExecutionSemester period) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(period);
        return (information != null) ? information.getAutonomousWorkHours(order) : 0.0;
    }
View Full Code Here

    final public Double getContactLoad(final Integer order, final ExecutionYear executionYear) {
        return getContactLoad(order, executionYear == null ? null : executionYear.getFirstExecutionPeriod());
    }

    public Double getContactLoad(final Integer order, final ExecutionSemester period) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(period);
        return (information != null) ? information.getContactLoad(order) : 0.0;
    }
View Full Code Here

    final public Double getTotalLoad(final Integer order, final ExecutionYear executionYear) {
        return getTotalLoad(order, executionYear == null ? null : executionYear.getFirstExecutionPeriod());
    }

    public Double getTotalLoad(final Integer order, final ExecutionSemester period) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(period);
        return (information != null) ? information.getTotalLoad(order) : 0.0;
    }
View Full Code Here

    final public Double getEctsCredits(final Integer order, final ExecutionYear executionYear) {
        return getEctsCredits(order, executionYear == null ? null : executionYear.getFirstExecutionPeriod());
    }

    public Double getEctsCredits(final Integer order, final ExecutionSemester executionSemester) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionPeriod(executionSemester);
        return (information != null) ? information.getEctsCredits(order) : 0.0;
    }
View Full Code Here

        ExecutionSemester semester = ExecutionSemester.readBySemesterAndExecutionYear(2, executionYear.getYear());
        return getScientificAreaUnit(semester);
    }

    public ScientificAreaUnit getScientificAreaUnit(ExecutionSemester semester) {
        CompetenceCourseInformation mostRecentCompetenceCourseInformationUntil =
                getMostRecentCompetenceCourseInformationUntil(semester);
        return mostRecentCompetenceCourseInformationUntil != null ? mostRecentCompetenceCourseInformationUntil
                .getScientificAreaUnit() : null;
    }
View Full Code Here

    }

    public void transfer(CompetenceCourseGroupUnit competenceCourseGroupUnit, ExecutionSemester period, String justification,
            Person requester) {

        CompetenceCourseInformation information = null;
        for (CompetenceCourseInformation existingInformation : getCompetenceCourseInformationsSet()) {
            if (existingInformation.getExecutionPeriod() == period) {
                information = existingInformation;
            }
        }
        if (information == null) {
            CompetenceCourseInformation latestInformation = getMostRecentCompetenceCourseInformationUntil(period);
            information = new CompetenceCourseInformation(latestInformation);
            information.setExecutionPeriod(period);
        }

        CompetenceCourseInformationChangeRequest changeRequest =
                new CompetenceCourseInformationChangeRequest(information, justification, requester);
View Full Code Here

        }
        super.addCompetenceCourseInformationChangeRequests(request);
    }

    public boolean hasOneCourseLoad(final ExecutionYear executionYear) {
        final CompetenceCourseInformation information = findCompetenceCourseInformationForExecutionYear(executionYear);
        return information != null && information.getCompetenceCourseLoadsSet().size() == 1;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.degreeStructure.CompetenceCourseInformation

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.