public class EquipmentImporter extends AbstractCSVImporter
| Modifier and Type | Field and Description |
|---|---|
protected RefMaterielTopiaDao |
refMaterielTopiaDao |
domainCodeCampaignCropCode, domainCodeCampaignTCCode, effectiveCropCycleAndDependenciesByZone, FIRST_LINE_NUMBER, pz0CodeToAgrosystCode, pz0CodeToObject, pz0IdToObject, pz0IdToRelatedObjectId, serviceContext, serviceFactory| Constructor and Description |
|---|
EquipmentImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addEquipmentToDomain(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) |
ImportResults |
importFromStream(InputStream is,
Map<String,EntityAndDependencies> entitiesByCsvId) |
void |
init(ServiceContext serviceContext) |
csvCodeToAgrosystCode, getDomainAndDependenciesForZone, getEffectiveCropCycleAndDependencies, getEffectiveCropCycleAndDependenciesByZone, getPersistenceContext, getPlotAndDependenciesForZone, getServiceFactory, getSolWaterPhprotected RefMaterielTopiaDao refMaterielTopiaDao
public ImportResults importFromStream(InputStream is, Map<String,EntityAndDependencies> entitiesByCsvId)
protected boolean addEquipmentToDomain(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–2015 Inra. All rights reserved.