Revision 485da8a9
Added by Andreas Kohlbecker over 3 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IOccurrenceService.java | ||
---|---|---|
344 | 344 |
*/ |
345 | 345 |
public Collection<FieldUnit> findFieldUnits(UUID specimenUuid, List<String> propertyPaths); |
346 | 346 |
|
347 |
/** |
|
348 |
* Retrieves top most originals for a {@link SpecimenOrObservationBase} in the derivation graph by recursively |
|
349 |
* walking all {@link DerivationEvent}s. |
|
350 |
* In most cases item in the returned collection will be {@link FieldUnit FieldUnits} but also DerivedUnits are possible, in |
|
351 |
* cases where no FieledUnit exists. |
|
352 |
* |
|
353 |
* @param specimenUuid the UUID of the specimen |
|
354 |
* @param propertyPaths the property path |
|
355 |
* @return either a collection of root units |
|
356 |
*/ |
|
357 |
public Collection<SpecimenOrObservationBase> findRootUnits(UUID specimenUuid, List<String> propertyPaths); |
|
358 |
|
|
347 | 359 |
/** |
348 | 360 |
* @param clazz |
349 | 361 |
* @param queryString |
Also available in: Unified diff
fix #9395 DerivedUnit.collectFieldUnits() as DerivedUnit.collectRootUnits() to return all types of root units