Revision 8f006e1e
Added by Andreas Müller over 6 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/out/DwcaTaxonExport.java | ||
---|---|---|
110 | 110 |
private void handleSynonyms(DwcaTaxExportState state, Taxon taxon, DwcaTaxExportFile file, |
111 | 111 |
Classification classification, DwcaMetaDataRecord metaRecord) throws FileNotFoundException, UnsupportedEncodingException, IOException { |
112 | 112 |
for (Synonym synonym :taxon.getSynonyms() ){ |
113 |
DwcaTaxonRecord record = new DwcaTaxonRecord(metaRecord, state.getConfig()); |
|
113 |
if (isUnpublished(state.getConfig(), synonym)){ |
|
114 |
return; |
|
115 |
} |
|
116 |
|
|
117 |
DwcaTaxonRecord record = new DwcaTaxonRecord(metaRecord, state.getConfig()); |
|
114 | 118 |
SynonymType type = synonym.getType(); |
115 | 119 |
boolean isProParte = synonym.isProParte(); |
116 | 120 |
boolean isPartial = synonym.isPartial(); |
Also available in: Unified diff
fix #7180 fix #7175 refactor (CdmLight) and implementd (DwC-A) publish flag filtering