public class GrowingSystemsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
domainId |
protected GrowingPlan |
growingPlan |
protected Set<GrowingPlan> |
growingPlans |
protected GrowingPlanService |
growingPlanService |
protected String |
growingPlanTopiaId |
protected GrowingSystem |
growingSystem |
protected List<String> |
growingSystemNetworkIds |
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId |
protected static String |
INCOHERENT_STARTING_AND_ENDING_DATES |
protected List<Network> |
networks |
protected NetworkService |
networkService |
protected static String |
PERCENT_FIELD |
protected Set<Plot> |
plots |
protected PlotService |
plotService |
protected List<GrowingSystem> |
relatedGrowingSystems |
protected static String |
REQUIRED_FIELD |
protected List<String> |
selectedPlotsIds |
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingSystemsEdit() |
getConfig, getEnumAsMap, getGson, getNavigationContext, getRichNavigationContext, getSession, 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 String growingSystemTopiaId
protected String domainId
protected GrowingSystem growingSystem
protected List<GrowingSystem> relatedGrowingSystems
protected GrowingSystemService growingSystemService
protected PlotService plotService
protected NetworkService networkService
protected GrowingPlanService growingPlanService
protected Set<GrowingPlan> growingPlans
protected GrowingPlan growingPlan
protected String growingPlanTopiaId
protected static final String REQUIRED_FIELD
protected static final String PERCENT_FIELD
protected static final String INCOHERENT_STARTING_AND_ENDING_DATES
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setPlotService(PlotService plotService)
public void setNetworkService(NetworkService networkService)
public void setGrowingPlanService(GrowingPlanService growingPlanService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic GrowingSystem getGrowingSystem()
public String input() throws Exception
input in class com.opensymphony.xwork2.ActionSupportExceptionprotected void initForInput()
initForInput in class AbstractAgrosystActionpublic 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 String getStartingDateFormatted()
public String getEndingDateFormatted()
public void setGrowingSystem(GrowingSystem growingSystem)
public String getSelectedPlotsIdsJson()
public String getGrowingSystemJson()
public String getGrowingPlansJson()
public String getActivePlotsJson()
public String getPlotsJson()
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public void setDomainId(String domainId)
public String getGrowingPlanTopiaId()
public void setGrowingPlanTopiaId(String growingPlanTopiaId)
public Collection<GrowingPlan> getGrowingPlans()
public List<GrowingSystem> getRelatedGrowingSystems()
public String getNetworksJson()
public void setGrowingSystemNetworkIdsJson(String json)
Copyright © 2013 Inra. All rights reserved.