Project

General

Profile

« Previous | Next » 

Revision e7fe9c1f

Added by Andreas Müller over 12 years ago

added makeTaxonUrl to BM import

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelTaxonImport.java
15 15
import static eu.etaxonomy.cdm.io.berlinModel.BerlinModelTransformer.T_STATUS_SYNONYM;
16 16
import static eu.etaxonomy.cdm.io.berlinModel.BerlinModelTransformer.T_STATUS_UNRESOLVED;
17 17

  
18
import java.lang.reflect.Method;
18 19
import java.sql.ResultSet;
19 20
import java.sql.SQLException;
20 21
import java.util.HashMap;
......
278 279
					//Notes
279 280
					doIdCreatedUpdatedNotes(state, taxonBase, rs, taxonId, NAMESPACE);
280 281
					
282
					//external url
283
					if (config.getMakeUrlForTaxon() != null){
284
						Method urlMethod = config.getMakeUrlForTaxon();
285
						urlMethod.invoke(null, taxonBase, rs);
286
					}
287
					
281 288
					partitioner.startDoSave();
282 289
					taxaToSave.add(taxonBase);
283 290
				} catch (Exception e) {

Also available in: Unified diff