public class GrowingSystemsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<Plot> |
availablePlots |
protected GrowingPlan |
growingPlan |
protected Set<GrowingPlan> |
growingPlans |
protected GrowingPlanService |
growingPlanService |
protected String |
growingPlanTopiaId |
protected GrowingSystem |
growingSystem
Edited instance.
|
protected List<String> |
growingSystemNetworkIds |
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId |
protected static String |
INCOHERENT_STARTING_AND_ENDING_DATES |
protected NetworkService |
networkService |
protected static String |
PERCENT_FIELD |
protected PlotService |
plotService |
protected LinkedHashMap<Integer,String> |
relatedGrowingSystems
To display timeline.
|
protected static String |
REQUIRED_FIELD |
protected List<String> |
selectedPlotsIds |
protected AgrosystValidationState |
validationState |
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingSystemsEdit() |
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 GrowingSystemService growingSystemService
protected String growingSystemTopiaId
protected GrowingSystem growingSystem
protected LinkedHashMap<Integer,String> relatedGrowingSystems
protected PlotService plotService
protected NetworkService networkService
protected GrowingPlanService growingPlanService
protected Set<GrowingPlan> growingPlans
protected GrowingPlan growingPlan
protected String growingPlanTopiaId
protected AgrosystValidationState validationState
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 setGrowingPlanService(GrowingPlanService growingPlanService)
public void setNetworkService(NetworkService networkService)
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 AbstractAgrosystActionprotected AgrosystValidationState computeValidationState()
public 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 getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public String getGrowingPlanTopiaId()
public void setGrowingPlanTopiaId(String growingPlanTopiaId)
public Collection<GrowingPlan> getGrowingPlans()
public LinkedHashMap<Integer,String> getRelatedGrowingSystems()
public void setGrowingSystemNetworkIdsJson(String json)
public AgrosystValidationState getValidationState()
Copyright © 2013 Inra. All rights reserved.