Package org.fenixedu.academic.util

Examples of org.fenixedu.academic.util.Season


                        InfoExam season1Exam =
                                (InfoExam) CollectionUtils.find(infoExecutionCourse.getAssociatedInfoExams(), new Predicate() {
                                    @Override
                                    public boolean evaluate(Object obj) {
                                        InfoExam infoExam = (InfoExam) obj;
                                        return infoExam.getSeason().equals(new Season(Season.SEASON1));
                                    }
                                });
                        // Get 2nd season exam
                        InfoExam season2Exam =
                                (InfoExam) CollectionUtils.find(infoExecutionCourse.getAssociatedInfoExams(), new Predicate() {
                                    @Override
                                    public boolean evaluate(Object obj) {
                                        InfoExam infoExam = (InfoExam) obj;
                                        return infoExam.getSeason().equals(new Season(Season.SEASON2));
                                    }
                                });

                        if (user.equals("public")) {
                            if (season1Exam == null && !hasComment) {
View Full Code Here


        if (!prepareArguments(executionCourseIDs, degreeModuleScopeIDs, roomsIDs)) {
            return "";
        }

        final Season season = (getSeason() != null) ? new Season(getSeason()) : null;
        try {
            CreateWrittenEvaluation.runCreateWrittenEvaluation(null, this.getBegin().getTime(), this.getBegin().getTime(), this
                    .getEnd().getTime(), executionCourseIDs, degreeModuleScopeIDs, roomsIDs, null, season, this.getDescription());

        } catch (Exception e) {
View Full Code Here

        if (!prepareArguments(executionCourseIDs, degreeModuleScopeIDs, roomsIDs)) {
            return "";
        }

        final Season season = (getSeason() != null) ? new Season(getSeason()) : null;
        try {
            EditWrittenEvaluation.runEditWrittenEvaluation(null, this.getBegin().getTime(), this.getBegin().getTime(), this
                    .getEnd().getTime(), executionCourseIDs, degreeModuleScopeIDs, roomsIDs, this.evaluationID, season, this
                    .getDescription(), null);
View Full Code Here

        ExecutionCourse executionCourse = FenixFramework.getDomainObject(getExecutionCourseID());

        final List<String> degreeModuleScopesIDs = getDegreeModuleScopeIDs(executionCourse);

        final Season season = (getSeason() != null) ? new Season(getSeason()) : null;
        try {
            CreateWrittenEvaluation.runCreateWrittenEvaluation(this.getExecutionCourseID(), this.getBegin().getTime(), this
                    .getBegin().getTime(), this.getEnd().getTime(), executionCourseIDs, degreeModuleScopesIDs, null, this
                    .getGradeScale(), season, this.getDescription());
View Full Code Here

        ExecutionCourse executionCourse = FenixFramework.getDomainObject(getExecutionCourseID());

        final List<String> degreeModuleScopesIDs = getDegreeModuleScopeIDs(executionCourse);

        final Season season = (getSeason() != null) ? new Season(getSeason()) : null;

        try {
            EditWrittenEvaluation.runEditWrittenEvaluation(this.getExecutionCourseID(), this.getBegin().getTime(), this
                    .getBegin().getTime(), this.getEnd().getTime(), executionCourseIDs, degreeModuleScopesIDs, null,
                    this.evaluationID, season, this.getDescription(), this.getGradeScale());
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.util.Season

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.