public class PerformancesEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
domainIds
Liste des id de domaines sélectionés.
|
protected Set<DomainDto> |
domains
Liste des domaines sélectionnable.
|
protected DomainService |
domainService |
protected EffectiveCropCycleService |
effectiveCropCycleService |
protected List<String> |
growingSystemIds
Liste des id de système de culture sélectionnés.
|
protected Set<GrowingSystemDto> |
growingSystems
Liste des systèmes de culture sélectionnables.
|
protected GrowingSystemService |
growingSystemService |
protected Performance |
performance
Performance en cours d'edition.
|
protected PerformanceService |
performanceService |
protected String |
performanceTopiaId
Id de la performance a editer.
|
protected List<String> |
plotIds
Liste des id de parcelle sélectionnées.
|
protected Set<PlotDto> |
plots
Liste des parcelles sélectionnable.
|
protected PlotService |
plotService |
protected boolean |
practiced
Flag used to use interface for practiced or not.
|
protected List<String> |
zoneIds
Liste des id de zones sélectionnées.
|
protected Set<ZoneDto> |
zones
Liste des zones sélectionnable.
|
applicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PerformancesEdit() |
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 transient PerformanceService performanceService
protected transient GrowingSystemService growingSystemService
protected transient DomainService domainService
protected transient PlotService plotService
protected transient EffectiveCropCycleService effectiveCropCycleService
protected Performance performance
protected String performanceTopiaId
protected Set<GrowingSystemDto> growingSystems
protected List<String> growingSystemIds
protected boolean practiced
public void setPerformanceService(PerformanceService performanceService)
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setDomainService(DomainService domainService)
public void setPlotService(PlotService plotService)
public void setEffectiveCropCycleService(EffectiveCropCycleService effectiveCropCycleService)
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 Set<GrowingSystemDto> getGrowingSystems()
Copyright © 2013–2015 Inra. All rights reserved.