Ignore:
Timestamp:
08/25/14 09:20:11 (10 years ago)
Author:
olhsha@mpi.nl
Message:

group identifier is made "groupId" everywhere, referred as a constant PARAM_GROUP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java

    r5603 r5606  
    17661766        MediaType.APPLICATION_JSON})
    17671767    public Response transferItemOwnershipToGroup(@PathParam("itemId") String itemId,
    1768             @QueryParam("groupId") long groupId) throws IOException {
     1768            @QueryParam(GROUPID_PARAM) long groupId) throws IOException {
    17691769        Principal principal = security.getUserPrincipal();
    17701770        try {
     
    19181918    @GET
    19191919    @Path("/groups/profiles")
    1920     public Response listProfiles(@QueryParam("groupId") String groupId) throws IOException {
     1920    public Response listProfiles(@QueryParam(GROUPID_PARAM) String groupId) throws IOException {
    19211921
    19221922        try {
     
    19341934    @GET
    19351935    @Path("/groups/components")
    1936     public Response listComponents(@QueryParam("groupId") String groupId) throws IOException {
     1936    public Response listComponents(@QueryParam(GROUPID_PARAM) String groupId) throws IOException {
    19371937
    19381938        try {
     
    19511951    @GET
    19521952    @Path("/groups/nameById")
    1953     public Response getGroupNameById(@QueryParam("groupId") String groupId) throws IOException {
     1953    public Response getGroupNameById(@QueryParam(GROUPID_PARAM) String groupId) throws IOException {
    19541954
    19551955        try {
Note: See TracChangeset for help on using the changeset viewer.