01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/BaseForum.java $
03: * $Id: BaseForum.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 BaseForum extends MutableEntity {
26:
27: public List getAttachments();
28:
29: public void setAttachments(List attachments);
30:
31: public Set getAttachmentsSet();
32:
33: public String getExtendedDescription();
34:
35: public void setExtendedDescription(String extendedDescription);
36:
37: public String getShortDescription();
38:
39: public void setShortDescription(String shortDescription);
40:
41: public Integer getSortIndex();
42:
43: public void setSortIndex(Integer sortIndex);
44:
45: public String getTitle();
46:
47: public void setTitle(String title);
48:
49: public List getTopics();
50:
51: public void setTopics(List topics);
52:
53: public Set getTopicsSet();
54:
55: public void setTopicsSet(Set topicsSet);
56:
57: public String getTypeUuid();
58:
59: public void setTypeUuid(String typeUuid);
60:
61: public Area getArea();
62:
63: public void setArea(Area area);
64:
65: public Boolean getModerated();
66:
67: public void setModerated(Boolean moderated);
68:
69: public void addTopic(Topic topic);
70:
71: public void removeTopic(Topic topic);
72:
73: public void addAttachment(Attachment attachment);
74:
75: public void removeAttachment(Attachment attachment);
76:
77: public Set getMembershipItemSet();
78:
79: public void setMembershipItemSet(Set membershipItemSet);
80:
81: public void addMembershipItem(DBMembershipItem item);
82:
83: public void removeMembershipItem(DBMembershipItem item);
84:
85: }
|