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

Examples of org.fenixedu.academic.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyEvent


        }
    }

    @Override
    protected void createDebt(final Person person) {
        new SecondCycleIndividualCandidacyEvent(this, person);
    }
View Full Code Here


            SecondCycleIndividualCandidacyProcess newProcess =
                    createNewProcess(userView, SecondCycleIndividualCandidacyProcess.class, newBean);

            newProcess.setOriginalIndividualCandidacyProcess(process);

            SecondCycleIndividualCandidacyEvent event =
                    (SecondCycleIndividualCandidacyEvent) newProcess.getCandidacy().getEvent();

            new SecondCycleIndividualCandidacyExemption(userView.getPerson(), event,
                    CandidacyExemptionJustificationType.TRANSFERED_APPLICATION);
View Full Code Here

        return new SecondCycleIndividualCandidacyPR(new DateTime().minus(1000), null, getServiceAgreementTemplate(), fixedAmount);
    }

    @Override
    protected Money doCalculationForAmountToPay(Event event, DateTime when, boolean applyDiscount) {
        SecondCycleIndividualCandidacyEvent secondCycleEvent = (SecondCycleIndividualCandidacyEvent) event;
        return super.doCalculationForAmountToPay(event, when, applyDiscount).multiply(
                ((SecondCycleIndividualCandidacy) secondCycleEvent.getIndividualCandidacy()).getSelectedDegreesSet().size());
    }
View Full Code Here

                ((SecondCycleIndividualCandidacy) secondCycleEvent.getIndividualCandidacy()).getSelectedDegreesSet().size());
    }

    @Override
    protected Money subtractFromExemptions(Event event, DateTime when, boolean applyDiscount, Money amountToPay) {
        final SecondCycleIndividualCandidacyEvent candidacyEvent = (SecondCycleIndividualCandidacyEvent) event;

        if (candidacyEvent.hasSecondCycleIndividualCandidacyExemption()) {
            return Money.ZERO;
        }

        return amountToPay;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyEvent

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.