public class EffectiveToolsCouplingImporter extends AbstractCSVImporter
agrosystCodeToPz0Code, domainCodeCampaignCropCode, domainCodeCampaignTCCode, effectiveCropCycleAndDependenciesByZone, FIRST_LINE_NUMBER, pz0CodeToAgrosystCode, pz0CodeToObject, pz0IdToObject, pz0IdToRelatedObjectId, serviceContext, serviceFactory| Constructor and Description |
|---|
EffectiveToolsCouplingImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addToolsCouplingToIntervention(ImportResults importResults,
long line,
EffectiveToolsCouplingImportDto from,
boolean error,
Pz0EffectiveIntervention pz0Intervention) |
ImportResults |
importFromStream(InputStream is,
Map<String,EntityAndDependencies> entitiesByCsvId) |
protected boolean |
validEffectiveInterventionAffiliation(ImportResults importResults,
long line,
EffectiveToolsCouplingImportDto from,
boolean error) |
protected boolean |
validToolsCouplingAffiliation(ImportResults importResults,
long line,
EffectiveToolsCouplingImportDto from,
boolean error) |
csvCodeToAgrosystCode, getDatePatternForInput, getDomainAndDependenciesForZone, getEffectiveCropCycleAndDependencies, getEffectiveCropCycleAndDependenciesByZone, getPersistenceContext, getPlotAndDependenciesForZone, getServiceFactory, getSolWaterPh, getSpeciesStadeCodes, initpublic ImportResults importFromStream(InputStream is, Map<String,EntityAndDependencies> entitiesByCsvId)
protected boolean validEffectiveInterventionAffiliation(ImportResults importResults, long line, EffectiveToolsCouplingImportDto from, boolean error)
protected boolean addToolsCouplingToIntervention(ImportResults importResults, long line, EffectiveToolsCouplingImportDto from, boolean error, Pz0EffectiveIntervention pz0Intervention)
protected boolean validToolsCouplingAffiliation(ImportResults importResults, long line, EffectiveToolsCouplingImportDto from, boolean error)
Copyright © 2013–2015 Inra. All rights reserved.