Examples of CerimonyInquiryAnswer


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

    }

    public ActionForward addInquiryAnswer(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final CerimonyInquiry cerimonyInquiry = getDomainObject(request, "cerimonyInquiryId");
        final CerimonyInquiryAnswer cerimonyInquiryAnswer = cerimonyInquiry.createNewAnswer();
        return editInquiryAnswer(mapping, request, cerimonyInquiryAnswer);
    }
View Full Code Here

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

        return editInquiryAnswer(mapping, request, cerimonyInquiryAnswer);
    }

    public ActionForward editInquiryAnswer(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final CerimonyInquiryAnswer cerimonyInquiryAnswer = getDomainObject(request, "cerimonyInquiryAnswerId");
        return editInquiryAnswer(mapping, request, cerimonyInquiryAnswer);
    }
View Full Code Here

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

        return forwardToInquiry(mapping, request, "editAlumniCerimonyInquiryAnswer");
    }

    public ActionForward deleteInquiryAnswer(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final CerimonyInquiryAnswer cerimonyInquiryAnswer = getDomainObject(request, "cerimonyInquiryAnswerId");
        final CerimonyInquiry cerimonyInquiry = cerimonyInquiryAnswer.getCerimonyInquiry();
        cerimonyInquiryAnswer.delete();
        RenderUtils.invalidateViewState();
        return forwardToInquiry(mapping, request, "viewAlumniCerimonyInquiry", cerimonyInquiry);
    }
View Full Code Here

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

        return forwardToInquiry(mapping, request, "viewAlumniCerimonyInquiry", cerimonyInquiry);
    }

    public ActionForward viewInquiryAnswer(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final CerimonyInquiryAnswer cerimonyInquiryAnswer = getDomainObject(request, "cerimonyInquiryAnswerId");
        request.setAttribute("cerimonyInquiryAnswer", cerimonyInquiryAnswer);
        return forwardToInquiry(mapping, request, "viewAlumniCerimonyInquiryAnswer");
    }
View Full Code Here

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

        setHeaders(sheet);

        for (CerimonyInquiryPerson inquiryPerson : requests) {
            final Person person = inquiryPerson.getPerson();
            final CerimonyInquiryAnswer inquiryAnswer = inquiryPerson.getCerimonyInquiryAnswer();

            sheet.newRow();
            sheet.addCell(person.getUsername());
            sheet.addCell(person.getName());
            sheet.addCell(person.getEmail());
            final StringBuilder contacts = new StringBuilder();
            for (final PartyContact partyContact : person.getPartyContactsSet()) {
                if (partyContact instanceof Phone || partyContact instanceof MobilePhone) {
                    if (contacts.length() > 0) {
                        contacts.append(", ");
                    }
                    contacts.append(partyContact.getPresentationValue());
                }
            }
            sheet.addCell(contacts.toString());
            sheet.addCell((inquiryAnswer != null ? inquiryAnswer.getText() : new String("-")));
            sheet.addCell(getDegrees(person));
            sheet.addCell(inquiryPerson.getComment());
        }
    }
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.