Examples of CurriculumModulePredicateByExecutionSemester


Examples of org.fenixedu.academic.domain.studentCurriculum.CurriculumModule.CurriculumModulePredicateByExecutionSemester

    final public boolean hasAnyCurriculumLines(final ExecutionSemester executionSemester) {
        if (getRoot() != null) {
            final AndPredicate<CurriculumModule> andPredicate = new AndPredicate<CurriculumModule>();
            andPredicate.add(new CurriculumModulePredicateByType(CurriculumLine.class));
            andPredicate.add(new CurriculumModulePredicateByExecutionSemester(executionSemester));

            return hasAnyCurriculumModules(andPredicate);
        }

        return hasEnrolments(executionSemester);
View Full Code Here

Examples of org.fenixedu.academic.domain.studentCurriculum.CurriculumModule.CurriculumModulePredicateByExecutionSemester

    }

    public Collection<CurriculumLine> getApprovedCurriculumLines(final ExecutionSemester executionSemester) {
        final AndPredicate<CurriculumModule> andPredicate = new AndPredicate<CurriculumModule>();
        andPredicate.add(new CurriculumModulePredicateByType(CurriculumLine.class));
        andPredicate.add(new CurriculumModulePredicateByExecutionSemester(executionSemester));
        andPredicate.add(new CurriculumModulePredicateByApproval());

        return (Collection<CurriculumLine>) getCurriculumModules(new ResultCollection<CurriculumModule>(andPredicate));
    }
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.