adding missing methods
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Thu, 20 Mar 2014 15:06:18 +0000 (15:06 +0000)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Thu, 20 Mar 2014 15:06:18 +0000 (15:06 +0000)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientOccurenceService.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientTaxonService.java

index f41d619f3e9b18716dc9ab487e8e13a2ed3f779a..a6cbe14b57b243fd92bafefd5208a4389556f67d 100644 (file)
@@ -865,5 +865,16 @@ public class TransientOccurenceService implements IOccurrenceService {
         return defaultService.getFieldUnits(derivedUnitUuid);
     }
 
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#pageByAssociatedTaxon(java.lang.Class, java.util.Set, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
+     */
+    @Override
+    public <T extends SpecimenOrObservationBase> Pager<T> pageByAssociatedTaxon(Class<T> type,
+            Set<TaxonRelationshipEdge> includeRelationships, String taxonUUID, Integer maxDepth, Integer pageSize,
+            Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
+        return defaultService.pageByAssociatedTaxon(type, includeRelationships, taxonUUID,
+                maxDepth, pageSize, pageNumber, orderHints, propertyPaths);
+    }
+
 
 }
index e4868aebc212280a15a9f8d6f9b67db4f483bcae..ed5bc21d00acfa791103bde6babfc79e2c29132b 100644 (file)
@@ -1399,13 +1399,31 @@ public class TransientTaxonService implements ITaxonService {
                        TaxonRelationshipType oldRelationshipType,
                        SynonymRelationshipType synonymRelationshipType)
                        throws DataChangeNoRollbackException {
-               
+
                return defaultTaxonService.changeRelatedTaxonToSynonym(fromTaxon, toTaxon, oldRelationshipType, synonymRelationshipType);
        }
 
-    
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.ITaxonService#pageAcceptedTaxaFor(java.util.UUID, java.util.UUID, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
+     */
+    @Override
+    public Pager<Taxon> pageAcceptedTaxaFor(UUID synonymUuid, UUID classificationUuid, Integer pageSize,
+            Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
+        return defaultTaxonService.pageAcceptedTaxaFor(synonymUuid, classificationUuid, pageSize, pageNumber, orderHints, propertyPaths);
+    }
+
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.ITaxonService#listAcceptedTaxaFor(java.util.UUID, java.util.UUID, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
+     */
+    @Override
+    public List<Taxon> listAcceptedTaxaFor(UUID synonymUuid, UUID classificationUuid, Integer pageSize,
+            Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
+        return defaultTaxonService.listAcceptedTaxaFor(synonymUuid, classificationUuid, pageSize, pageNumber, orderHints, propertyPaths);
+    }
+
+
+
 
-       
 
 
 }