public class DomainsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
authorizationService, config, currentUserAnAdmin, gson, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
DomainsEdit() |
getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setAuthorizationService, setConfig, setNavigationContextService, setNextActionName, setNextParamValue, 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 static final String ACTIONEDITPLOT
protected static final String ACTIONEMPTYPLOT
protected ReferentielService referentielService
protected DomainService domainService
protected PlotService plotService
protected AttachmentService attachmentService
protected Domain domain
protected LinkedHashMap<Integer,String> relatedDomains
protected List<GPSDataDto> gpsDataDtos
protected String domainTopiaId
protected String commune
protected String legalStatusId
protected List<RefLegalStatus> allRefLegalStatus
protected RefLocation location
protected String departement
protected String petiteRegionAgricole
protected String petiteRegionAgricoleName
protected String locationTopiaId
protected List<MaterielDto> domainMaterielDtos
protected List<ToolsCouplingDto> toolsCouplingDtos
protected Map<MaterielType,List<String>> materielType1List
protected List<CroppingPlanEntryDto> croppingPlan
protected InterventionType selectedInterventionType
protected Integer otex18
protected Integer otex70
protected List<WeatherStationDto> weatherStationDtos
protected List<RefStationMeteo> allRefStationMeteo
protected long attachments
public void setReferentielService(ReferentielService referentielService)
public void setDomainService(DomainService domainService)
public void setPlotService(PlotService plotService)
public void setAttachmentService(AttachmentService attachmentService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic Domain getDomain()
protected void initForInput()
initForInput in class AbstractAgrosystActionpublic String input() throws Exception
input in class com.opensymphony.xwork2.ActionSupportExceptionpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected void propagateGpsDatasChanges()
protected void propagateGpsDataChanges(GPSData entity, GPSDataDto dto)
entity - the gpsDatadto - the gpsDataDtoprotected void propagateWeatherStationsChanges()
Domain.getWeatherStations().protected void propagateMaterielChanges()
Exceptionprotected void propagateToolsCouplingChanges()
protected void propagateSolChanges()
public Map<DomainType,String> getTypes()
public Map<InterventionType,String> getDomainInterventionTypes()
public String getInterventionTypes()
public Map<Zoning,String> getZoningValues()
public void setLocationTopiaId(String locationTopiaId)
public String getDepartement()
public String getFormatedDepartement()
public String getFormatedDepartementJson()
public String getPetiteRegionAgricole()
public String getPetiteRegionAgricoleName()
public String getFormatedPetiteRegionAgricoleName()
public String getFormatedPetiteRegionAgricoleNameJson()
public String getGpsDataDtosJson()
public void setGpsDataDtosJson(String gpsDataDtos)
public void setDomainTopiaId(String domainTopiaId)
public String getCommune()
public void setCommune(String commune)
public String getLegalStatusId()
public void setLegalStatusId(String legalStatusId)
public List<RefLegalStatus> getAllRefLegalStatus()
public String getAllRefLegalStatusJson()
public List<RefStationMeteo> getAllRefStationMeteo()
public String getLocationTopiaId()
public String getDomainMaterielDtosJson()
public void setDomainMaterielDtosJson(String json)
public String getToolsCouplingDtosJson()
public void setToolsCouplingDtosJson(String json)
public String getMaterielType1ListJson()
public String getSolDtosJson()
public void setSolDtosJson(String json)
public List<CroppingPlanEntryDto> getCroppingPlan()
public void setCroppingPlanJson(String json)
public void setSelectedInterventionType(InterventionType selectedInterventionType)
public Integer getOtex18()
public void setOtex18(Integer otex18)
public void setOtex70(Integer otex70)
public String getWeatherStationsJson()
public void setWeatherStationsJson(String json)
public long getAttachments()
public void setAttachments(long attachments)
Copyright © 2013 Inra. All rights reserved.