Revision fb3dec85
Added by Andreas Müller over 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/cyprus/CyprusExcelImport.java | ||
---|---|---|
230 | 230 |
//status |
231 | 231 |
|
232 | 232 |
UUID indigenousUuid = transformer.getPresenceTermUuid("IN"); |
233 |
indigenous = this.getPresenceTerm(state, indigenousUuid, "indigenous", "Indigenous", "IN"); |
|
233 |
indigenous = this.getPresenceTerm(state, indigenousUuid, "indigenous", "Indigenous", "IN", false);
|
|
234 | 234 |
getTermService().save(indigenous); |
235 | 235 |
UUID indigenousDoubtfulUuid = transformer.getPresenceTermUuid("IN?"); |
236 |
indigenousDoubtful = this.getPresenceTerm(state, indigenousDoubtfulUuid, "indigenous?", "Indigenous?", "IN?"); |
|
236 |
indigenousDoubtful = this.getPresenceTerm(state, indigenousDoubtfulUuid, "indigenous?", "Indigenous?", "IN?", false);
|
|
237 | 237 |
getTermService().save(indigenousDoubtful); |
238 | 238 |
|
239 | 239 |
UUID cultivatedDoubtfulUuid = transformer.getPresenceTermUuid("CU?"); |
240 |
cultivatedDoubtful = this.getPresenceTerm(state, cultivatedDoubtfulUuid, "cultivated?", "Cultivated?", "CU?"); |
|
240 |
cultivatedDoubtful = this.getPresenceTerm(state, cultivatedDoubtfulUuid, "cultivated?", "Cultivated?", "CU?", false);
|
|
241 | 241 |
getTermService().save(cultivatedDoubtful); |
242 | 242 |
|
243 | 243 |
|
244 | 244 |
UUID casualUuid = transformer.getPresenceTermUuid("CA"); |
245 |
casual = this.getPresenceTerm(state, casualUuid, "casual", "Casual", "CA"); |
|
245 |
casual = this.getPresenceTerm(state, casualUuid, "casual", "Casual", "CA", false);
|
|
246 | 246 |
getTermService().save(casual); |
247 | 247 |
UUID casualDoubtfulUuid = transformer.getPresenceTermUuid("CA?"); |
248 |
casualDoubtful = this.getPresenceTerm(state, casualDoubtfulUuid, "casual?", "Casual?", "CA?"); |
|
248 |
casualDoubtful = this.getPresenceTerm(state, casualDoubtfulUuid, "casual?", "Casual?", "CA?", false);
|
|
249 | 249 |
getTermService().save(casualDoubtful); |
250 | 250 |
|
251 | 251 |
|
252 | 252 |
UUID nonInvasiveUuid = transformer.getPresenceTermUuid("NN"); |
253 |
nonInvasive = this.getPresenceTerm(state, nonInvasiveUuid, "naturalized non-invasive", "Naturalized non-invasive", "NN"); |
|
253 |
nonInvasive = this.getPresenceTerm(state, nonInvasiveUuid, "naturalized non-invasive", "Naturalized non-invasive", "NN", false);
|
|
254 | 254 |
getTermService().save(nonInvasive); |
255 | 255 |
UUID nonInvasiveDoubtfulUuid = transformer.getPresenceTermUuid("NN?"); |
256 |
nonInvasiveDoubtful = this.getPresenceTerm(state, nonInvasiveDoubtfulUuid, "naturalized non-invasive?", "Naturalized non-invasive?", "NN?"); |
|
256 |
nonInvasiveDoubtful = this.getPresenceTerm(state, nonInvasiveDoubtfulUuid, "naturalized non-invasive?", "Naturalized non-invasive?", "NN?", false);
|
|
257 | 257 |
getTermService().save(nonInvasiveDoubtful); |
258 | 258 |
|
259 | 259 |
UUID invasiveUuid = transformer.getPresenceTermUuid("NA"); |
260 |
invasive = this.getPresenceTerm(state, invasiveUuid, "naturalized invasive", "Naturalized invasive", "NA"); |
|
260 |
invasive = this.getPresenceTerm(state, invasiveUuid, "naturalized invasive", "Naturalized invasive", "NA", false);
|
|
261 | 261 |
getTermService().save(invasive); |
262 | 262 |
UUID invasiveDoubtfulUuid = transformer.getPresenceTermUuid("NA?"); |
263 |
invasiveDoubtful = this.getPresenceTerm(state, invasiveDoubtfulUuid, "naturalized invasive?", "Naturalized invasive?", "NA?"); |
|
263 |
invasiveDoubtful = this.getPresenceTerm(state, invasiveDoubtfulUuid, "naturalized invasive?", "Naturalized invasive?", "NA?", false);
|
|
264 | 264 |
getTermService().save(invasiveDoubtful); |
265 | 265 |
|
266 | 266 |
UUID questionableUuid = transformer.getPresenceTermUuid("Q"); |
267 |
questionable = this.getPresenceTerm(state, questionableUuid, "questionable", "Questionable", "Q"); |
|
267 |
questionable = this.getPresenceTerm(state, questionableUuid, "questionable", "Questionable", "Q", false);
|
|
268 | 268 |
getTermService().save(questionable); |
269 | 269 |
UUID questionableDoubtfulUuid = transformer.getPresenceTermUuid("Q?"); |
270 |
questionableDoubtful = this.getPresenceTerm(state, questionableDoubtfulUuid, "questionable?", "Questionable?", "Q?"); |
|
270 |
questionableDoubtful = this.getPresenceTerm(state, questionableDoubtfulUuid, "questionable?", "Questionable?", "Q?", false);
|
|
271 | 271 |
getTermService().save(questionableDoubtful); |
272 | 272 |
|
273 | 273 |
termsCreated = true; |
Also available in: Unified diff
Latest changes for Cuba import