public class EquipmentImporter extends AbstractCSVImporter
| Modifier and Type | Field and Description |
|---|---|
protected RefMaterielTopiaDao |
refMaterielTopiaDao |
FIRST_LINE_NUMBER, pz0CodeToAgrosystCode, pz0IdToObject, serviceContext, serviceFactory| Constructor and Description |
|---|
EquipmentImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addMaterielToEquipment(EquipmentImportDto dto,
Equipment equipment,
ImportResults importResults,
long line,
boolean error) |
protected boolean |
addToolCouplingToDomain(EquipmentImportDto dto,
Equipment equipment,
Map<String,EntityAndDependencies> entitiesByCsvId,
ImportResults importResults,
long line,
boolean error) |
ImportResults |
importFromStream(InputStream is,
Map<String,EntityAndDependencies> entitiesByCsvId) |
void |
init(ServiceContext serviceContext) |
csvCodeToAgrosystCode, getPersistenceContext, getServiceFactoryprotected RefMaterielTopiaDao refMaterielTopiaDao
public ImportResults importFromStream(InputStream is, Map<String,EntityAndDependencies> entitiesByCsvId)
protected boolean addToolCouplingToDomain(EquipmentImportDto dto, Equipment equipment, Map<String,EntityAndDependencies> entitiesByCsvId, ImportResults importResults, long line, boolean error)
protected boolean addMaterielToEquipment(EquipmentImportDto dto, Equipment equipment, ImportResults importResults, long line, boolean error)
public void init(ServiceContext serviceContext)
init in interface ICsvImporterinit in class AbstractCSVImporterCopyright © 2013–2014 Inra. All rights reserved.