public class PlotsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
commune |
protected Domain |
domain |
protected Set<Domain> |
domains |
protected DomainService |
domainService |
protected String |
domainTopiaId |
protected GrowingSystem |
growingSystem |
protected Set<GrowingSystem> |
growingSystems |
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId |
protected String |
latitude |
protected RefLocation |
location |
protected String |
locationTopiaId |
protected String |
longitude |
protected Plot |
plot |
protected PlotService |
plotService |
protected String |
plotTopiaId |
config, gson, gsonBuilder, navigationContextService, parameters, servletRequest, servletResponse, session| Constructor and Description |
|---|
PlotsEdit() |
getConfig, getGson, getNavigationContext, getRichNavigationContext, getSession, initForInput, readNavigationContextCookie, setConfig, setNavigationContextService, 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 PlotService plotService
protected DomainService domainService
protected GrowingSystemService growingSystemService
protected String plotTopiaId
protected Plot plot
protected Set<GrowingSystem> growingSystems
protected GrowingSystem growingSystem
protected String growingSystemTopiaId
protected Domain domain
protected String locationTopiaId
protected String domainTopiaId
protected RefLocation location
protected String commune
protected String latitude
protected String longitude
public void setPlotService(PlotService plotService)
public void setDomainService(DomainService domainService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic 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.ActionSupportExceptionpublic Plot getPlot()
public GrowingSystem getGrowingSystem()
public String getGrowingSystemsJson()
public String getDomainJson()
public void setGrowingSystem(GrowingSystem growingSystem)
public MaxSlope[] getMaxSlopes()
public WaterFlowDistance[] getWaterFlowDistances()
public String getPlotTopiaId()
public void setPlotTopiaId(String plotTopiaId)
public void setPlot(Plot plot)
public Collection<Domain> getDomains()
public String getDomainsJson()
public String getCommune()
public void setCommune(String commune)
public void setLocationTopiaId(String locationTopiaId)
public String getLocationTopiaId()
public void setDomainTopiaId(String domainTopiaId)
public String getDomainTopiaId()
public String getLatitude()
public void setLatitude(String latitude)
public String getLongitude()
public void setLongitude(String longitude)
public Set<GrowingSystem> getGrowingSystems()
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
Copyright © 2013 Inra. All rights reserved.