Exemple #1
0
 /** Gets the URL leading to the thread's group. */
 public String getGroupURL() {
   // TODO: remove check when group deletion is fixed
   if (_thread.group == null) {
     return Pages.GROUPS.makeURL();
   }
   return Pages.GROUPS.makeURL(String.valueOf(_thread.group.getGroupId()));
 }
Exemple #2
0
 /** Gets the URL leading to the first unread post in the thread. */
 public String getFirstUnreadURL() {
   return Pages.GROUPS.makeURL(_thread.getFirstUnreadPostArgs());
 }
Exemple #3
0
 /** Gets the URL leading to the most recent post in the thread. */
 public String getMostRecentURL() {
   return Pages.GROUPS.makeURL(_thread.getMostRecentPostArgs());
 }