public class GrowingPlansEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
domainId |
protected Set<Domain> |
domains |
protected DomainService |
domainService |
protected GrowingPlan |
growingPlan |
protected GrowingPlanService |
growingPlanService |
protected String |
growingPlanTopiaId |
protected List<GrowingPlan> |
relatedGrowingPlans |
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GrowingPlansEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getDomainId() |
Collection<Domain> |
getDomains() |
GrowingPlan |
getGrowingPlan() |
List<GrowingPlan> |
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, getRichNavigationContext, getSession, getWarningNotifications, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isWarningNotificationsEmpty, readNavigationContextCookie, setConfig, setNavigationContextService, 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 List<GrowingPlan> relatedGrowingPlans
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 List<GrowingPlan> getRelatedGrowingPlans()
Copyright © 2013 Inra. All rights reserved.