import eu.etaxonomy.cdm.database.ICdmDataSource;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelAuthorImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelAuthorTeamImport;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelCommonNamesImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelFactsImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportConfigurator;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportState;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelNameFactsImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelNameStatusImport;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelOccurrenceImport;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelOccurrenceSourceImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelRefDetailImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelReferenceImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonNameImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonNameRelationImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTaxonRelationImport;\r
-import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelTypesImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelUserImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelWebMarkerCategoryImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelWebMarkerImport;\r
import eu.etaxonomy.cdm.io.berlinModel.in.validation.BerlinModelGeneralImportValidator;\r
-import eu.etaxonomy.cdm.io.common.DbImportStateBase;\r
-import eu.etaxonomy.cdm.io.common.ImportStateBase;\r
import eu.etaxonomy.cdm.io.common.Source;\r
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;\r
\r
/**\r
- * @author pesiimport\r
+ * @author a.mueller\r
*\r
*/\r
public class AlgaTerraImportConfigurator extends BerlinModelImportConfigurator {\r
\r
private boolean doEcoFacts = true;\r
\r
+ private boolean doFactEcology = true;\r
+ \r
private boolean doImages = true;\r
\r
- private String imageBaseUrl = "http://www.algaterra.org/ATDB/Figures/";\r
+ private boolean doDna = true;\r
+ \r
+ private boolean doMorphology = true;\r
+ \r
+ private boolean removeRestricted = false; //if true, all records with protected or restricted flag will be filtered\r
+ \r
+ private boolean importOriginalSizeMedia = true;\r
\r
public static AlgaTerraImportConfigurator NewInstance(Source berlinModelSource, ICdmDataSource destination){\r
return new AlgaTerraImportConfigurator(berlinModelSource, destination);\r
, BerlinModelWebMarkerImport.class\r
\r
, AlgaTerraCollectionImport.class\r
- , AlgaTerraSpecimenImport.class\r
+ , AlgaTerraEcoFactImport.class\r
+ , AlgaTerraFactEcologyImport.class\r
, AlgaTerraTypeImport.class\r
, AlgaTerraTypeImagesImport.class\r
, AlgaTerraVoucherImagesImport.class\r
, AlgaTerraSiteImagesImport.class\r
+ , AlgaTerraPictureImport.class\r
+ , AlgaTerraDnaImport.class\r
+ , AlgaTerraMorphologyImport.class\r
\r
}; \r
\r
this.doEcoFacts = doEcoFacts;\r
}\r
\r
- public String getImageBaseUrl() {\r
- return imageBaseUrl;\r
- }\r
-\r
- public void setImageBaseUrl(String imageBaseUrl) {\r
- this.imageBaseUrl = imageBaseUrl;\r
- }\r
-\r
public boolean isDoImages() {\r
return doImages;\r
}\r
this.doImages = doImages;\r
}\r
\r
+ public boolean isDoFactEcology() {\r
+ return doFactEcology;\r
+ }\r
+\r
+ public void setDoFactEcology(boolean doFactEcology) {\r
+ this.doFactEcology = doFactEcology;\r
+ }\r
+\r
+ public boolean isDoDna() {\r
+ return doDna;\r
+ }\r
+\r
+ public void setDoDna(boolean doDna) {\r
+ this.doDna = doDna;\r
+ }\r
+\r
+ public boolean isRemoveRestricted() {\r
+ return removeRestricted;\r
+ }\r
+ \r
+ public void setRemoveRestricted(boolean removeRestricted) {\r
+ this.removeRestricted = removeRestricted;\r
+ }\r
+\r
+ public boolean isDoMorphology() {\r
+ return doMorphology;\r
+ }\r
+\r
+ public void setDoMorphology(boolean doMorphology) {\r
+ this.doMorphology = doMorphology;\r
+ }\r
+\r
+ public boolean isImportOriginalSizeMedia() {\r
+ return importOriginalSizeMedia;\r
+ }\r
+\r
+ public void setImportOriginalSizeMedia(boolean importOriginalSizeMedia) {\r
+ this.importOriginalSizeMedia = importOriginalSizeMedia;\r
+ }\r
+\r
\r
}\r