]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5492: Removing duplicate handling of relations payload on gets.
authorRichard Millet <remillet@berkeley.edu>
Thu, 6 Sep 2012 22:59:09 +0000 (15:59 -0700)
committerRichard Millet <remillet@berkeley.edu>
Thu, 6 Sep 2012 22:59:09 +0000 (15:59 -0700)
services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java

index 0afa3dc0faf539ed002dd532bb8f7383e728f8c1..788e91b7a81227b746eeb2e9da248b88bc3e8a8b 100644 (file)
@@ -605,24 +605,6 @@ public abstract class AuthorityItemDocumentModelHandler<AICommon>
     public void extractAllParts(DocumentWrapper<DocumentModel> wrapDoc) throws Exception {
         MultipartServiceContext ctx = (MultipartServiceContext) getServiceContext();
         super.extractAllParts(wrapDoc);
-
-        String showSiblings = ctx.getQueryParams().getFirst(CommonAPI.showSiblings_QP);
-        if (Tools.isTrue(showSiblings)) {
-            showSiblings(wrapDoc, ctx);
-            return;   // actual result is returned on ctx.addOutputPart();
-        }
-
-        String showRelations = ctx.getQueryParams().getFirst(CommonAPI.showRelations_QP);
-        if (Tools.isTrue(showRelations)) {
-            showRelations(wrapDoc, ctx);
-            return;   // actual result is returned on ctx.addOutputPart();
-        }
-
-        String showAllRelations = ctx.getQueryParams().getFirst(CommonAPI.showAllRelations_QP);
-        if (Tools.isTrue(showAllRelations)) {
-            showAllRelations(wrapDoc, ctx);
-            return;   // actual result is returned on ctx.addOutputPart();
-        }
     }
 
     @Override