From: Aron Roberts Date: Wed, 16 Nov 2011 22:33:58 +0000 (+0000) Subject: CSPACE-4582: When retriving lists of taxon terms, the uri fields in list items now... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a4b15d5eef8f7522eedbe75181381e5945967311;p=tmp%2Fjakarta-migration.git CSPACE-4582: When retriving lists of taxon terms, the uri fields in list items now correctly reflect the name of the parent authority ('taxonomyauthority'). --- diff --git a/services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonDocumentModelHandler.java b/services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonDocumentModelHandler.java index 886b7ba32..b7c5ba99e 100644 --- a/services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonDocumentModelHandler.java +++ b/services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonDocumentModelHandler.java @@ -23,6 +23,7 @@ */ package org.collectionspace.services.taxonomy.nuxeo; +import org.collectionspace.services.client.TaxonomyAuthorityClient; import org.collectionspace.services.TaxonJAXBSchema; import org.collectionspace.services.common.document.DocumentWrapper; import org.collectionspace.services.common.vocabulary.nuxeo.AuthorityItemDocumentModelHandler; @@ -50,6 +51,10 @@ public class TaxonDocumentModelHandler public TaxonDocumentModelHandler() { super(COMMON_PART_LABEL); } + + public String getAuthorityServicePath(){ + return TaxonomyAuthorityClient.SERVICE_PATH_COMPONENT; + } /** * Handle display name.