Package org.fenixedu.academic.domain.alumni

Examples of org.fenixedu.academic.domain.alumni.CerimonyInquiry


    }

    public ActionForward exportInfoToExcel(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws IOException {

        final CerimonyInquiry cerimonyInquiry = getDomainObject(request, "cerimonyInquiryId");
        if (cerimonyInquiry != null) {
            Collection<CerimonyInquiryPerson> requests = cerimonyInquiry.getCerimonyInquiryPersonSet();

            String inquiryName =
                    (cerimonyInquiry.getDescription() != null ? cerimonyInquiry.getDescription() : "UnnamedInquiry").replaceAll(
                            " ", "_");
            final String filename =
                    BundleUtil.getString(Bundle.ALUMNI, "label.publicRelationOffice.alumniCerimony.inquiry.report") + "_"
                            + inquiryName + "_" + new DateTime().toString("ddMMyyyyHHmmss");
View Full Code Here


    @Override
    public Object provide(Object source, Object currentValue) {
        final List<CerimonyInquiryAnswer> result = new ArrayList<CerimonyInquiryAnswer>();

        final CerimonyInquiryPerson cerimonyInquiryPerson = (CerimonyInquiryPerson) source;
        final CerimonyInquiry cerimonyInquiry = cerimonyInquiryPerson.getCerimonyInquiry();
        result.addAll(cerimonyInquiry.getOrderedCerimonyInquiryAnswer());

        return result;
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.alumni.CerimonyInquiry

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.