Project

General

Profile

« Previous | Next » 

Revision eecf4b9d

Added by Andreas Müller almost 10 years ago

add publish Flag handling to pesi export

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiExportBase.java
348 348
		//handle accepted taxa
349 349
		if (taxonBase.isInstanceOf(Taxon.class)){
350 350
			Taxon taxon = CdmBase.deproxy(taxonBase, Taxon.class);
351
			if (! taxon.isPublish()){
352
				taxon = null;
353
				return false;
354
			}
351 355
			for (Marker marker : taxon.getMarkers()){
356
				//probably not needed anymore after #1780 was fixed, also #4046 interesting
352 357
				if (marker.getValue() == false && marker.getMarkerType().equals(MarkerType.PUBLISH())){
353 358
					taxon = null;
354 359
					return false;

Also available in: Unified diff