public class PracticedSeasonalCropCycleEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<PracticedSystem> |
availablePracticedSystems |
protected List<CropCycleConnectionDto> |
connections |
protected static com.google.common.base.Function<CroppingPlanEntryDto,CropCycleModelDto> |
CROPPING_PLAN_ENTRY_TO_DTO |
protected PracticedSeasonalCropCycle |
cycle |
protected String |
cycleId |
protected List<CropCycleModelDto> |
model |
protected List<CropCycleNodeDto> |
nodes |
protected PracticedCropCycleService |
practicedCropCycleService |
protected String |
practicedSystemId |
protected PracticedSystemService |
practicedSystemService |
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PracticedSeasonalCropCycleEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List<PracticedSystem> |
getAvailablePracticedSystems() |
List<CropCycleConnectionDto> |
getConnections() |
PracticedSeasonalCropCycle |
getCycle() |
List<CropCycleModelDto> |
getModel() |
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, getGson, getNavigationContext, getRichNavigationContext, getSession, readNavigationContextCookie, setConfig, setNavigationContextService, 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.Function<CroppingPlanEntryDto,CropCycleModelDto> CROPPING_PLAN_ENTRY_TO_DTO
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<CropCycleNodeDto> nodes
protected List<CropCycleConnectionDto> connections
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<CropCycleNodeDto> getNodes()
public List<CropCycleConnectionDto> getConnections()
Copyright © 2013 Inra. All rights reserved.