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