public class PracticedSystemsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PracticedSystemsEdit() |
getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isWarningNotificationsEmpty, readNavigationContextCookie, setConfig, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, verifyAndSaveNavigationContext, writeNavigationContextCookieaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected PracticedSystemService practicedSystemService
protected GrowingSystemService growingSystemService
protected PracticedCropCycleService practicedCropCycleService
protected ReferentielService referentielService
protected String practicedSystemId
protected PracticedSystem practicedSystem
protected List<GrowingSystem> growingSystems
protected String growingSystemId
protected List<CropCycleModelDto> croppingPlanEntryDtos
protected List<PracticedPerennialCropCycleDto> practicedPerennialCropCycleDtos
protected List<Intervention> interventions
protected List<RefOrientationEDI> refOrientationEDIs
protected List<RefActionAgrosystTravailEDI> refActionAgrosystTravailEDIs
protected List<PracticedSeasonalCropCycleDto> practicedSeasonalCropCycleDtos
protected List<ToolsCouplingDto> toolsCouplingsDtos
protected Map<String,List<CroppingPlanSpeciesDto>> growingSystemsCodeToSpecies
protected List<CropCycleModelDto> seasonalGraphMainCrops
protected List<CropCycleModelDto> seasonalGraphMainIntermediateCrops
public void setPracticedSystemService(PracticedSystemService practicedSystemService)
public void setPracticedCropCycleService(PracticedCropCycleService practicedCropCycleService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setReferentielService(ReferentielService referentielService)
public PracticedSystem getPracticedSystem()
public void prepare()
prepare in interface com.opensymphony.xwork2.Preparablepublic String input()
input in class com.opensymphony.xwork2.ActionSupportprotected void practicedPerennialCyclesInput(List<PracticedPerennialCropCycle> practicedPerennialCropCycles)
protected void practicedSeasonalCyclesInput(List<PracticedSeasonalCropCycle> practicedSeasonalCropCycles)
protected void initForInput()
initForInput in class AbstractAgrosystActionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportprotected void practicedPerennialCycleValidate()
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected List<PracticedPerennialCropCycle> convertPracticedPerennialCycles() throws Exception
Exceptionprotected void convertCropCyclePerennialSpeciesDto(PracticedPerennialCropCycleDto cycleDto, PracticedPerennialCropCycle cycle)
protected void convertCropCyclePhaseDto(PracticedPerennialCropCycleDto cycleDto, PracticedPerennialCropCycle cycle)
protected void convertInterventionDto(CropCyclePhaseDto cropCyclePhaseDto, CropCyclePhase phase)
protected void convertActionDto(InterventionDto interventionDto, Intervention intervention, Map<String,RefActionAgrosystTravailEDI> refActionAgrosystTravailEdis)
protected List<CropCyclePhaseDto> convertCropCyclePhases(PracticedPerennialCropCycle cycle)
public List<GrowingSystem> getGrowingSystems()
public String getGrowingSystemsJson()
public void setPracticedSystemTopiaId(String practicedSystemTopiaId)
public void setGrowingSystemId(String growingSystemId)
public Map<PracticedSystemSource,String> getSources()
public List<RefOrientationEDI> getRefOrientationEDIs()
public String getRefOrientationEDIsJson()
public void setPracticedSystemId(String practicedSystemId)
public String getPracticedSystemId()
public List<CropCycleModelDto> getCroppingPlanEntryDtos()
public String getCroppingPlanEntryDtosJson()
public Map<VineFrutalForm,String> getVineFrutalForms()
public Map<OrchardFrutalForm,String> getOrchardFrutalForms()
public Map<PollinatorType,String> getPollinatorTypes()
public Map<PollinatorSpreadMode,String> getPollinatorSpreadModes()
public Map<CropCyclePhaseType,String> getCropCyclePhaseTypes()
public String getCampaigns()
public String getGrowingSystemIdJson()
public Map<ActionType,String> getActionTypes()
public void setPracticedPerennialCropCycleDtosJson(String json)
public void setPracticedSeasonalCropCycleDtosJson(String json)
public List<PracticedPerennialCropCycleDto> getPracticedPerennialCropCycleDtos()
public String getRefActionAgrosystTravailEDIsJson()
public Map<String,List<CroppingPlanSpeciesDto>> getGrowingSystemsCodeToSpecies()
public List<CropCycleModelDto> getSeasonalGraphMainCrops()
public List<CropCycleModelDto> getSeasonalGraphMainIntermediateCrops()
public List<PracticedSeasonalCropCycleDto> getPracticedSeasonalCropCycleDtos()
public List<ToolsCouplingDto> getToolsCouplings()
Copyright © 2013 Inra. All rights reserved.