01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/Topic.java $
03: * $Id: Topic.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: import java.util.Set;
24:
25: public interface Topic extends MutableEntity {
26:
27: public List getAttachments();
28:
29: public void setAttachments(List attachments);
30:
31: public String getExtendedDescription();
32:
33: public void setExtendedDescription(String extendedDescription);
34:
35: public Boolean getMutable();
36:
37: public void setMutable(Boolean mutable);
38:
39: public String getShortDescription();
40:
41: public void setShortDescription(String shortDescription);
42:
43: public Integer getSortIndex();
44:
45: public void setSortIndex(Integer sortIndex);
46:
47: public String getTitle();
48:
49: public void setTitle(String title);
50:
51: public String getTypeUuid();
52:
53: public void setTypeUuid(String typeUuid);
54:
55: public BaseForum getBaseForum();
56:
57: public void setBaseForum(BaseForum forum);
58:
59: public List getMessages();
60:
61: public void setMessages(List messages);
62:
63: public void addAttachment(Attachment attachment);
64:
65: public void removeAttachment(Attachment attachment);
66:
67: public void addMessage(Message message);
68:
69: public void removeMessage(Message message);
70:
71: public OpenForum getOpenForum();
72:
73: public void setOpenForum(OpenForum openForum);
74:
75: public PrivateForum getPrivateForum();
76:
77: public void setPrivateForum(PrivateForum privateForum);
78:
79: public Set getMembershipItemSet();
80:
81: public void setMembershipItemSet(Set membershipItemSet);
82:
83: public void addMembershipItem(DBMembershipItem item);
84:
85: public void removeMembershipItem(DBMembershipItem item);
86:
87: public String getDefaultAssignName();
88:
89: public void setDefaultAssignName(String defaultAssignName);
90:
91: public Boolean getModerated();
92:
93: public void setModerated(Boolean moderated);
94:
95: }
|