public interface PracticedPlotService extends AgrosystService
| Modifier and Type | Method and Description |
|---|---|
PracticedPlot |
createOrUpdatePracticedPlot(PracticedPlot practicedPlot,
String practicedSystemTopiaId,
String locationTopiaId,
String selectedSurfaceTextureId,
String selectedSubSoilTextureId,
String selectedSolDepthId,
List<String> selectedPlotZoningIds,
List<SolHorizonDto> solHorizons,
List<String> adjacentElementIds)
Create or update the given practiced plot
|
ResultList<PracticedPlot> |
getFilteredPracticedPlots(PracticedPlotFilter filter) |
ResultList<PracticedPlotDto> |
getFilteredPracticedPlotsDto(PracticedPlotFilter filter)
return the practiced plot matching the given filter parameters
|
PracticedPlot |
getPracticedPlot(String practicedPlotTopiaId)
Return the instance of plot for the given practicedPlotTopiaId, if null a new instance is created.
|
List<PracticedSystem> |
getPracticedSystemsWithoutPracticedPlot(NavigationContext navigationContext)
Return Practiced Systems not related to Practiced Plot
|
void |
importPZ0PracticedPlots(Map<Class,ImportResults> allResults)
Save the practiced plot imported from PZ0
|
ResultList<PracticedPlot> getFilteredPracticedPlots(PracticedPlotFilter filter)
ResultList<PracticedPlotDto> getFilteredPracticedPlotsDto(PracticedPlotFilter filter)
filter - filter por practiced plotPracticedPlot getPracticedPlot(String practicedPlotTopiaId)
practicedPlotTopiaId - the id of requested practiced plot, if null a new instance is createdPracticedPlot createOrUpdatePracticedPlot(PracticedPlot practicedPlot, String practicedSystemTopiaId, String locationTopiaId, String selectedSurfaceTextureId, String selectedSubSoilTextureId, String selectedSolDepthId, List<String> selectedPlotZoningIds, List<SolHorizonDto> solHorizons, List<String> adjacentElementIds)
practicedPlot - the practiced plot to create or update, it must have the following attributes not null: name, waterFlowDistance, bufferStrip, maxSlopepracticedSystemTopiaId - the id of the practiced system related to the practiced plot (can not be null)locationTopiaId - the id of location (can not be null)selectedSurfaceTextureId - the related surface textureselectedSubSoilTextureId - the related sub surface textureselectedSolDepthId - the sol depth idselectedPlotZoningIds - the ids of related zones (can not be null)solHorizons - the sol horizon idsadjacentElementIds - the adjacent elements idsList<PracticedSystem> getPracticedSystemsWithoutPracticedPlot(NavigationContext navigationContext)
navigationContext - the navigation contextvoid importPZ0PracticedPlots(Map<Class,ImportResults> allResults)
allResults - contain valid practiced plotsCopyright © 2013–2015 Inra. All rights reserved.