public class GetRefLocationJson extends AbstractJsonAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
departement |
protected String |
departementName |
protected String |
locationTopiaId |
protected String |
petiteRegionAgricole |
protected String |
petiteRegionAgricoleName |
protected ReferentialService |
referentialService |
protected int |
region |
GET_TRUE, TO_STRINGattachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
GetRefLocationJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
protected String |
orNC(String text) |
void |
setLocationTopiaId(String locationTopiaId) |
void |
setReferentialService(ReferentialService referentialService) |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, removeValuesFromMap, setAttachmentService, setAuthorizationService, 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 ReferentialService referentialService
protected String locationTopiaId
protected String departement
protected String departementName
protected String petiteRegionAgricole
protected String petiteRegionAgricoleName
protected int region
public void setReferentialService(ReferentialService referentialService)
public void setLocationTopiaId(String locationTopiaId)
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–2014 Inra. All rights reserved.