KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > model > Forum


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under GPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.model;
12
13 import java.util.HashSet JavaDoc;
14 import java.util.List JavaDoc;
15 import java.util.Set JavaDoc;
16
17 /**
18  * @author <a HREF="mailto:theute@jboss.org">Thomas Heute</a>
19  * @version $Revision: 1.3 $
20  */

21 public interface Forum
22 {
23    /**
24     * DOCUMENT_ME
25     *
26     * @return DOCUMENT_ME
27     */

28    Category getCategory();
29
30    /**
31     * DOCUMENT_ME
32     *
33     * @param category DOCUMENT_ME
34     */

35    void setCategory(Category category);
36
37    /**
38     * DOCUMENT_ME
39     *
40     * @return DOCUMENT_ME
41     */

42    String JavaDoc getDescription();
43
44    /**
45     * DOCUMENT_ME
46     *
47     * @param description DOCUMENT_ME
48     */

49    void setDescription(String JavaDoc description);
50
51    /**
52     * DOCUMENT_ME
53     *
54     * @return DOCUMENT_ME
55     */

56    Integer JavaDoc getID();
57
58    /**
59     * DOCUMENT_ME
60     *
61     * @return DOCUMENT_ME
62     */

63    Post getLastPost();
64
65    /**
66     * DOCUMENT_ME
67     *
68     * @param lastpost DOCUMENT_ME
69     */

70    void setLastPost(Post lastpost);
71
72    /**
73     * DOCUMENT_ME
74     *
75     * @return DOCUMENT_ME
76     */

77    String JavaDoc getName();
78
79    /**
80     * DOCUMENT_ME
81     *
82     * @param name DOCUMENT_ME
83     */

84    void setName(String JavaDoc name);
85
86    /**
87     * DOCUMENT_ME
88     *
89     * @return DOCUMENT_ME
90     */

91    int getOrder();
92
93    /**
94     * DOCUMENT_ME
95     *
96     * @param order DOCUMENT_ME
97     */

98    void setOrder(int order);
99
100    /**
101     * DOCUMENT_ME
102     *
103     * @return DOCUMENT_ME
104     */

105    int getTopicCount();
106
107    /**
108     * DOCUMENT_ME
109     */

110    void addTopicSize();
111
112    /**
113     * DOCUMENT_ME
114     *
115     * @param size DOCUMENT_ME
116     */

117    void setTopicCount(int size);
118
119    /**
120     * DOCUMENT_ME
121     *
122     * @return DOCUMENT_ME
123     */

124    int getPostCount();
125
126    /**
127     * DOCUMENT_ME
128     */

129    void addPostSize();
130
131    /**
132     * DOCUMENT_ME
133     *
134     * @param size DOCUMENT_ME
135     */

136    void setPostCount(int size);
137
138    /**
139     * DOCUMENT_ME
140     *
141     * @return DOCUMENT_ME
142     */

143    boolean getPruneEnable();
144
145    /**
146     * DOCUMENT_ME
147     *
148     * @param enable DOCUMENT_ME
149     */

150    void setPruneEnable(boolean enable);
151
152    /**
153     * DOCUMENT_ME
154     *
155     * @return DOCUMENT_ME
156     */

157    int getPruneNext();
158
159    /**
160     * DOCUMENT_ME
161     *
162     * @param next DOCUMENT_ME
163     */

164    void setPruneNext(int next);
165
166    /**
167     * DOCUMENT_ME
168     *
169     * @return DOCUMENT_ME
170     */

171    int getStatus();
172
173    /**
174     * DOCUMENT_ME
175     *
176     * @param status DOCUMENT_ME
177     */

178    void setStatus(int status);
179
180    /**
181     * DOCUMENT_ME
182     *
183     * @param value DOCUMENT_ME
184     */

185    void setTopics(List JavaDoc value);
186
187    /**
188     * DOCUMENT_ME
189     *
190     * @return DOCUMENT_ME
191     */

192    List JavaDoc getTopics();
193
194    /**
195     * DOCUMENT_ME
196     *
197     * @return DOCUMENT_ME
198     */

199    int getType();
200
201    /**
202     * DOCUMENT_ME
203     *
204     * @param type DOCUMENT_ME
205     */

206    void setType(int type);
207
208    /**
209     * @return
210     */

211    List JavaDoc getWatches();
212
213 }
Popular Tags