1 11 package org.jboss.portlet.forums.model; 12 13 import java.util.HashSet ; 14 import java.util.List ; 15 import java.util.Set ; 16 17 21 public interface Forum 22 { 23 28 Category getCategory(); 29 30 35 void setCategory(Category category); 36 37 42 String getDescription(); 43 44 49 void setDescription(String description); 50 51 56 Integer getID(); 57 58 63 Post getLastPost(); 64 65 70 void setLastPost(Post lastpost); 71 72 77 String getName(); 78 79 84 void setName(String name); 85 86 91 int getOrder(); 92 93 98 void setOrder(int order); 99 100 105 int getTopicCount(); 106 107 110 void addTopicSize(); 111 112 117 void setTopicCount(int size); 118 119 124 int getPostCount(); 125 126 129 void addPostSize(); 130 131 136 void setPostCount(int size); 137 138 143 boolean getPruneEnable(); 144 145 150 void setPruneEnable(boolean enable); 151 152 157 int getPruneNext(); 158 159 164 void setPruneNext(int next); 165 166 171 int getStatus(); 172 173 178 void setStatus(int status); 179 180 185 void setTopics(List value); 186 187 192 List getTopics(); 193 194 199 int getType(); 200 201 206 void setType(int type); 207 208 211 List getWatches(); 212 213 } | Popular Tags |