- added service method to get descriptions which have a specimen set as describedSpe...
authorPatric Plitzner <p.plitzner@bgbm.org>
Thu, 4 Dec 2014 15:00:20 +0000 (15:00 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Thu, 4 Dec 2014 15:00:20 +0000 (15:00 +0000)
 - added test which fails because the XML is loaded incorrectly

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientOccurenceService.java

index 90b6096e41820aaaad4073bcd15d46b6a3ec07c5..655dde9e5b9adf4a7c320e43a8e770276ac79306 100644 (file)
@@ -979,4 +979,14 @@ public class TransientOccurenceService implements IOccurrenceService {
         return defaultService.listTypeDesignations(specimen, limit, start, orderHints, propertyPaths);
     }
 
         return defaultService.listTypeDesignations(specimen, limit, start, orderHints, propertyPaths);
     }
 
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#listDescriptionsWithDescriptionSpecimen(eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
+     */
+    @Override
+    public Collection<DescriptionBase<?>> listDescriptionsWithDescriptionSpecimen(
+            SpecimenOrObservationBase<?> specimen, Integer limit, Integer start, List<OrderHint> orderHints,
+            List<String> propertyPaths) {
+        return defaultService.listDescriptionsWithDescriptionSpecimen(specimen, limit, start, orderHints, propertyPaths);
+    }
+
 }
 }