public class PracticedSystemsEdit extends AbstractItkAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<RefInterventionAgrosystTravailEDI> |
agrosystActionsFullList |
protected String |
campaigns
La liste des campaignes.
|
protected String |
defaultGrowingSystemId
Identifiant du premier système de culture parmis la liste des système de culture/
Utilisé lors de la créaction d'un système synthétisé pour le binding angular
|
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 Map |
indexedOtherObjectPrices |
protected List<MineralProductType> |
mineralProductTypes |
protected List<RefFertiOrga> |
organicProductTypes |
protected List<PracticedPerennialCropCycleDto> |
practicedPerennialCropCycleDtos |
protected String |
practicedPerennialCropCycleDtosJson |
protected List<PracticedSeasonalCropCycleDto> |
practicedSeasonalCropCycleDtos
Liste des cycles pluriannuels assolé.
|
protected String |
practicedSeasonalCropCycleDtosJson |
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 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 String |
practicedSystemTopiaId
L'id du systeme synthétisé en cours d'edition.
|
protected List<Price> |
prices |
protected String |
pricesJson |
protected List<RefOrientationEDI> |
refOrientationEDIs |
actaTreatmentProductTypes, referentialServiceapplicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, 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, setReferentialService, validActions, validInputsgetAttachmentCount, getBroadcastMessages, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getIsBroadcastMessagesEmpty, getIsFirstTimeMessageRead, getLayoutData, getNavigationContext, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setMessageService, 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 practicedSystemTopiaId
protected PracticedSystem practicedSystem
protected String domainCode
protected List<GrowingSystem> growingSystems
protected String growingSystemTopiaId
protected String defaultGrowingSystemId
protected String campaigns
protected List<PracticedPerennialCropCycleDto> practicedPerennialCropCycleDtos
protected String practicedPerennialCropCycleDtosJson
protected List<RefOrientationEDI> refOrientationEDIs
protected List<RefInterventionAgrosystTravailEDI> agrosystActionsFullList
protected List<MineralProductType> mineralProductTypes
protected List<RefFertiOrga> organicProductTypes
protected List<PracticedSeasonalCropCycleDto> practicedSeasonalCropCycleDtos
protected String practicedSeasonalCropCycleDtosJson
protected Map<String,List<CroppingPlanSpeciesDto>> practicedSystemCroppingPlanEntryCodesToSpecies
protected List<CropCycleModelDto> practicedSystemMainCropCycleModels
protected List<CropCycleModelDto> practicedSystemIntermediateCropCycleModels
protected String pricesJson
protected Map indexedOtherObjectPrices
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 loadPrices()
protected void loadPersistedCycles()
protected void checkRights()
protected List<PracticedSeasonalCropCycleDto> loadPersistedSeasonalCycles()
protected List<PracticedPerennialCropCycleDto> loadPersistedPerennialCycles()
protected 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)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected void removeEmptySeasonalCropCycle()
protected List<PracticedPerennialCropCycleDto> convertPracticedPerennialCropCycleDtosJson(String json)
protected List<PracticedSeasonalCropCycleDto> convertPracticedSeasonalCropCycleDtosJson(String json)
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 String getPracticedSystemTopiaId()
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()
public Map getIndexedOtherObjectPrices()
public Map<MaterielWorkRateUnit,String> getMaterielWorkRateUnits()
public Map<MaterielTransportUnit,String> getMaterielTransportUnits()
public String getDefaultGrowingSystemId()
Copyright © 2013–2015 Inra. All rights reserved.