adapt PESI export to new signature of loadRankSpecificRootNode
authorAndreas Müller <a.mueller@bgbm.org>
Mon, 4 Mar 2013 12:46:48 +0000 (12:46 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Mon, 4 Mar 2013 12:46:48 +0000 (12:46 +0000)
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiRelTaxonExport.java
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java

index 474fc725239a08c6d11396f60145489e1a6ce56a..57c8ad1567e3f8659c210efd3a095bf600e11413 100644 (file)
@@ -291,7 +291,7 @@ public class PesiRelTaxonExport extends PesiExportBase {
                                        txStatus = startTransaction(true);\r
                                        logger.info("Started transaction to fetch all rootNodes specific to Rank " + rank.getLabel() + " ...");\r
 \r
-                                       List<TaxonNode> rankSpecificRootNodes = getClassificationService().loadRankSpecificRootNodes(classification, rank, null);\r
+                                       List<TaxonNode> rankSpecificRootNodes = getClassificationService().loadRankSpecificRootNodes(classification, rank, null, null, null);\r
                                        logger.info("Fetched " + rankSpecificRootNodes.size() + " RootNodes for Rank " + rank.getLabel());\r
 \r
                                        commitTransaction(txStatus);\r
index 95021ebd6b6169deee9ab237d979a86dbbcfd7eb..a3f6a58233b4330e2ff455ab4a4ad9a498c01dac 100644 (file)
@@ -570,7 +570,7 @@ public class PesiTaxonExport extends PesiExportBase {
                                txStatus = startTransaction(true);\r
                                logger.info("Started transaction to fetch all rootNodes specific to Rank " + rank.getLabel() + " ...");\r
 \r
-                               rankSpecificRootNodes = getClassificationService().loadRankSpecificRootNodes(classification, rank, null);\r
+                               rankSpecificRootNodes = getClassificationService().loadRankSpecificRootNodes(classification, rank, null, null, null);\r
                                logger.info("Fetched " + rankSpecificRootNodes.size() + " RootNodes for Rank " + rank.getLabel());\r
 \r
                                commitTransaction(txStatus);\r