1 53 54 106 107 package com.Yasna.forum; 108 109 import java.util.Date ; 110 import java.util.Iterator ; 111 112 135 public interface Query { 136 137 149 public String getQueryString(); 150 151 161 public void setQueryString(String queryString); 162 163 171 public Date getBeforeDate(); 172 173 179 public void setBeforeDate(Date beforeDate); 180 181 189 public Date getAfterDate(); 190 191 197 public void setAfterDate(Date afterDate); 198 199 206 public User getFilteredUser(); 207 208 213 public void filterOnUser(User user); 214 215 222 public ForumThread getFilteredThread(); 223 224 229 public void filterOnThread(ForumThread thread); 230 231 236 public int resultCount(); 237 238 243 public Iterator results(); 244 245 261 public Iterator results(int startIndex, int numResults); 262 } 263 | Popular Tags |