Examples of DfaRegistrationEvent


Examples of org.fenixedu.academic.domain.accounting.events.dfa.DfaRegistrationEvent

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

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

Examples of org.fenixedu.academic.domain.accounting.events.dfa.DfaRegistrationEvent

    @Atomic
    static public void createDfaRegistrationEvent(final StudentCurricularPlan studentCurricularPlan,
            final ExecutionYear executionYear) {
        check(AcademicPredicates.MANAGE_ACCOUNTING_EVENTS);
        new DfaRegistrationEvent(studentCurricularPlan.getDegree().getAdministrativeOffice(), studentCurricularPlan.getPerson(),
                studentCurricularPlan.getRegistration(), executionYear);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.events.dfa.DfaRegistrationEvent

            final ExecutionYear executionYearToCreateEvents =
                    executionYear != null ? executionYear : ExecutionYear.readCurrentExecutionYear();

            accountingEventsManager.createGratuityEvent(studentCurricularPlan, executionYearToCreateEvents, false);

            new DfaRegistrationEvent(administrativeOffice, person, studentCurricularPlan.getRegistration());

            accountingEventsManager.createInsuranceEvent(studentCurricularPlan, executionYearToCreateEvents, false);

            break;
        default:
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.