org.kuali.rice.krad.web.form
Class IncidentReportForm
java.lang.Object
org.kuali.rice.krad.web.form.UifFormBase
org.kuali.rice.krad.web.form.IncidentReportForm
- All Implemented Interfaces:
- Serializable, ViewModel
public class IncidentReportForm
- extends UifFormBase
Form class for incident reports
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from class org.kuali.rice.krad.web.form.UifFormBase |
actionParameters, attachmentFile, clientStateForSyncing, defaultsApplied, focusId, formHistory, formKey, formPostUrl, jumpToId, jumpToName, methodToCall, newCollectionLines, pageId, postedView, readOnlyFieldsList, renderFullView, returnFormKey, returnLocation, selectedCollectionLines, skipViewInit, validateDirty, view, viewId, viewName, viewRequestParameters, viewTypeName |
Methods inherited from class org.kuali.rice.krad.web.form.UifFormBase |
generateFormKey, getActionEvent, getActionParamaterValue, getActionParameters, getActionParametersAsProperties, getAttachmentFile, getClientStateForSyncing, getFocusId, getFormHistory, getFormKey, getFormPostUrl, getJumpToId, getJumpToName, getMethodToCall, getNewCollectionLines, getPageId, getPostedView, getReadOnlyFieldsList, getReturnFormKey, getReturnLocation, getSelectedCollectionLines, getView, getViewId, getViewName, getViewRequestParameters, getViewService, getViewTypeName, isDefaultsApplied, isRenderFullView, isSkipViewInit, isValidateDirty, postBind, setActionParameters, setAttachmentFile, setDefaultsApplied, setFocusId, setFormHistory, setFormKey, setFormPostUrl, setJumpToId, setJumpToName, setMethodToCall, setNewCollectionLines, setPageId, setPostedView, setReadOnlyFieldsList, setRenderFullView, setReturnFormKey, setReturnLocation, setSelectedCollectionLines, setSkipViewInit, setValidateDirty, setView, setViewId, setViewName, setViewRequestParameters, setViewTypeName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errorMessage
protected String errorMessage
exception
protected Exception exception
exceptionMessage
protected String exceptionMessage
exceptionStackTrace
protected String exceptionStackTrace
userInput
protected String userInput
incidentDocId
protected String incidentDocId
incidentViewId
protected String incidentViewId
controller
protected String controller
userName
protected String userName
userId
protected String userId
userEmail
protected String userEmail
devMode
protected boolean devMode
IncidentReportForm
public IncidentReportForm()
createEmailMessage
public String createEmailMessage()
- Creates the email message from the exception, form and user data.
- Returns:
- the email message
createEmailSubject
public String createEmailSubject()
- Creates the email subject containing the mode, view id and the exception message.
- Returns:
- the email subject
truncateString
protected String truncateString(String str,
int maxLength)
- Truncate the string to specified length.
- Parameters:
str
- the string to truncatemaxLength
- the max length
- Returns:
- the truncated string
getStackTrace
protected String getStackTrace(Throwable t)
- Gets the stack trace from an exception.
- Parameters:
t
- the throwable to get the stack trace from
- Returns:
- the stack trace
getErrorMessage
public String getErrorMessage()
- Returns:
- the errorMessage
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
getExceptionMessage
public String getExceptionMessage()
- Returns:
- the exceptionMessage
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
- Parameters:
exceptionMessage
- the exceptionMessage to set
getExceptionStackTrace
public String getExceptionStackTrace()
- Returns:
- the exceptionStackTrace
setExceptionStackTrace
public void setExceptionStackTrace(String exceptionStackTrace)
- Parameters:
exceptionStackTrace
- the exceptionStackTrace to set
getUserInput
public String getUserInput()
- Returns:
- the userInput
setUserInput
public void setUserInput(String userInput)
- Parameters:
userInput
- the userInput to set
isDevMode
public boolean isDevMode()
- Returns:
- the devMode
setDevMode
public void setDevMode(boolean devMode)
- Parameters:
devMode
- the devMode to set
setIncidentDocId
public void setIncidentDocId(String incidentDocId)
- Parameters:
incidentDocId
- the incidentDocId to set
getIncidentDocId
public String getIncidentDocId()
- Returns:
- the incidentDocId
setIncidentViewId
public void setIncidentViewId(String incidentViewId)
- Parameters:
incidentViewId
- the incidentViewId to set
getIncidentViewId
public String getIncidentViewId()
- Returns:
- the incidentViewId
setException
public void setException(Exception exception)
- Parameters:
exception
- the exception to set
getException
public Exception getException()
- Returns:
- the exception
setUserName
public void setUserName(String userName)
- Parameters:
userName
- the userName to set
getUserName
public String getUserName()
- Returns:
- the userName
setUserId
public void setUserId(String userId)
- Parameters:
userId
- the userId to set
getUserId
public String getUserId()
- Returns:
- the userId
setUserEmail
public void setUserEmail(String userEmail)
- Parameters:
userEmail
- the userEmail to set
getUserEmail
public String getUserEmail()
- Returns:
- the userEmail
setController
public void setController(String controller)
- Parameters:
controller
- the controller to set
getController
public String getController()
- Returns:
- the controller
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.