Package org.fenixedu.academic.domain.phd.debts

Examples of org.fenixedu.academic.domain.phd.debts.PhdGratuityEvent


        AmountBean bean = getRenderedObject("bean");
        List<EntryDTO> list = new ArrayList<EntryDTO>();
        list.add(new EntryDTO(EntryType.EXTERNAL_SCOLARSHIP_PAYMENT, event, bean.getValue()));
        event.process(Authenticate.getUser(), list, new AccountingTransactionDetailDTO(bean.getPaymentDate(), PaymentMode.CASH));

        PhdGratuityEvent gratuityEvent = (PhdGratuityEvent) exemption.getEvent();
        PhdIndividualProgramProcess process = gratuityEvent.getPhdIndividualProgramProcess();
        request.setAttribute("processId", process.getExternalId());

        return viewDebtsForProcess(mapping, form, request, response);
    }
View Full Code Here


    public ActionForward cancel(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
        String exemptionId = request.getParameter("externalId");
        PhdGratuityExternalScholarshipExemption exemption =
                (PhdGratuityExternalScholarshipExemption) FenixFramework.getDomainObject(exemptionId == null ? (String) request
                        .getAttribute("externalId") : exemptionId);
        PhdGratuityEvent event = (PhdGratuityEvent) exemption.getEvent();
        PhdIndividualProgramProcess process = event.getPhdIndividualProgramProcess();
        request.setAttribute("processId", process.getExternalId());
        return viewDebtsForProcess(mapping, form, request, response);
    }
View Full Code Here

    public ExternalScholarshipPhdGratuityContribuitionEventWrapper(Event event) {
        this.event = (ExternalScholarshipPhdGratuityContribuitionEvent) event;
    }

    private PhdGratuityEvent getPhdGratuityEvent() {
        PhdGratuityEvent phdGratuityEvent = (PhdGratuityEvent) this.event.getPhdGratuityExternalScholarshipExemption().getEvent();

        return phdGratuityEvent;
    }
View Full Code Here

        return "";
    }

    @Override
    public String getPhdProgramName() {
        PhdGratuityEvent phdGratuityEvent = getPhdGratuityEvent();

        return phdGratuityEvent.getPhdIndividualProgramProcess().getPhdProgram().getName().getContent();
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.debts.PhdGratuityEvent

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.