From 9d7a7cda03f1dfb67c85fd4e4542688767e87237 Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Thu, 6 Sep 2012 15:59:09 -0700 Subject: [PATCH] CSPACE-5492: Removing duplicate handling of relations payload on gets. --- .../AuthorityItemDocumentModelHandler.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java index 0afa3dc0f..788e91b7a 100644 --- a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java +++ b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java @@ -605,24 +605,6 @@ public abstract class AuthorityItemDocumentModelHandler public void extractAllParts(DocumentWrapper 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 -- 2.47.3