]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-3865: More renaming to new name for Taxonomy items.
authorAron Roberts <aron@socrates.berkeley.edu>
Sat, 7 May 2011 03:06:33 +0000 (03:06 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Sat, 7 May 2011 03:06:33 +0000 (03:06 +0000)
services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/TaxonomyAuthorityResource.java
services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonDocumentModelHandler.java [moved from services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonomyDocumentModelHandler.java with 100% similarity]
services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonValidatorHandler.java [moved from services/taxonomy/service/src/main/java/org/collectionspace/services/taxonomy/nuxeo/TaxonomyValidatorHandler.java with 100% similarity]

index ebcaaf75ff37d620914cb1fa6fe7340d6ccbd995..5c1b792a966cfa8d0307f19bab33bf91b85a9d0b 100644 (file)
@@ -83,10 +83,12 @@ public class TaxonomyAuthorityResource
                                                        TaxonCommon, TaxonomyDocumentModelHandler> {
 
     private final static String taxonomyAuthorityServiceName = "taxonomyauthorities";
-       private final static String LOCATIONAUTHORITIES_COMMON = "taxonomyauthority_common";
+       private final static String TAXONOMYAUTHORITY_COMMON = "taxonomyauthority_common";
     
-    private final static String taxonomyServiceName = "taxonomy";
-       private final static String LOCATIONS_COMMON = "taxonomy_common";
+    // FIXME: May be desirable to change this to the plural form 'taxa',
+    // both here and in related config.
+    private final static String taxonomyItemServiceName = "taxon";
+       private final static String TAXON_COMMON = "taxon_common";
     
     /** The logger. */
     final Logger logger = LoggerFactory.getLogger(TaxonomyAuthorityResource.class);
@@ -99,7 +101,7 @@ public class TaxonomyAuthorityResource
      */
     public TaxonomyAuthorityResource() {
                super(TaxonomyauthorityCommon.class, TaxonomyAuthorityResource.class,
-                               LOCATIONAUTHORITIES_COMMON, LOCATIONS_COMMON);
+                               TAXONOMYAUTHORITY_COMMON, TAXON_COMMON);
     }
 
     /* (non-Javadoc)
@@ -116,7 +118,7 @@ public class TaxonomyAuthorityResource
      * @return the item service name
      */
     public String getItemServiceName() {
-        return taxonomyServiceName;
+        return taxononomyItemServiceName;
     }
 
     @Override