Project

General

Profile

Revision 90b7ce27

ID90b7ce279f79bbccfd84c7d30e075ec3deaf2a81
Parent a4433228
Child e17bee9c

Added by Andreas Kohlbecker almost 3 years ago

ref #7175 using onlyPublishedTaxa in DWC-A Export controller

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/checklist/DwcaExportController.java
48 48
import eu.etaxonomy.cdm.io.dwca.out.DwcaEmlRecord;
49 49
import eu.etaxonomy.cdm.io.dwca.out.DwcaTaxExportConfigurator;
50 50
import eu.etaxonomy.cdm.model.common.CdmBase;
51
import eu.etaxonomy.cdm.model.description.Feature;
52 51
import eu.etaxonomy.cdm.model.taxon.Classification;
53
import eu.etaxonomy.cdm.model.taxon.Taxon;
54 52
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
55 53
import eu.etaxonomy.cdm.remote.controller.AbstractController;
56 54
import eu.etaxonomy.cdm.remote.controller.ProgressMonitorController;
......
216 214
            @RequestParam(value = "doReferences", defaultValue="true") Boolean doReferences,
217 215
            @RequestParam(value = "withHigherClassification", defaultValue="false") Boolean withHigherClassification,
218 216
            @RequestParam(value = "includeHeader", defaultValue="false") Boolean includeHeader,
217
            @RequestParam(value = "onlyPublishedTaxa", defaultValue="true") Boolean onlyPublishedTaxa,
219 218

  
220 219
//          @RequestParam(value = "area", required = false) final UuidList areas,
221 220
            @RequestParam(value = "downloadTokenValueId", required = false) final String downloadTokenValueId,
......
277 276
                                    cacheFile, monitor, taxonNodeFilter, doSynonyms, doMisapplieds,
278 277
                                    doVernaculars, doDistributions, doDescriptions, doImages,
279 278
                                    doTypesAndSpecimen, doResourceRelations, doReferences,
280
                                    withHigherClassification, includeHeader);
279
                                    withHigherClassification, includeHeader, onlyPublishedTaxa);
281 280
                            performExport(cacheFile, monitor, config,
282 281
                                    downloadTokenValueId, origin, response);
283 282
                        }
......
376 375
            Boolean doDescriptions, Boolean doImages,
377 376
            Boolean doTypesAndSpecimen, Boolean doResourceRelations,
378 377
            Boolean doReferences, Boolean withHigherClassification,
379
            Boolean includeHeader) {
378
            Boolean includeHeader,
379
            Boolean onlyPublishedTaxa) {
380 380

  
381 381
        if(cacheFile == null){
382 382
            String destination = System.getProperty("java.io.tmpdir");
......
400 400
        config.setDoResourceRelations(doResourceRelations);
401 401
        config.setWithHigherClassification(withHigherClassification);
402 402
        config.setHasHeaderLines(includeHeader);
403
        config.setOnlyPublishedTaxa(onlyPublishedTaxa);
403 404

  
404 405
        config.setProgressMonitor(progressMonitor);
405 406

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)