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

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


        return mapping.findForward("prepareAddFCTPostingRule");
    }

    @Atomic
    public void createFCTScolarshipPostingRule(FctScolarshipPostingRuleBean bean) {
        ExternalScholarshipPhdGratuityContribuitionPR postingRule =
                new ExternalScholarshipPhdGratuityContribuitionPR(bean.getStartDate(), bean.getEndDate(), AdministrativeOffice
                        .readMasterDegreeAdministrativeOffice().getServiceAgreementTemplate());
        postingRule.setRootDomainObject(Bennu.getInstance());
    }
View Full Code Here


        return showFCTScolarshipPostingRules(mapping, form, request, response);
    }

    public ActionForward prepareEditFCTScolarshipPostingRule(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        ExternalScholarshipPhdGratuityContribuitionPR postingRule =
                (ExternalScholarshipPhdGratuityContribuitionPR) FenixFramework.getDomainObject(request
                        .getParameter("postingRule"));
        FctScolarshipPostingRuleBean bean = new FctScolarshipPostingRuleBean();

        bean.setStartDate(postingRule.getStartDate());
        bean.setEndDate(postingRule.getEndDate());
        bean.setExternalId(postingRule.getExternalId());
        request.setAttribute("bean", bean);
        return mapping.findForward("prepareEditFCTScolarshipPostingRule");
    }
View Full Code Here

    @Atomic
    public ActionForward editFCTScolarshipPostingRule(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        FctScolarshipPostingRuleBean bean = getRenderedObject("bean");
        ExternalScholarshipPhdGratuityContribuitionPR postingRule =
                (ExternalScholarshipPhdGratuityContribuitionPR) FenixFramework.getDomainObject(bean.getExternalId());

        postingRule.setStartDate(bean.getStartDate());
        postingRule.setEndDate(bean.getEndDate());

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

    }

    @Atomic
    public ActionForward deleteFCTScolarshipPostingRule(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        ExternalScholarshipPhdGratuityContribuitionPR postingRule =
                (ExternalScholarshipPhdGratuityContribuitionPR) FenixFramework.getDomainObject(request
                        .getParameter("postingRule"));
        postingRule.delete();

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

TOP

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

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.