public class DecisionRulesEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends RefBioAgressor> |
bioAgressors
Sous ensemble de bioagresseur pour le
bioAgressorType sélectionné. |
protected String |
bioAgressorTopiaId
Selected bio agressor topiaId.
|
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 String |
croppingPlanEntryTopiaId
Selected cropping plan entry topia Id.
|
protected DecisionRule |
decisionRule
Decision rule entity to edit.
|
protected String |
decisionRuleCode
Code of the decision rule
|
protected String |
decisionRuleTopiaId
Decision rule id to edit.
|
protected Set<GrowingSystem> |
growingSystems
Growing system list (only for edit mode).
|
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId
Growing system id (edit mode).
|
protected ManagementModeService |
managementModeService |
protected boolean |
newVersion |
protected LinkedHashMap<Integer,String> |
relatedDecisionRules
Related Decision Rules
|
authorizationService, config, currentUserAnAdmin, gson, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
DecisionRulesEdit() |
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 decisionRuleTopiaId
protected DecisionRule decisionRule
protected Set<GrowingSystem> growingSystems
protected String growingSystemTopiaId
protected List<CroppingPlanEntry> croppingPlanEntries
protected String croppingPlanEntryTopiaId
protected List<? extends RefBioAgressor> bioAgressors
bioAgressorType sélectionné.protected String bioAgressorTopiaId
protected String decisionRuleCode
protected boolean newVersion
protected LinkedHashMap<Integer,String> relatedDecisionRules
public void setManagementModeService(ManagementModeService managementModeService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public DecisionRule getDecisionRule()
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 Map<InterventionType,String> getInterventionTypes()
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public Set<GrowingSystem> getGrowingSystems()
public String getCroppingPlanEntryTopiaId()
public void setCroppingPlanEntryTopiaId(String croppingPlanEntryTopiaId)
public void setDecisionRuleTopiaId(String decisionRuleTopiaId)
public String getDecisionRuleTopiaId()
public List<? extends RefBioAgressor> getBioAgressors()
public List<CroppingPlanEntry> getCroppingPlanEntries()
public String getBioAgressorTopiaId()
public void setBioAgressorTopiaId(String bioAgressorTopiaId)
public void setNewVersion(boolean newVersion)
public void setDecisionRuleCode(String decisionRuleCode)
Copyright © 2013 Inra. All rights reserved.