Project

General

Profile

Revision cea4a1b4

IDcea4a1b4f05d9b7889209e4e42fc62e78af2ed24
Parent fa4b35d0
Child a2c52f59

Added by Katja Luther 10 months ago

ref #8733: load descritive dataset before getting specimen

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/DescriptiveDataSetService.java
150 150
    }
151 151

  
152 152
    @Override
153
    public Collection<SpecimenNodeWrapper> loadSpecimens(UUID descriptiveDataSetUuid){
154
        DescriptiveDataSet dataSet = load(descriptiveDataSetUuid);
155
        return loadSpecimens(dataSet);
156
    }
157

  
158

  
159
    @Override
153 160
    public List<UUID> findFilteredTaxonNodes(DescriptiveDataSet descriptiveDataSet){
154 161
        TaxonNodeFilter filter = TaxonNodeFilter.NewRankInstance(descriptiveDataSet.getMinRank(), descriptiveDataSet.getMaxRank());
155 162
        descriptiveDataSet.getGeoFilter().forEach(area -> filter.orArea(area.getUuid()));
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IDescriptiveDataSetService.java
178 178
     */
179 179
    public TaxonDescription findDefaultDescription(UUID specimenDescriptionUuid, UUID dataSetUuid);
180 180

  
181
    public Collection<SpecimenNodeWrapper> loadSpecimens(UUID descriptiveDataSetUuid);
182

  
181 183
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)