public class GrowingSystemsEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
applicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingSystemsEdit() |
getAttachmentCount, getBroadcastMessages, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getIsBroadcastMessagesEmpty, getIsFirstTimeMessageRead, getLayoutData, getNavigationContext, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setMessageService, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, 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 transient DomainService domainService
protected transient GrowingSystemService growingSystemService
protected transient PlotService plotService
protected transient NetworkService networkService
protected transient GrowingPlanService growingPlanService
protected transient ReferentialService referentialService
protected String growingSystemTopiaId
protected GrowingSystem growingSystem
protected double domainSAUArea
protected LinkedHashMap<Integer,String> relatedGrowingSystems
protected Set<GrowingPlan> growingPlans
protected GrowingPlan growingPlan
protected String growingPlanTopiaId
protected List<RefTypeAgriculture> typeAgricultures
protected String typeAgricultureTopiaId
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 setDomainService(DomainService domainService)
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 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 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 setGrowingSystemNetworkIds(List<String> growingSystemNetworkIds)
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()
public double getDomainSAUArea()
public void setGrowingSystemStartingDate(Date date)
public void setGrowingSystemEndingDate(Date date)
Copyright © 2013–2015 Inra. All rights reserved.