public class IncidentReportForm extends UifFormBase
Modifier and Type | Field and Description |
---|---|
protected String |
controller |
protected boolean |
devMode |
protected String |
errorMessage |
protected Exception |
exception |
protected String |
exceptionMessage |
protected String |
exceptionStackTrace |
protected String |
incidentDocId |
protected String |
incidentViewId |
protected String |
userEmail |
protected String |
userId |
protected String |
userInput |
protected String |
userName |
actionParameters, addedCollectionItems, ajaxRequest, ajaxReturnType, attachmentFile, clientStateForSyncing, controllerMapping, defaultsApplied, dialogExplanation, dialogManager, dialogResponse, dirtyForm, extensionData, flowKey, focusId, formKey, formPostUrl, growlScript, historyFlow, historyManager, jumpToId, jumpToName, lightboxScript, methodToCall, newCollectionLines, pageId, postedView, readOnlyFieldsList, renderedInLightBox, requestedFormKey, requestRedirected, returnFormKey, returnLocation, selectedCollectionLines, sessionId, sessionTimeoutInterval, state, updateComponentId, view, viewId, viewName, viewRequestParameters, viewTypeName
Constructor and Description |
---|
IncidentReportForm() |
Modifier and Type | Method and Description |
---|---|
String |
createEmailMessage()
Creates the email message from the exception, form and user data.
|
String |
createEmailSubject()
Creates the email subject containing the mode, view id and the exception message.
|
String |
getController() |
String |
getErrorMessage() |
Exception |
getException() |
String |
getExceptionMessage() |
String |
getExceptionStackTrace() |
String |
getIncidentDocId() |
String |
getIncidentViewId() |
protected String |
getStackTrace(Throwable t)
Gets the stack trace from an exception.
|
String |
getUserEmail() |
String |
getUserId() |
String |
getUserInput() |
String |
getUserName() |
boolean |
isDevMode() |
void |
setController(String controller) |
void |
setDevMode(boolean devMode) |
void |
setErrorMessage(String errorMessage) |
void |
setException(Exception exception) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setExceptionStackTrace(String exceptionStackTrace) |
void |
setIncidentDocId(String incidentDocId) |
void |
setIncidentViewId(String incidentViewId) |
void |
setUserEmail(String userEmail) |
void |
setUserId(String userId) |
void |
setUserInput(String userInput) |
void |
setUserName(String userName) |
protected String |
truncateString(String str,
int maxLength)
Truncate the string to specified length.
|
generateFormKey, getActionEvent, getActionParamaterValue, getActionParameters, getActionParametersAsProperties, getAddedCollectionItems, getAjaxReturnType, getAttachmentFile, getClientStateForSyncing, getControllerMapping, getDialogExplanation, getDialogManager, getDialogResponse, getExtensionData, getFlowKey, getFocusId, getFormKey, getFormPostUrl, getGrowlScript, getHistoryFlow, getHistoryManager, getInitialRequestParameters, getJumpToId, getJumpToName, getLightboxScript, getMethodToCall, getNewCollectionLines, getPageId, getPostedView, getReadOnlyFieldsList, getRequestedFormKey, getRequestJsonTemplate, getRequestUrl, getReturnFormKey, getReturnLocation, getSelectedCollectionLines, getSessionId, getSessionTimeoutInterval, getState, getUpdateComponentId, getView, getViewId, getViewName, getViewRequestParameters, getViewService, getViewTypeName, isAddedCollectionItem, isAjaxRequest, isBuildViewRequest, isDefaultsApplied, isDirtyForm, isJsonRequest, isOriginalComponentRequest, isRenderedInLightBox, isRequestRedirected, isUpdateComponentRequest, isUpdateDialogRequest, isUpdateNoneRequest, isUpdatePageRequest, isUpdateViewRequest, postBind, setActionParameters, setAddedCollectionItems, setAjaxRequest, setAjaxReturnType, setAttachmentFile, setClientStateForSyncing, setDefaultsApplied, setDialogExplanation, setDialogManager, setDialogResponse, setDirtyForm, setDirtyForm, setExtensionData, setFlowKey, setFocusId, setFormKey, setFormPostUrl, setGrowlScript, setHistoryFlow, setHistoryManager, setInitialRequestParameters, setJumpToId, setJumpToName, setLightboxScript, setMethodToCall, setNewCollectionLines, setOriginalComponentRequest, setPageId, setPostedView, setReadOnlyFieldsList, setRenderedInLightBox, setRequestedFormKey, setRequestJsonTemplate, setRequestRedirected, setRequestUrl, setReturnFormKey, setReturnLocation, setSelectedCollectionLines, setState, setUpdateComponentId, setView, setViewId, setViewName, setViewRequestParameters, setViewTypeName
protected String errorMessage
protected String exceptionMessage
protected String exceptionStackTrace
protected String incidentDocId
protected String incidentViewId
protected String controller
protected boolean devMode
public IncidentReportForm()
public String createEmailMessage()
public String createEmailSubject()
protected String truncateString(String str, int maxLength)
str
- the string to truncatemaxLength
- the max lengthprotected String getStackTrace(Throwable t)
t
- the throwable to get the stack trace frompublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the errorMessage to setpublic String getExceptionMessage()
public void setExceptionMessage(String exceptionMessage)
exceptionMessage
- the exceptionMessage to setpublic String getExceptionStackTrace()
public void setExceptionStackTrace(String exceptionStackTrace)
exceptionStackTrace
- the exceptionStackTrace to setpublic String getUserInput()
public void setUserInput(String userInput)
userInput
- the userInput to setpublic boolean isDevMode()
public void setDevMode(boolean devMode)
devMode
- the devMode to setpublic void setIncidentDocId(String incidentDocId)
incidentDocId
- the incidentDocId to setpublic String getIncidentDocId()
public void setIncidentViewId(String incidentViewId)
incidentViewId
- the incidentViewId to setpublic String getIncidentViewId()
public void setException(Exception exception)
exception
- the exception to setpublic Exception getException()
public void setUserName(String userName)
userName
- the userName to setpublic String getUserName()
public void setUserEmail(String userEmail)
userEmail
- the userEmail to setpublic String getUserEmail()
public void setController(String controller)
controller
- the controller to setpublic String getController()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.