01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/PrivateMessage.java $
03: * $Id: PrivateMessage.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.api.app.messageforums;
21:
22: import java.util.List;
23:
24: public interface PrivateMessage extends Message {
25:
26: public Boolean getExternalEmail();
27:
28: public void setExternalEmail(Boolean externalEmail);
29:
30: public String getExternalEmailAddress();
31:
32: public void setExternalEmailAddress(String externalEmailAddress);
33:
34: public List getRecipients();
35:
36: public void setRecipients(List recipients);
37:
38: public void addRecipient(MessageForumsUser user);
39:
40: public void removeRecipient(MessageForumsUser user);
41:
42: public String getRecipientsAsText();
43:
44: public void setRecipientsAsText(String recipientsAsText);
45:
46: }
|