private List<String> getPropertyPaths(){
List<String> nameBasePropertyPaths = Arrays.asList(new String[] {
- "name.descriptions",
- "name.typeDesignations",
- "name.status",
- "name.nomenclaturalReference.inReference",
- "name.taxonBases.taxonNodes",
- "name.relationsFromThisName",
- "name.relationsToThisName",
- "name.homotypicalGroup.typifiedNames.taxonBases.synonyms.synonym.name.status",
- "name.homotypicalGroup.typifiedNames.relationsToThisName.fromName"});
+ "descriptions.descriptionElements.multilanguageText",
+ "descriptions.descriptionElements.*",
+ "typeDesignations",
+ "status",
+ "combinationAuthorship",
+ "exCombinationAuthorship",
+ "inCombinationAuthorship",
+ "basionymAuthorship",
+ "exBasionymAuthorship",
+ "inBasionymAuthorship",
+ "nomenclaturalReference.inReference",
+ "taxonBases.taxonNodes",
+ "relationsFromThisName",
+ "relationsToThisName",
+ "homotypicalGroup.typifiedNames.taxonBases.synonyms.synonym.name.status",
+ "homotypicalGroup.typifiedNames.relationsToThisName.fromName"});
return nameBasePropertyPaths;
}
// 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