From 5db01f21ee9e590b4c981536edb4389bac19bd7d Mon Sep 17 00:00:00 2001 From: Rick Jaffe Date: Tue, 13 Mar 2012 23:57:53 -0700 Subject: [PATCH] CSPACE-4391: Adding PlaceAuthorityClient to import, adding Placeitem to getCommonSchemaNameForDocType --- .../services/relation/nuxeo/RelationDocumentModelHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java b/services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java index 2c394b3a3..ebd2323fc 100644 --- a/services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java +++ b/services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java @@ -53,6 +53,7 @@ import org.collectionspace.services.client.PersonAuthorityClient; import org.collectionspace.services.client.OrgAuthorityClient; import org.collectionspace.services.client.LocationAuthorityClient; import org.collectionspace.services.client.TaxonomyAuthorityClient; +import org.collectionspace.services.client.PlaceAuthorityClient; import org.collectionspace.services.common.document.DocumentWrapper; import org.collectionspace.services.jaxb.AbstractCommonList; @@ -407,6 +408,8 @@ public class RelationDocumentModelHandler common_schema = LocationAuthorityClient.SERVICE_ITEM_COMMON_PART_NAME; else if(docType.startsWith("Taxon")) common_schema = TaxonomyAuthorityClient.SERVICE_ITEM_COMMON_PART_NAME; + else if(docType.startsWith("Placeitem")) + common_schema = PlaceAuthorityClient.SERVICE_ITEM_COMMON_PART_NAME; //else leave it null. } return common_schema; -- 2.47.3