// IFindTaxaAndNamesConfigurator<TaxonBase> newConfig = new FindTaxaAndNamesConfiguratorImpl<>();\r
// newConfig.setTitleSearchString(configurator.getTitleSearchStringSqlized());\r
// newConfig.setMatchMode(MatchMode.ANYWHERE);\r
-\r
+ List<String> propertyPaths = getPropertyPaths();\r
+ configurator.setPropertyPaths(propertyPaths);\r
List<TaxonBase> taxa = CdmStore.getSearchManager().findTaxa(configurator);\r
List<TaxonBase> taxaCopy = new ArrayList<TaxonBase>();\r
for (TaxonBase taxon:taxa){\r
super.saveModel(resetMerge);\r
}\r
\r
+ private List<String> getPropertyPaths(){\r
+ List<String> taxonBasePropertyPaths = Arrays.asList(new String[] {\r
+ "descriptions.descriptionElements.*",\r
+ "typeDesignations"});\r
+\r
+ return taxonBasePropertyPaths;\r
+ }\r
+\r
}\r