public class ContextChooseRaw extends AbstractJsonAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<Integer> |
campaignsList |
protected ResultList<Domain> |
domains |
protected ResultList<GrowingPlan> |
growingPlans |
protected ResultList<GrowingSystem> |
growingSystems |
protected NavigationContext |
navigationContext |
protected Set<Integer> |
selectedCampaigns |
protected Set<String> |
selectedDomains |
protected Set<String> |
selectedGrowingPlans |
protected Set<String> |
selectedGrowingSystems |
GET_TRUE, TO_STRINGconfig, gson, GSON_BUILDER, GSON_EXCLUSIONS, INTEGER_ADAPTER, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
ContextChooseRaw() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getCampaignsJson() |
String |
getDomainsJson() |
Map<DomainType,String> |
getDomainTypes() |
String |
getGrowingPlansJson() |
String |
getGrowingSystemsJson() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
NavigationContext |
getNavigationContext() |
Map<Sector,String> |
getSectors() |
String |
getSelectedCampaignsJson() |
String |
getSelectedDomainsJson() |
String |
getSelectedGrowingPlansJson() |
String |
getSelectedGrowingSystemsJson() |
String |
input() |
void |
prepare() |
void |
setSelectedCampaigns(Set<Integer> selectedCampaigns) |
void |
setSelectedDomains(Set<String> selectedDomains) |
void |
setSelectedGrowingPlans(Set<String> selectedGrowingPlans) |
void |
setSelectedGrowingSystems(Set<String> selectedGrowingSystems) |
getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected ResultList<Domain> domains
protected ResultList<GrowingPlan> growingPlans
protected ResultList<GrowingSystem> growingSystems
protected NavigationContext navigationContext
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic 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 String getCampaignsJson()
public String getSelectedCampaignsJson()
public String getDomainsJson()
public String getSelectedDomainsJson()
public String getGrowingPlansJson()
public String getSelectedGrowingPlansJson()
public String getGrowingSystemsJson()
public String getSelectedGrowingSystemsJson()
public NavigationContext getNavigationContext()
getNavigationContext in class AbstractAgrosystActionpublic Map<DomainType,String> getDomainTypes()
public Object getJsonData()
AbstractJsonActiongetJsonData in class AbstractJsonActionCopyright © 2013 Inra. All rights reserved.