public class PerformancesEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
domainIds |
protected List<Domain> |
domains |
protected DomainService |
domainService |
protected List<String> |
growingSystemIds |
protected List<GrowingSystem> |
growingSystems |
protected GrowingSystemService |
growingSystemService |
protected Performance |
performance |
protected PerformanceService |
performanceService |
protected String |
performanceTopiaId |
protected List<String> |
plotIds |
protected List<Plot> |
plots |
protected boolean |
practiced
Flag used to use interface for practiced or not.
|
protected List<String> |
zoneIds |
protected List<Zone> |
zones |
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PerformancesEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List<String> |
getDomainIds() |
List<Domain> |
getDomains() |
List<String> |
getGrowingSystemIds() |
List<GrowingSystem> |
getGrowingSystems() |
Performance |
getPerformance() |
String |
getPerformanceTopiaId() |
List<String> |
getPlotIds() |
List<Plot> |
getPlots() |
List<String> |
getZoneIds() |
List<Zone> |
getZones() |
protected void |
initForInput() |
String |
input() |
boolean |
isPracticed() |
void |
prepare() |
void |
setDomainIds(List<String> domainIds) |
void |
setDomainService(DomainService domainService) |
void |
setGrowingSystemIds(List<String> growingSystemIds) |
void |
setGrowingSystemService(GrowingSystemService growingSystemService) |
void |
setPerformanceService(PerformanceService performanceService) |
void |
setPerformanceTopiaId(String performanceTopiaId) |
void |
setPlotIds(List<String> plotIds) |
void |
setPracticed(boolean practiced) |
void |
setZoneIds(List<String> zoneIds) |
void |
validate() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, removeValuesFromMap, setAttachmentService, setAuthorizationService, 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 PerformanceService performanceService
protected GrowingSystemService growingSystemService
protected DomainService domainService
protected Performance performance
protected String performanceTopiaId
protected List<GrowingSystem> growingSystems
protected boolean practiced
public void setPerformanceService(PerformanceService performanceService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setDomainService(DomainService domainService)
public void setPerformanceTopiaId(String performanceTopiaId)
public String getPerformanceTopiaId()
public boolean isPracticed()
public void setPracticed(boolean practiced)
public Performance getPerformance()
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()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportpublic List<GrowingSystem> getGrowingSystems()
Copyright © 2013–2014 Inra. All rights reserved.