]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-3332
authorLaramie Crocker <laramie@berkeley.edu>
Wed, 15 Dec 2010 21:15:03 +0000 (21:15 +0000)
committerLaramie Crocker <laramie@berkeley.edu>
Wed, 15 Dec 2010 21:15:03 +0000 (21:15 +0000)
services/common/src/main/java/org/collectionspace/services/common/ResourceBase.java

index fa3b2899f7b3d7a24de0032dac7cf0e5b156e8a6..0b268cf62fef0dceb8ade556d1c3958447859502 100644 (file)
@@ -39,8 +39,6 @@ extends AbstractMultiPartCollectionSpaceResourceImpl {
     public static final String DELETE = "delete";\r
     public static final String LIST   = "list";\r
 \r
-    public abstract String getPath();\r
-\r
     //FIXME retrieve client type from configuration\r
     final static ClientType CLIENT_TYPE = ServiceMain.getInstance().getClientType();\r
 \r
@@ -107,7 +105,7 @@ extends AbstractMultiPartCollectionSpaceResourceImpl {
     protected Response create(MultipartInput input, ServiceContext<MultipartInput, MultipartOutput> ctx) {\r
         try {\r
             DocumentHandler handler = createDocumentHandler(ctx);\r
-            UriBuilder path = UriBuilder.fromPath(getPath());//UriBuilder.fromResource(this.getClass());\r
+            UriBuilder path = UriBuilder.fromResource(this.getClass());\r
             return create(input, ctx, handler, path); //==> CALL implementation method, which subclasses may override.\r
         } catch (Exception e) {\r
             throw bigReThrow(e, ServiceMessages.CREATE_FAILED);\r