Examples of OccupationComment


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
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.