Examples of SecondCycleIndividualCandidacyEvent


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

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

            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

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

        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

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

                ((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
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.