public class PracticedCropCyclesListJson extends AbstractJsonAction
| Modifier and Type | Field and Description |
|---|---|
protected ResultList<PracticedCropCycle> |
cropCycles |
protected String |
filter |
protected PracticedCropCycleService |
practicedCropCycleService |
config, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
PracticedCropCyclesListJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
void |
setFilter(String filter) |
void |
setPracticedCropCycleService(PracticedCropCycleService practicedCropCycleService) |
getConfig, getEnumAsMap, getGson, getNavigationContext, getRichNavigationContext, getSession, initForInput, 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, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected PracticedCropCycleService practicedCropCycleService
protected String filter
protected ResultList<PracticedCropCycle> cropCycles
public void setPracticedCropCycleService(PracticedCropCycleService practicedCropCycleService)
public void setFilter(String filter)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic Object getJsonData()
AbstractJsonActiongetJsonData in class AbstractJsonActionCopyright © 2013 Inra. All rights reserved.