public class LoadGrowingSystemCropsJson extends AbstractJsonAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
campaigns |
protected Object |
data |
protected String |
growingSystemId |
protected static com.google.common.base.Predicate<CroppingPlanEntryDto> |
IS_INTERMEDIATE |
protected PracticedSystemService |
practicedSystemService |
GET_TRUE, TO_STRINGconfig, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
LoadGrowingSystemCropsJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
execute2() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
void |
setCampaigns(String campaigns) |
void |
setGrowingSystemId(String growingSystemId) |
void |
setPracticedSystemService(PracticedSystemService practicedSystemService) |
getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initForInput, 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, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected static final com.google.common.base.Predicate<CroppingPlanEntryDto> IS_INTERMEDIATE
protected PracticedSystemService practicedSystemService
protected String growingSystemId
protected String campaigns
protected Object data
public void setPracticedSystemService(PracticedSystemService practicedSystemService)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic Object getJsonData()
AbstractJsonActiongetJsonData in class AbstractJsonActionpublic void setCampaigns(String campaigns)
public void setGrowingSystemId(String growingSystemId)
Copyright © 2013 Inra. All rights reserved.