public interface EffectiveCropCycleService extends AgrosystService
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<ToolsCoupling,String> |
GET_TOOLS_COUPLING_BY_CODE |
| Modifier and Type | Method and Description |
|---|---|
void |
copyInterventions(List<TargetedZones> zones,
List<EffectiveInterventionDto> interventionDtos)
Copy interventions to the given zone crops
|
void |
duplicateEffectiveCropCycles(String fromZoneId,
String toZoneId) |
InputStream |
exportEffectiveCropCyclesAsXlsStream(List<String> effectiveCropCycleIds) |
List<EffectivePerennialCropCycleDto> |
getAllEffectivePerennialCropCyclesDtos(String zoneTopiaId)
Get all zone's perennial crop cycles (with phases, species, and interventions).
|
List<EffectiveSeasonalCropCycleDto> |
getAllEffectiveSeasonalCropCyclesDtos(String zoneTopiaId)
Get all plot's seasonal crop cycles (with nodes, connections, and interventions).
|
CopyPasteZoneByCampaigns |
getAvailableZonesForCopy(String zoneTopiaId) |
List<Price> |
getEffectivePrices(String zoneId,
List<String> objectIds)
Loads the prices involved in the given zone's effective crop cycle
|
ResultList<Zone> |
getFilteredZones(EffectiveZoneFilter filter)
Recherche paginée de la liste des zones des parcelles.
|
ResultList<ZoneDto> |
getFilteredZonesAndCroppingPlanInfosDto(EffectiveZoneFilter filter)
Recherche paginée de la liste des zones des parcelles avec les infos sur cultures et interventions.
|
ResultList<ZoneDto> |
getFilteredZonesDto(EffectiveZoneFilter filter) |
CroppingPlanEntry |
getPreviousCampaignCroppingPlanEntry(String zoneTopiaId)
Find cropping plan entry of last node defined for previous campaign.
|
List<ToolsCouplingDto> |
getToolsCouplingModel(String zoneTopiaId,
AgrosystInterventionType interventionType) |
Zone |
getZone(String zoneTopiaId)
Find zone by topia id.
|
List<CroppingPlanEntry> |
getZoneCroppingPlanEntries(Zone zone)
Find zone's domain cropping plan entries.
|
List<CroppingPlanEntry> |
getZoneCroppingPlanEntriesWithoutDomain(Zone zone) |
List<ZoneDto> |
getZones(Collection<String> zoneIds) |
void |
importPZ0EffectiveCropCycles(Collection<EffectiveCropCycleAndDependencies> effectiveCropCycleAndDependencies)
Import effective crop cycles from PZ0
|
void |
updateEffectiveCropCycles(String zoneId,
List<EffectiveSeasonalCropCycleDto> effectiveSeasonalCropCycles,
List<EffectivePerennialCropCycleDto> effectivePerennialCropCycles,
List<Price> prices)
Update zone's crop cycles.
|
static final com.google.common.base.Function<ToolsCoupling,String> GET_TOOLS_COUPLING_BY_CODE
ResultList<Zone> getFilteredZones(EffectiveZoneFilter filter)
filter - filtre de paginationResultList<ZoneDto> getFilteredZonesDto(EffectiveZoneFilter filter)
ResultList<ZoneDto> getFilteredZonesAndCroppingPlanInfosDto(EffectiveZoneFilter filter)
filter - filtre de paginationZone getZone(String zoneTopiaId)
zoneTopiaId - zone topia idList<CroppingPlanEntry> getZoneCroppingPlanEntries(Zone zone)
zone - zoneList<CroppingPlanEntry> getZoneCroppingPlanEntriesWithoutDomain(Zone zone)
CroppingPlanEntry getPreviousCampaignCroppingPlanEntry(String zoneTopiaId)
zoneTopiaId - zone topia idList<EffectivePerennialCropCycleDto> getAllEffectivePerennialCropCyclesDtos(String zoneTopiaId)
zoneTopiaId - zoneTopiaIdList<EffectiveSeasonalCropCycleDto> getAllEffectiveSeasonalCropCyclesDtos(String zoneTopiaId)
zoneTopiaId - zoneTopiaIdvoid updateEffectiveCropCycles(String zoneId, List<EffectiveSeasonalCropCycleDto> effectiveSeasonalCropCycles, List<EffectivePerennialCropCycleDto> effectivePerennialCropCycles, List<Price> prices)
zoneId - the identifier of the zone on which the crop cycle is abouteffectiveSeasonalCropCycles - seasonal crop cycleseffectivePerennialCropCycles - perennial crop cyclesprices - List<Price> getEffectivePrices(String zoneId, List<String> objectIds)
zoneId - the identifier of the zone on which the crop cycle is aboutList<ToolsCouplingDto> getToolsCouplingModel(String zoneTopiaId, AgrosystInterventionType interventionType)
List<ZoneDto> getZones(Collection<String> zoneIds)
InputStream exportEffectiveCropCyclesAsXlsStream(List<String> effectiveCropCycleIds)
CopyPasteZoneByCampaigns getAvailableZonesForCopy(String zoneTopiaId)
zoneTopiaId - the zone from where the copy is donevoid copyInterventions(List<TargetedZones> zones, List<EffectiveInterventionDto> interventionDtos)
zones - define the intervention targeted cropinterventionDtos - interventions to copyvoid importPZ0EffectiveCropCycles(Collection<EffectiveCropCycleAndDependencies> effectiveCropCycleAndDependencies)
effectiveCropCycleAndDependencies - imported data from PZ0 witch include effective crop cyclesCopyright © 2013–2015 Inra. All rights reserved.