public class DomainsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
DomainsEdit() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setAttachmentService, 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 ACTION_EDIT_PLOT
protected static final String ACTION_DUPLICATE_PLOT
protected static final String ACTION_EMPTY_PLOT
protected static final com.google.common.base.Predicate<RefInterventionAgrosystTravailEDI> IS_NOT_PERSITED
protected ReferentielService referentielService
protected DomainService domainService
protected PlotService plotService
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 AgrosystInterventionType agrosystInterventionType
protected Integer otex18
protected Integer otex70
protected List<WeatherStationDto> weatherStationDtos
protected List<RefStationMeteo> allRefStationMeteo
protected Collection<RefInterventionAgrosystTravailEDI> actionsEDIs
protected AgrosystValidationState validationState
public void setReferentielService(ReferentielService referentielService)
public void setDomainService(DomainService domainService)
public void setPlotService(PlotService plotService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic Domain getDomain()
protected void initForInput()
initForInput in class AbstractAgrosystActionprotected AgrosystValidationState computeValidationState()
public 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()
protected void propagateToolsCouplingChanges()
protected void propagateSolChanges()
public Map<DomainType,String> getTypes()
public Map<AgrosystInterventionType,String> getDomainAgrosystInterventionTypes()
public String getAgrosystInterventionTypes()
public Map<Zoning,String> getZoningValues()
public void setLocationTopiaId(String locationTopiaId)
public String getDepartement()
public String getFormatedDepartement()
public String getPetiteRegionAgricole()
public String getPetiteRegionAgricoleName()
public String getFormatedPetiteRegionAgricoleName()
public List<GPSDataDto> getGpsDataDtos()
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 List<RefStationMeteo> getAllRefStationMeteo()
public String getLocationTopiaId()
public List<MaterielDto> getDomainMaterielDtos()
public void setDomainMaterielDtosJson(String json)
public List<ToolsCouplingDto> getToolsCouplingDtos()
public void setToolsCouplingDtosJson(String json)
public Map<MaterielType,List<String>> getMaterielType1List()
public void setSolDtosJson(String json)
public List<CroppingPlanEntryDto> getCroppingPlan()
public void setCroppingPlanJson(String json)
public Integer getOtex18()
public void setOtex18(Integer otex18)
public void setOtex70(Integer otex70)
public List<WeatherStationDto> getWeatherStations()
public void setWeatherStationsJson(String json)
public Map<AgrosystInterventionType,String> getAgrosystInterventionType()
public Collection<RefInterventionAgrosystTravailEDI> getActionsEDIs()
public AgrosystValidationState getValidationState()
Copyright © 2013 Inra. All rights reserved.