1 11 package org.jboss.portlet.forums.model; 12 13 import java.util.Collection ; 14 import java.util.Date ; 15 import java.util.List ; 16 17 21 public interface Topic 22 { 23 28 Integer getID(); 29 30 35 void setPosts(Collection value); 36 37 42 Collection getPosts(); 43 44 49 Forum getForum(); 50 51 56 void setForum(Forum forum); 57 58 63 int getViewCount(); 64 65 70 void setViewCount(int views); 71 72 77 int getReplies(); 78 79 84 void setReplies(int replies); 85 86 91 Post getFirstPost(); 92 93 98 void setFirstPost(Post post); 99 100 105 Post getLastPost(); 106 107 112 void setLastPost(Post id); 113 114 119 Date getLastPostDate(); 120 121 126 void setLastPostDate(Date lastPostDate); 127 128 133 135 140 142 147 149 154 156 161 Poster getPoster(); 162 163 168 void setPoster(Poster poster); 169 170 175 int getType(); 176 177 182 void setType(int type); 183 184 189 int getStatus(); 190 191 196 void setStatus(int status); 197 198 203 Topic getTarget(); 204 205 210 void setTarget(Topic target); 211 212 217 String getSubject(); 218 219 224 void setSubject(String subject); 225 226 229 List getWatches(); 230 } | Popular Tags |