Revision 9900f429
Added by Andreas Müller about 10 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/indexFungorum/IndexFungorumGeneraImport.java | ||
---|---|---|
155 | 155 |
return parentName; |
156 | 156 |
} |
157 | 157 |
|
158 |
/* (non-Javadoc) |
|
159 |
* @see eu.etaxonomy.cdm.io.berlinModel.in.IPartitionedIO#getRelatedObjectsForPartition(java.sql.ResultSet) |
|
160 |
*/ |
|
161 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs) { |
|
158 |
|
|
159 |
@Override |
|
160 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs, IndexFungorumImportState state) { |
|
162 | 161 |
String nameSpace; |
163 |
Class cdmClass; |
|
162 |
Class<?> cdmClass;
|
|
164 | 163 |
Set<String> idSet; |
165 | 164 |
Map<Object, Map<String, ? extends CdmBase>> result = new HashMap<Object, Map<String, ? extends CdmBase>>(); |
166 | 165 |
|
... | ... | |
194 | 193 |
} |
195 | 194 |
|
196 | 195 |
|
197 |
|
|
198 |
/* (non-Javadoc) |
|
199 |
* @see eu.etaxonomy.cdm.io.common.CdmIoBase#doCheck(eu.etaxonomy.cdm.io.common.IImportConfigurator) |
|
200 |
*/ |
|
201 | 196 |
@Override |
202 | 197 |
protected boolean doCheck(IndexFungorumImportState state){ |
203 | 198 |
return true; |
204 | 199 |
} |
205 | 200 |
|
206 |
/* (non-Javadoc) |
|
207 |
* @see eu.etaxonomy.cdm.io.common.CdmIoBase#isIgnore(eu.etaxonomy.cdm.io.common.IImportConfigurator) |
|
208 |
*/ |
|
201 |
@Override |
|
209 | 202 |
protected boolean isIgnore(IndexFungorumImportState state){ |
210 | 203 |
return ! state.getConfig().isDoTaxa(); |
211 | 204 |
} |
Also available in: Unified diff
adapt pesi import to new IPartionedIO signature