public class GrowingPlansEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
domainId |
protected LinkedHashSet<Domain> |
domains |
protected DomainService |
domainService |
protected GrowingPlan |
growingPlan |
protected GrowingPlanService |
growingPlanService |
protected String |
growingPlanTopiaId |
protected LinkedHashMap<Integer,String> |
relatedGrowingPlans |
authorizationService, config, currentUserAnAdmin, gson, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingPlansEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getDomainId() |
Collection<Domain> |
getDomains() |
GrowingPlan |
getGrowingPlan() |
LinkedHashMap<Integer,String> |
getRelatedGrowingPlans() |
Map<TypeDEPHY,String> |
getTypesDephy()
Get all the type that a a domain could be.
|
protected void |
initForInput() |
String |
input() |
void |
prepare() |
void |
setDomainId(String domainId) |
void |
setDomainService(DomainService domainService) |
void |
setGrowingPlanService(GrowingPlanService growingPlanService) |
void |
setGrowingPlanTopiaId(String growingPlanTopiaId) |
void |
validate() |
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 DomainService domainService
protected GrowingPlanService growingPlanService
protected String growingPlanTopiaId
protected GrowingPlan growingPlan
protected LinkedHashMap<Integer,String> relatedGrowingPlans
protected LinkedHashSet<Domain> domains
protected String domainId
public void setDomainService(DomainService domainService)
public void setGrowingPlanService(GrowingPlanService growingPlanService)
public void setGrowingPlanTopiaId(String growingPlanTopiaId)
public GrowingPlan getGrowingPlan()
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 void setDomainId(String domainId)
public String getDomainId()
public Collection<Domain> getDomains()
public Map<TypeDEPHY,String> getTypesDephy()
public LinkedHashMap<Integer,String> getRelatedGrowingPlans()
Copyright © 2013 Inra. All rights reserved.