1 package edu.rice.rubbos.client; 2 3 13 14 public class URLGeneratorServlets extends URLGenerator 15 { 16 17 29 public URLGeneratorServlets(String host, int port, String HTMLFilesPath, String ScriptFilesPath) 30 { 31 super(host, port, HTMLFilesPath, ScriptFilesPath); 32 } 33 34 35 40 public String SearchScript() 41 { 42 return "edu.rice.rubbos.servlets.Search"; 43 } 44 45 46 51 public String BrowseCategoriesScript() 52 { 53 return "edu.rice.rubbos.servlets.BrowseCategories"; 54 } 55 56 61 public String StoriesOfTheDayScript() 62 { 63 return "edu.rice.rubbos.servlets.StoriesOfTheDay"; 64 } 65 66 67 72 public String OlderStoriesScript() 73 { 74 return "edu.rice.rubbos.servlets.OlderStories"; 75 } 76 77 82 public String SubmitStoryScript() 83 { 84 return "edu.rice.rubbos.servlets.SubmitStory"; 85 } 86 91 public String PostCommentScript() 92 { 93 return "edu.rice.rubbos.servlets.PostComment"; 94 } 95 96 101 public String RegisterUserScript() 102 { 103 return "edu.rice.rubbos.servlets.RegisterUser"; 104 } 105 106 111 public String BrowseStoriesByCategoryScript() 112 { 113 return "edu.rice.rubbos.servlets.BrowseStoriesByCategory"; 114 } 115 116 121 public String StoreCommentScript() 122 { 123 return "edu.rice.rubbos.servlets.StoreComment"; 124 } 125 126 131 public String StoreStoryScript() 132 { 133 return "edu.rice.rubbos.servlets.StoreStory"; 134 } 135 136 141 public String ViewStoryScript() 142 { 143 return "edu.rice.rubbos.servlets.ViewStory"; 144 } 145 146 151 public String ViewCommentScript() 152 { 153 return "edu.rice.rubbos.servlets.ViewComment"; 154 } 155 156 161 public String ModerateCommentScript() 162 { 163 return "edu.rice.rubbos.servlets.ModerateComment"; 164 } 165 166 171 public String StoreModerateLogScript() 172 { 173 return "edu.rice.rubbos.servlets.StoreModeratorLog"; 174 } 175 176 181 public String AuthorTasksScript() 182 { 183 return "edu.rice.rubbos.servlets.Author"; 184 } 185 186 191 public String ReviewStoriesScript() 192 { 193 return "edu.rice.rubbos.servlets.ReviewStories"; 194 } 195 196 201 public String AcceptStoryScript() 202 { 203 return "edu.rice.rubbos.servlets.AcceptStory"; 204 } 205 206 211 public String RejectStoryScript() 212 { 213 return "edu.rice.rubbos.servlets.RejectStory"; 214 } 215 216 } 217 | Popular Tags |