public class ManagementModesEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
bioAgressorTypes
Type de bio agresseurs.
|
protected List<CroppingPlanEntry> |
croppingPlanEntries
Liste des cultures associées au système de culture sélectionné.
|
protected List<DecisionRule> |
decisionRules
Liste des regles associés au système de culture sélectionné.
|
protected Set<GrowingSystem> |
growingSystems
Growing system list (only for edit mode).
|
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId
Growing system id (edit mode).
|
protected ManagementMode |
managementMode
Management mode entity to edit.
|
protected ManagementModeService |
managementModeService |
protected String |
managementModeTopiaId
Management mode id to edit.
|
protected List<SectionDto> |
sections
Current management mode sections.
|
authorizationService, config, currentUserAnAdmin, gson, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
ManagementModesEdit() |
getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, 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 ManagementModeService managementModeService
protected GrowingSystemService growingSystemService
protected String managementModeTopiaId
protected ManagementMode managementMode
protected Set<GrowingSystem> growingSystems
protected String growingSystemTopiaId
protected List<SectionDto> sections
protected List<CroppingPlanEntry> croppingPlanEntries
protected List<DecisionRule> decisionRules
public void setManagementModeService(ManagementModeService managementModeService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public ManagementMode getManagementMode()
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic 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 getManagementModeTopiaId()
public void setManagementModeTopiaId(String managementModeTopiaId)
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public Set<GrowingSystem> getGrowingSystems()
public Map<ManagementModeCategory,String> getManagementModeCategories()
public Map<SectionType,String> getSectionTypes()
public Map<CategoryObjective,String> getCategoryObjectives()
public Map<CategoryStrategy,String> getCategoryStrategies()
public Map<StrategyType,String> getStrategyTypes()
public List<SectionDto> getSections()
public void setSections(String json)
public List<CroppingPlanEntry> getCroppingPlanEntries()
public List<DecisionRule> getDecisionRules()
Copyright © 2013 Inra. All rights reserved.