public class ToolsCouplingImporter extends AbstractCSVImporter
FIRST_LINE_NUMBER, pz0CodeToAgrosystCode, pz0IdToObject, pz0IdToRelatedObjectId, serviceContext, serviceFactory| Constructor and Description |
|---|
ToolsCouplingImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addToolCouplingWorkRateUnit(ToolCouplingImportDto dto,
ToolsCoupling toolsCoupling,
ImportResults importResults,
long line,
boolean error) |
ImportResults |
importFromStream(InputStream is,
Map<String,EntityAndDependencies> entitiesByCsvId) |
protected boolean |
validToolCouplingToDomain(ToolCouplingImportDto dto,
ToolsCoupling toolsCoupling,
Map<String,EntityAndDependencies> entitiesByCsvId,
ImportResults importResults,
long line,
boolean error) |
protected boolean |
validTractor(ImportResults importResults,
Long line,
ToolCouplingImportDto dto,
boolean error,
ToolsCoupling toolsCoupling) |
csvCodeToAgrosystCode, getPersistenceContext, getServiceFactory, initpublic ImportResults importFromStream(InputStream is, Map<String,EntityAndDependencies> entitiesByCsvId)
protected boolean validTractor(ImportResults importResults, Long line, ToolCouplingImportDto dto, boolean error, ToolsCoupling toolsCoupling)
protected boolean validToolCouplingToDomain(ToolCouplingImportDto dto, ToolsCoupling toolsCoupling, Map<String,EntityAndDependencies> entitiesByCsvId, ImportResults importResults, long line, boolean error)
protected boolean addToolCouplingWorkRateUnit(ToolCouplingImportDto dto, ToolsCoupling toolsCoupling, ImportResults importResults, long line, boolean error)
Copyright © 2013–2015 Inra. All rights reserved.