Package org.fenixedu.academic.domain.accounting.events.specializationDegree

Examples of org.fenixedu.academic.domain.accounting.events.specializationDegree.SpecializationDegreeRegistrationEvent


        checkPreconditionsToProcess(event);
        return super.internalProcess(user, entryDTOs, event, fromAccount, toAccount, transactionDetail);
    }

    private void checkPreconditionsToProcess(Event event) {
        final SpecializationDegreeRegistrationEvent specializationDegreeRegistrationEvent =
                (SpecializationDegreeRegistrationEvent) event;
        if (!specializationDegreeRegistrationEvent.hasRegistrationPeriodInDegreeCurricularPlan()) {
            throw new DomainException(
                    "error.accounting.postingRules.specializationDegree.SpecializationDegreeRegistrationPR.cannot.process.without.registration.period.defined");
        }
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.accounting.events.specializationDegree.SpecializationDegreeRegistrationEvent

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.