Changeset 5552 for ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/IComponentRegistryRestService.java
- Timestamp:
- 08/13/14 16:55:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/IComponentRegistryRestService.java
r5549 r5552 146 146 void setComponentRegistryFactory(ComponentRegistryFactory componentRegistryFactory); 147 147 148 /** 149 * 150 * @param userspace if "true" then profiles and components from the user's workspace, otherwise -- public 151 * @param limit the number of items to be displayed 152 * @return rss for the components in the database to which we are currently connected 153 * @throws ComponentRegistryException 154 * @throws ParseException 155 */ 148 156 149 Rss getRssComponent(String groupId, String registrySpace, String limit) 157 150 throws ComponentRegistryException, ParseException, IOException; 158 151 159 /** 160 * 161 * @param userspace if "true" then profiles and components from the user's workspace, otherwise -- public 162 * @param limit the number of items to be displayed 163 * @return rss for the profiles in the database to which we are currently connected 164 * @throws ComponentRegistryException 165 * @throws ParseException 166 */ 152 167 153 Rss getRssProfile(String groupId, String registrySpace, String limit) 168 154 throws ComponentRegistryException, ParseException, IOException; 169 155 170 /** 171 * 172 * @param profileId the Id of a profile whose comments are to be rss-ed 173 * @param userspace if "true" then profiles and components from the user's workspace, otherwise -- public 174 * @param limit the number of items to be displayed 175 * @return rss of the comments for a chosen profile 176 * @throws ComponentRegistryException 177 * @throws IOException 178 * @throws JAXBException 179 * @throws ParseException 180 */ 156 181 157 Rss getRssOfCommentsFromProfile(String profileId, String limit) throws ComponentRegistryException, 182 158 JAXBException, ParseException, IOException; 183 159 184 /** 185 * 186 * @param componentId the Id of a component whose comments are to be rss-ed 187 * @param userspace if "true" then profiles and components from the user's workspace, otherwise -- public 188 * @param limit the number of items to be displayed 189 * @return rss of the comments for a chosen component 190 * @throws ComponentRegistryException 191 * @throws IOException 192 * @throws JAXBException 193 * @throws ParseException 194 */ 160 195 161 Rss getRssOfCommentsFromComponent(String componentId, 196 162 String limit) throws ComponentRegistryException, IOException, … … 221 187 * @param groupId 222 188 */ 223 StringtransferItemOwnershipToGroup(String itemId, long groupId) throws IOException;189 Response transferItemOwnershipToGroup(String itemId, long groupId) throws IOException; 224 190 225 191 /**
Note: See TracChangeset
for help on using the changeset viewer.