public class ManagementModesEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<ManagementModeCategory> |
availableManagementModeCategories |
protected List<BioAgressorType> |
bioAgressorTypes
Type de bio agresseurs.
|
protected List<CroppingPlanEntry> |
croppingPlanEntries
Liste des cultures associées au système de culture sélectionné.
|
protected static String |
DATE_FORMAT |
protected Collection<DecisionRule> |
decisionRules
Liste des regles associés au système de culture sélectionné.
|
protected String |
domainTopiaId
Domain id (of selected growing system).
|
protected List<GrowingSystem> |
growingSystems
Growing system list (only for edit mode).
|
protected GrowingSystemService |
growingSystemService |
protected String |
growingSystemTopiaId
Growing system id (edit mode).
|
protected List<String> |
histories |
protected static int |
HISTORY_SIZE_LIMIT |
protected ManagementMode |
managementMode
Management mode entity to edit.
|
protected ManagementModeService |
managementModeService |
protected String |
managementModeTopiaId
Management mode id to edit.
|
protected ReferentialService |
referentialService |
protected List<ManagementMode> |
relatedManagementModes |
protected List<SectionDto> |
sections
Current management mode sections.
|
applicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
ManagementModesEdit() |
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 static final String DATE_FORMAT
protected static final int HISTORY_SIZE_LIMIT
protected transient ManagementModeService managementModeService
protected transient GrowingSystemService growingSystemService
protected transient ReferentialService referentialService
protected String managementModeTopiaId
protected ManagementMode managementMode
protected List<GrowingSystem> growingSystems
protected String domainTopiaId
protected String growingSystemTopiaId
protected List<SectionDto> sections
protected List<BioAgressorType> bioAgressorTypes
protected List<CroppingPlanEntry> croppingPlanEntries
protected Collection<DecisionRule> decisionRules
protected List<ManagementMode> relatedManagementModes
protected List<ManagementModeCategory> availableManagementModeCategories
public void setManagementModeService(ManagementModeService managementModeService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setReferentialService(ReferentialService referentialService)
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 AbstractAgrosystActionprotected void translateHistorical()
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 getManagementModeTopiaId()
public void setManagementModeTopiaId(String managementModeTopiaId)
public String getGrowingSystemTopiaId()
public void setGrowingSystemTopiaId(String growingSystemTopiaId)
public String getDomainTopiaId()
public List<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 Map<BioAgressorType,String> getBioAgressorTypes()
public List<SectionDto> getSections()
public void setSections(String json)
public List<CroppingPlanEntry> getCroppingPlanEntries()
public Collection<DecisionRule> getDecisionRules()
public List<ManagementModeCategory> getAvailableManagementModeCategories()
public List<ManagementMode> getRelatedManagementModes()
public ManagementModeCategory[] getCategories()
public Map<AgrosystInterventionType,String> getAgrosystInterventionTypes()
public int getHistorySizeLimit()
Copyright © 2013–2014 Inra. All rights reserved.