public class FeedbackJson extends AbstractJsonAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientAppVersion |
protected String |
env |
protected String |
feedback |
protected String |
feedbackCategory |
protected String |
location |
protected String |
locationTitle |
protected UserService |
userService |
GET_TRUE, TO_STRINGapplicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
FeedbackJson() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
Object |
getJsonData()
Method to override to get object data to render as json.
|
void |
setClientAppVersion(String clientAppVersion) |
void |
setEnv(String env) |
void |
setFeedback(String feedback) |
void |
setFeedbackCategory(String feedbackCategory) |
void |
setLocation(String location) |
void |
setLocationTitle(String locationTitle) |
void |
setUserService(UserService userService) |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getRichNavigationContext, getSession, getSessionId, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, 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 transient UserService userService
protected String clientAppVersion
protected String feedback
protected String feedbackCategory
protected String env
protected String location
protected String locationTitle
public void setUserService(UserService userService)
public void setClientAppVersion(String clientAppVersion)
public void setLocation(String location)
public void setLocationTitle(String locationTitle)
public void setEnv(String env)
public void setFeedback(String feedback)
public void setFeedbackCategory(String feedbackCategory)
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.