Project

General

Profile

Revision 28702a86

ID28702a86def9331d7ce748cc4f56a045e0afb170
Parent 35a38115
Child 18b44328

Added by Andreas Kohlbecker over 1 year ago

implemting TypeDesignationPortalController

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/NamePortalController.java
63 63

  
64 64
    private static final Logger logger = Logger.getLogger(NamePortalController.class);
65 65

  
66
    private static final List<String> TYPEDESIGNATION_INIT_STRATEGY = Arrays.asList(new String []{
67
            "typeName.$",
68
            "typeSpecimen",
69
            "typeStatus.representations",
70
            "typifiedNames.nomenclaturalReference.authorship",
71
            "citation.authorship.$",
72
            "typeSpecimen.media",
73
            "registrations.institution"
74
    });
66
    private static final List<String> TYPEDESIGNATION_INIT_STRATEGY = TypeDesignationPortalController.DEFAULT_INIT_STRATEGY;
75 67

  
76 68

  
77 69
    private static final List<String> NAMEDESCRIPTION_INIT_STRATEGY = Arrays.asList(new String []{
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/name/TypeDesignationSetManager.java
663 663
                    } else {
664 664
                        DerivedUnitFacadeCacheStrategy cacheStrategy = new DerivedUnitFacadeCacheStrategy();
665 665
                        String titleCache = cacheStrategy.getTitleCache(du, true);
666
                        // removing parentheses from code + accession number, see https://dev.e-taxonomy.eu/redmine/issues/8365
667
                        titleCache = titleCache.replaceAll("[\\(\\)]", "");
668 666
                        typeSpecimenTitle += titleCache;
669 667

  
670 668
                    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)