KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > message > Message


1 /*******************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. * Please look
3  * at license.txt in info directory for more license detail. *
4  ******************************************************************************/

5 package org.exoplatform.services.communication.message;
6
7 import java.util.List JavaDoc;
8
9 /*
10  * Fri, May 30, 2003 @ @author: Tuan Nguyen @version: $Id: Message.java,v 1.2
11  * 2004/08/27 02:43:29 tuan08 Exp $ @since: 0.0 @email: tuan08@yahoo.com
12  */

13 public interface Message extends MessageHeader {
14   static final public String JavaDoc SYNCHRONIZED_FLAG = "exo:synchronized" ;
15   static final public String JavaDoc READ_FLAG = "exo:read" ;
16   
17   public String JavaDoc getTo();
18
19   public void setTo(String JavaDoc value);
20
21   public String JavaDoc getCC();
22
23   public void setCC(String JavaDoc value);
24
25   public String JavaDoc getBCC();
26
27   public void setBCC(String JavaDoc value);
28
29   public String JavaDoc getBody();
30
31   public void setBody(String JavaDoc value);
32
33   public void addAttachment(Attachment attachment) ;
34   
35   public List JavaDoc getAttachment() ;
36 }
Popular Tags