public class DomainsListJson extends AbstractJsonAction
| Modifier and Type | Field and Description |
|---|---|
protected ResultList<Domain> |
domains |
protected DomainService |
domainService |
protected String |
filter |
protected Set<Integer> |
selectedCampaigns |
GET_TRUE, TO_STRINGconfig, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
DomainsListJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
void |
setDomainService(DomainService domainService) |
void |
setFilter(String filter) |
void |
setSelectedCampaigns(Set<Integer> selectedCampaigns) |
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 String filter
protected ResultList<Domain> domains
protected DomainService domainService
public void setFilter(String filter)
public void setDomainService(DomainService domainService)
public String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportpublic Object getJsonData()
AbstractJsonActiongetJsonData in class AbstractJsonActionCopyright © 2013 Inra. All rights reserved.