public class PracticedSystemsEdit extends AbstractItkAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected Map<AgrosystInterventionType,List<String>> |
actaTreatmentProductTypes |
protected List<RefInterventionAgrosystTravailEDI> |
agrosystActionsFullList |
protected String |
campaigns
La liste des campaignes.
|
protected String |
domainCode
Code du domaine
|
protected List<GrowingSystem> |
growingSystems
La liste de systeme de culture auquel peut être ratachés le SP (en creation).
|
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId
Le systeme de culture sélectionné.
|
protected List<MineralProductType> |
mineralProductTypes |
protected List<RefFertiOrga> |
organicProductTypes |
protected List<PracticedPerennialCropCycleDto> |
practicedPerennialCropCycleDtos |
protected List<PracticedSeasonalCropCycleDto> |
practicedSeasonalCropCycleDtos
Liste des cycles pluriannuels assolé.
|
protected PracticedSystem |
practicedSystem
L'instance du systeme synthétisé en cours d'edition.
|
protected Map<String,List<CroppingPlanSpeciesDto>> |
practicedSystemCroppingPlanEntryCodesToSpecies
Contient une map <culture, List<Species>> pour toutes les cultures des systemes de cultures
concernés sur les campagnes du systeme synthétisé.
|
protected String |
practicedSystemId
L'id du systeme synthétisé en cours d'edition.
|
protected List<CropCycleModelDto> |
practicedSystemIntermediateCropCycleModels
Les cultures intermédiaires disponible dans le graphique.
|
protected List<CropCycleModelDto> |
practicedSystemMainCropCycleModels
Les cultures principales disponibles dans le graphique.
|
protected PracticedSystemService |
practicedSystemService |
protected List<Price> |
prices |
protected List<RefOrientationEDI> |
refOrientationEDIs |
referentialServiceapplicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PracticedSystemsEdit() |
getActaTreatmentProductTypes, getAgrosystActionsFullList, getCapacityUnits, getFertiOrgaUnits, getInputTypesLabels, getMineralProductTypes, getMineralProductUnits, getOrganicProductTypes, getOrganicProductUnits, getPhytoProductUnits, getSeedPlantUnits, getSeedTypes, getTreatmentTargetCategories, getYealdCategories, getYealdUnits, setReferentialServicegetAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getSessionId, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, 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 transient PracticedSystemService practicedSystemService
protected transient GrowingSystemService growingSystemService
protected String practicedSystemId
protected PracticedSystem practicedSystem
protected String domainCode
protected List<GrowingSystem> growingSystems
protected String growingSystemTopiaId
protected String campaigns
protected List<PracticedPerennialCropCycleDto> practicedPerennialCropCycleDtos
protected List<RefOrientationEDI> refOrientationEDIs
protected List<RefInterventionAgrosystTravailEDI> agrosystActionsFullList
protected List<MineralProductType> mineralProductTypes
protected List<RefFertiOrga> organicProductTypes
protected Map<AgrosystInterventionType,List<String>> actaTreatmentProductTypes
protected List<PracticedSeasonalCropCycleDto> practicedSeasonalCropCycleDtos
protected Map<String,List<CroppingPlanSpeciesDto>> practicedSystemCroppingPlanEntryCodesToSpecies
protected List<CropCycleModelDto> practicedSystemMainCropCycleModels
protected List<CropCycleModelDto> practicedSystemIntermediateCropCycleModels
public void setPracticedSystemService(PracticedSystemService practicedSystemService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public PracticedSystem getPracticedSystem()
public void prepare()
prepare in interface com.opensymphony.xwork2.Preparablepublic String input()
input in class com.opensymphony.xwork2.ActionSupportprotected void populateSeasonalCropCycles(List<PracticedSeasonalCropCycleDto> practicedSeasonalCropCycleDtos)
protected void initForInput()
initForInput in class AbstractItkActionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportprotected void practicedSeasonalCropCycleValidate(List<String> requiredCropcycleCode)
protected void practicedPerennialCycleValidate(List<String> requiredCropcycleCode)
protected void validatePracticedIntervention(List<PracticedInterventionDto> interventionDtos)
protected void validateActions(Collection<AbstractAction> actions)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected void removeEmptySeasonalCropCycle()
public List<GrowingSystem> getGrowingSystems()
public String getGrowingSystemsJson()
public void setPracticedSystemTopiaId(String practicedSystemTopiaId)
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public Map<PracticedSystemSource,String> getSources()
public List<RefOrientationEDI> getRefOrientationEDIs()
public void setPracticedSystemId(String practicedSystemId)
public String getPracticedSystemId()
public Map<VineFrutalForm,String> getVineFrutalForms()
public Map<OrchardFrutalForm,String> getOrchardFrutalForms()
public Map<PollinatorSpreadMode,String> getPollinatorSpreadModes()
public Map<CropCyclePhaseType,String> getPerennialPhaseTypes()
public String getCampaigns()
public Map<AgrosystInterventionType,String> getAgrosystInterventionTypes()
public void setPracticedPerennialCropCycleDtosJson(String json)
public void setPracticedSeasonalCropCycleDtosJson(String json)
public List<PracticedPerennialCropCycleDto> getPracticedPerennialCropCycleDtos()
public List<PracticedSeasonalCropCycleDto> getPracticedSeasonalCropCycleDtos()
public Map<String,List<CroppingPlanSpeciesDto>> getPracticedSystemCroppingPlanEntryCodesToSpecies()
public List<CropCycleModelDto> getPracticedSystemMainCropCycleModels()
public List<CropCycleModelDto> getPracticedSystemIntermediateCropCycleModels()
public void setPricesJson(String json)
public String getDomainCode()
Copyright © 2013–2014 Inra. All rights reserved.