You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2015/01/14 04:28:18 UTC

svn commit: r1651566 - /directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java

Author: kayyagari
Date: Wed Jan 14 03:28:17 2015
New Revision: 1651566

URL: http://svn.apache.org/r1651566
Log:
renamed methods to suit the intent

Modified:
    directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java

Modified: directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java
URL: http://svn.apache.org/viewvc/directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java?rev=1651566&r1=1651565&r2=1651566&view=diff
==============================================================================
--- directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java (original)
+++ directory/escimo/trunk/server/src/main/java/org/apache/directory/scim/rest/ResourceService.java Wed Jan 14 03:28:17 2015
@@ -74,7 +74,7 @@ public class ResourceService extends Abs
     @GET
     @Produces({MediaType.APPLICATION_JSON})
     @Path("{id}")
-    public Response getUser( @PathParam("id") String userId, @Context UriInfo uriInfo )
+    public Response getResource( @PathParam("id") String userId, @Context UriInfo uriInfo )
     {
         ResponseBuilder rb = null;
         
@@ -99,7 +99,7 @@ public class ResourceService extends Abs
 
     @DELETE
     @Path("{id}")
-    public Response deleteUser( @PathParam("id") String userId, @Context UriInfo uriInfo )
+    public Response deleteResource( @PathParam("id") String userId, @Context UriInfo uriInfo )
     {
         ResponseBuilder rb = Response.ok();
         
@@ -159,7 +159,7 @@ public class ResourceService extends Abs
     @PUT
     @Path("{id}")
     @Produces({MediaType.APPLICATION_JSON})
-    public Response putUser( @PathParam("id") String userId, String jsonData, @Context UriInfo uriInfo )
+    public Response replaceResource( @PathParam("id") String userId, String jsonData, @Context UriInfo uriInfo )
     {
         ResponseBuilder rb = null;
 
@@ -195,7 +195,7 @@ public class ResourceService extends Abs
     @PATCH
     @Path("{id}")
     @Produces({MediaType.APPLICATION_JSON})
-    public Response patchUser( @PathParam("id") String userId, String jsonData, @Context UriInfo uriInfo )
+    public Response patchResource( @PathParam("id") String userId, String jsonData, @Context UriInfo uriInfo )
     {
         ResponseBuilder rb = null;