|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.web.form.UifFormBase org.kuali.rice.krad.web.form.IncidentReportForm
public class IncidentReportForm
Form class for incident reports
Field Summary | |
---|---|
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
|
Constructor Summary | |
---|---|
IncidentReportForm()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String errorMessage
protected Exception exception
protected String exceptionMessage
protected String exceptionStackTrace
protected String userInput
protected String incidentDocId
protected String incidentViewId
protected String controller
protected String userName
protected String userId
protected String userEmail
protected boolean devMode
Constructor Detail |
---|
public IncidentReportForm()
Method Detail |
---|
public String createEmailMessage()
public String createEmailSubject()
protected String truncateString(String str, int maxLength)
str
- the string to truncatemaxLength
- the max length
protected String getStackTrace(Throwable t)
t
- the throwable to get the stack trace from
public 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 setUserId(String userId)
userId
- the userId to setpublic String getUserId()
public void setUserEmail(String userEmail)
userEmail
- the userEmail to setpublic String getUserEmail()
public void setController(String controller)
controller
- the controller to setpublic String getController()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |