2 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
4 * This library is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15 package com.liferay.mail.model;
17 import com.pentila.entSavoie.internalMessaging.model.Attachment;
18 import com.pentila.entSavoie.internalMessaging.model.Message;
20 import java.util.List;
25 public class MessageDisplay {
27 public MessageDisplay(
28 Message message, List<Attachment> attachments, int messageCount) {
31 _attachments = attachments;
32 _messageCount = messageCount;
35 public List<Attachment> getAttachments() {
39 public Message getMessage() {
43 public int getMessageCount() {
47 private List<Attachment> _attachments;
48 private Message _message;
49 private int _messageCount;