public class HarvestingYealdImporter extends AbstractCSVImporter
| Modifier and Type | Field and Description |
|---|---|
protected ActionService |
actionService |
protected RefInterventionAgrosystTravailEDITopiaDao |
refInterventionAgrosystTravailEDIDao |
FIRST_LINE_NUMBER, pz0CodeToAgrosystCode, pz0IdToObject, pz0IdToRelatedObjectId, serviceContext, serviceFactory| Constructor and Description |
|---|
HarvestingYealdImporter() |
| Modifier and Type | Method and Description |
|---|---|
ImportResults |
importFromStream(InputStream is,
Map<String,EntityAndDependencies> entitiesByCsvId) |
protected boolean |
validHarvestingAction(ImportResults importResults,
long line,
HarvestingYealdImportDto from,
boolean error) |
protected boolean |
validHarvestingYealdCategory(ImportResults importResults,
long line,
HarvestingYealdImportDto from,
boolean error) |
protected boolean |
validYealdAverage(ImportResults importResults,
long line,
HarvestingYealdImportDto from,
boolean error) |
csvCodeToAgrosystCode, getPersistenceContext, getServiceFactory, initprotected ActionService actionService
protected RefInterventionAgrosystTravailEDITopiaDao refInterventionAgrosystTravailEDIDao
public ImportResults importFromStream(InputStream is, Map<String,EntityAndDependencies> entitiesByCsvId)
protected boolean validHarvestingAction(ImportResults importResults, long line, HarvestingYealdImportDto from, boolean error)
protected boolean validHarvestingYealdCategory(ImportResults importResults, long line, HarvestingYealdImportDto from, boolean error)
protected boolean validYealdAverage(ImportResults importResults, long line, HarvestingYealdImportDto from, boolean error)
Copyright © 2013–2015 Inra. All rights reserved.