Package org.fenixedu.spaces.domain.occupation.requests

Examples of org.fenixedu.spaces.domain.occupation.requests.OccupationComment


        if (request.getDescription() != null) {
            body += request.getDescription();
        } else {
            body += "-";
        }
        OccupationComment occupationComment =
                request.getCommentSet().stream().sorted(OccupationComment.COMPARATOR_BY_INSTANT.reversed()).findFirst().get();

        body += "\n\n" + messages.getMessage("message.room.reservation.last.comment") + "\n";

        if (occupationComment != null) {
            body += occupationComment.getDescription();
        } else {
            body += "-";
        }
        sendEmail(request.getRequestor().getPerson().getEmailForSendingEmails(), messages.getMessage("message.room.reservation"),
                body);
View Full Code Here

TOP

Related Classes of org.fenixedu.spaces.domain.occupation.requests.OccupationComment

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.