public class PracticedSeasonalCropCycleEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<PracticedSystem> |
availablePracticedSystems |
protected Map<String,List<CroppingPlanSpeciesDto>> |
codeToSpecies |
protected List<CropCycleConnectionDto> |
connections |
protected PracticedSeasonalCropCycle |
cycle |
protected String |
cycleId |
protected static com.google.common.base.Predicate<CropCycleModelDto> |
IS_INTERMEDIATE |
protected static com.google.common.base.Predicate<CropCycleModelDto> |
IS_NOT_INTERMEDIATE |
protected List<CropCycleModelDto> |
model
Les cultures principales.
|
protected List<CropCycleModelDto> |
modelIntermediate
Les cultures intermédiaires.
|
protected List<CropCycleNodeDto> |
nodes |
protected PracticedCropCycleService |
practicedCropCycleService |
protected String |
practicedSystemId |
protected PracticedSystemService |
practicedSystemService |
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PracticedSeasonalCropCycleEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List<PracticedSystem> |
getAvailablePracticedSystems() |
Map<String,List<CroppingPlanSpeciesDto>> |
getCodeToSpecies() |
List<CropCycleConnectionDto> |
getConnections() |
PracticedSeasonalCropCycle |
getCycle() |
List<CropCycleModelDto> |
getModel() |
List<CropCycleModelDto> |
getModelIntermediate() |
List<CropCycleNodeDto> |
getNodes() |
String |
getPracticedSystemId() |
protected void |
initForInput() |
String |
input() |
void |
prepare() |
void |
setConnectionsJson(String connectionsJson) |
void |
setCycleId(String cycleId) |
void |
setNodesJson(String nodesJson) |
void |
setPracticedCropCycleService(PracticedCropCycleService practicedCropCycleService) |
void |
setPracticedSystemId(String practicedSystemId) |
void |
setPracticedSystemService(PracticedSystemService practicedSystemService) |
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, setFieldErrors, validateprotected static final com.google.common.base.Predicate<CropCycleModelDto> IS_INTERMEDIATE
protected static final com.google.common.base.Predicate<CropCycleModelDto> IS_NOT_INTERMEDIATE
protected PracticedCropCycleService practicedCropCycleService
protected PracticedSystemService practicedSystemService
protected String cycleId
protected String practicedSystemId
protected PracticedSeasonalCropCycle cycle
protected List<PracticedSystem> availablePracticedSystems
protected List<CropCycleModelDto> model
protected List<CropCycleModelDto> modelIntermediate
protected List<CropCycleNodeDto> nodes
protected List<CropCycleConnectionDto> connections
protected Map<String,List<CroppingPlanSpeciesDto>> codeToSpecies
public void setPracticedCropCycleService(PracticedCropCycleService practicedCropCycleService)
public void setPracticedSystemService(PracticedSystemService practicedSystemService)
public void setCycleId(String cycleId)
public void setPracticedSystemId(String practicedSystemId)
public void setNodesJson(String nodesJson)
public void setConnectionsJson(String connectionsJson)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionprotected void initForInput()
initForInput in class AbstractAgrosystActionpublic String input() throws Exception
input in class com.opensymphony.xwork2.ActionSupportExceptionpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic PracticedSeasonalCropCycle getCycle()
public String getPracticedSystemId()
public List<PracticedSystem> getAvailablePracticedSystems()
public List<CropCycleModelDto> getModel()
public List<CropCycleModelDto> getModelIntermediate()
public List<CropCycleNodeDto> getNodes()
public List<CropCycleConnectionDto> getConnections()
public Map<String,List<CroppingPlanSpeciesDto>> getCodeToSpecies()
Copyright © 2013 Inra. All rights reserved.