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 String |
referer |
protected String |
requested |
protected String |
screenshot
Base 64 url encoded data (png format).
|
protected UserService |
userService |
GET_TRUE, TO_STRINGapplicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
FeedbackJson() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
convertBase64ToImage(String fullBase64) |
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 |
setReferer(String referer) |
void |
setRequested(String requested) |
void |
setScreenshot(String screenshot) |
void |
setUserService(UserService userService) |
getAttachmentCount, getBroadcastMessages, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getIsBroadcastMessagesEmpty, getIsFirstTimeMessageRead, getLayoutData, getNavigationContext, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, setMessageService, 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
protected String referer
protected String requested
protected String screenshot
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 void setReferer(String referer)
public void setRequested(String requested)
public void setScreenshot(String screenshot)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected byte[] convertBase64ToImage(String fullBase64)
public Object getJsonData()
AbstractJsonActiongetJsonData in class AbstractJsonActionCopyright © 2013–2015 Inra. All rights reserved.