Package org.fenixedu.academic.domain.curricularRules

Examples of org.fenixedu.academic.domain.curricularRules.CurricularRule


    public static void run(LogicOperator logicOperator, String[] selectedCurricularRuleIDs) throws FenixServiceException {
        if (selectedCurricularRuleIDs != null) {
            final CurricularRule[] curricularRules = new CurricularRule[selectedCurricularRuleIDs.length];

            for (int i = 0; i < selectedCurricularRuleIDs.length; i++) {
                final CurricularRule curricularRule = FenixFramework.getDomainObject(selectedCurricularRuleIDs[i]);
                if (curricularRule == null) {
                    throw new FenixServiceException("error.invalidCurricularRule");
                }
                curricularRules[i] = curricularRule;
            }
View Full Code Here


    @Atomic
    public static void run(String curricularRuleID, String beginExecutionPeriodID, String endExecutionPeriodID)
            throws FenixServiceException {

        final CurricularRule curricularRule = FenixFramework.getDomainObject(curricularRuleID);
        if (curricularRule == null) {
            throw new FenixServiceException("error.noCurricularRule");
        }

        final ExecutionSemester beginExecutionPeriod;
View Full Code Here

public class DeleteCurricularRule {

    @Atomic
    public static void run(String curricularRuleID) throws FenixServiceException {
        final CurricularRule curricularRule = FenixFramework.getDomainObject(curricularRuleID);
        if (curricularRule == null) {
            throw new FenixServiceException("error.noCurricularRule");
        }
        curricularRule.delete();
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.curricularRules.CurricularRule

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.