Changeset 5606 for ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java
- Timestamp:
- 08/25/14 09:20:11 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java
r5603 r5606 1766 1766 MediaType.APPLICATION_JSON}) 1767 1767 public Response transferItemOwnershipToGroup(@PathParam("itemId") String itemId, 1768 @QueryParam( "groupId") long groupId) throws IOException {1768 @QueryParam(GROUPID_PARAM) long groupId) throws IOException { 1769 1769 Principal principal = security.getUserPrincipal(); 1770 1770 try { … … 1918 1918 @GET 1919 1919 @Path("/groups/profiles") 1920 public Response listProfiles(@QueryParam( "groupId") String groupId) throws IOException {1920 public Response listProfiles(@QueryParam(GROUPID_PARAM) String groupId) throws IOException { 1921 1921 1922 1922 try { … … 1934 1934 @GET 1935 1935 @Path("/groups/components") 1936 public Response listComponents(@QueryParam( "groupId") String groupId) throws IOException {1936 public Response listComponents(@QueryParam(GROUPID_PARAM) String groupId) throws IOException { 1937 1937 1938 1938 try { … … 1951 1951 @GET 1952 1952 @Path("/groups/nameById") 1953 public Response getGroupNameById(@QueryParam( "groupId") String groupId) throws IOException {1953 public Response getGroupNameById(@QueryParam(GROUPID_PARAM) String groupId) throws IOException { 1954 1954 1955 1955 try {
Note: See TracChangeset
for help on using the changeset viewer.