public class GrowingSystemsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingSystemsEdit() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, removeValuesFromMap, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, 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 List<RefTypeAgriculture> typeAgricultures
protected String typeAgricultureTopiaId
protected ReferentialService referentialService
protected List<RefTraitSdC> growingSystemCharacteristics
protected List<String> growingSystemCharacteristicIds
protected List<PracticedSystem> practicedSystems
protected List<ManagementMode> managementModes
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 setReferentialService(ReferentialService referentialService)
public void setGrowingSystemCharacteristicIds(List<String> growingSystemCharacteristicIds)
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 Map<CategoryStrategy,String> getCategoryStrategies()
public LinkedHashMap<Integer,String> getRelatedGrowingSystems()
public void setGrowingSystemNetworkIdsJson(String json)
public AgrosystValidationState getValidationState()
public List<RefTypeAgriculture> getTypeAgricultures()
public String getTypeAgricultureTopiaId()
public void setTypeAgricultureTopiaId(String typeAgricultureTopiaId)
public List<PracticedSystem> getPracticedSystems()
public List<ManagementMode> getManagementModes()
public List<RefTraitSdC> getGrowingSystemCharacteristics()
public Map<GrowingSystemCharacteristicType,String> getGrowingSystemCharacteristicTypes()
Copyright © 2013–2014 Inra. All rights reserved.