|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase org.kuali.rice.kns.web.struts.form.KualiForm org.kuali.rice.kns.web.struts.form.KualiExceptionIncidentForm
public class KualiExceptionIncidentForm
This class is the action form for all Question Prompts.
Field Summary | |
---|---|
private boolean |
cancel
Flag to determine whether it's cancel action |
private String |
componentName
Form that threw the exception |
private String |
description
Additional message from user |
private String |
displayMessage
The error message to be displayed |
private String |
documentId
Document id. |
private String |
exceptionMessage
The error message |
private String |
exceptionReportSubject
The error subject created from current settings and thrown exception |
private static org.apache.log4j.Logger |
LOG
|
private String |
principalName
Session user name |
private static Set<String> |
PROPS_NEEDED_FOR_MAP
The form properties that should be populated in order for the toMap() method to function properly. |
private static long |
serialVersionUID
|
private String |
stackTrace
Detail message not for displaying |
private String |
userEmail
Session user email address |
private String |
userName
Session user name |
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm |
---|
extraButtons |
Fields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase |
---|
requiredNonEditableProperties |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
KualiExceptionIncidentForm()
|
Method Summary | |
---|---|
String |
getComponentName()
|
String |
getDescription()
|
String |
getDisplayMessage()
|
String |
getDocumentId()
|
String |
getExceptionMessage()
|
String |
getExceptionReportSubject()
|
String |
getPrincipalName()
|
String |
getStackTrace()
|
String |
getUserEmail()
|
String |
getUserName()
|
boolean |
isCancel()
|
private boolean |
notNull(String s)
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Checks for methodToCall parameter, and if not populated in form calls utility method to parse the string from the request. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
void |
setCancel(boolean cancel)
|
void |
setComponentName(String componentName)
|
void |
setDescription(String description)
|
void |
setDisplayMessage(String displayMessage)
|
void |
setDocumentId(String documentId)
|
void |
setExceptionMessage(String exceptionMessage)
|
void |
setExceptionReportSubject(String exceptionReportSubject)
|
void |
setPrincipalName(String principalName)
|
void |
setStackTrace(String stackTrace)
|
void |
setUserEmail(String userEmail)
|
void |
setUserName(String userName)
|
boolean |
shouldMethodToCallParameterBeUsed(String methodToCallParameterName,
String methodToCallParameterValue,
javax.servlet.http.HttpServletRequest request)
This overridden method ... |
boolean |
shouldPropertyBePopulatedInForm(String requestParameterName,
javax.servlet.http.HttpServletRequest request)
This overridden method ... |
Map<String,String> |
toMap()
This method return list of required information contained by the jsp in both display and hidden properties. |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private static org.apache.log4j.Logger LOG
private static final Set<String> PROPS_NEEDED_FOR_MAP
private boolean cancel
private String exceptionReportSubject
private String exceptionMessage
private String displayMessage
private String description
private String documentId
private String userEmail
private String principalName
private String userName
private String stackTrace
private String componentName
Constructor Detail |
---|
public KualiExceptionIncidentForm()
Method Detail |
---|
public void populate(javax.servlet.http.HttpServletRequest request)
KualiForm
populate
in interface PojoForm
populate
in class KualiForm
org.kuali.rice.krad.web.struts.pojo.PojoForm#populate(javax.servlet.http.HttpServletRequest)
private boolean notNull(String s)
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class KualiForm
ActionForm.reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)
public Map<String,String> toMap()
Example:
documentId, 2942084
userEmail, someone@somewhere
userName, some name
componentFormName, Form that threw exception name
exceptionMessage, Error message from exception
displayMessage, Either exception error message or generic exception error message
stackTrace, Exception stack trace here
public final boolean isCancel()
public final void setCancel(boolean cancel)
cancel
- the cancel to setpublic final String getDescription()
public final void setDescription(String description)
description
- the description to setpublic final String getExceptionMessage()
public final void setExceptionMessage(String exceptionMessage)
exceptionMessage
- the exceptionMessage to setpublic final String getDisplayMessage()
public final void setDisplayMessage(String displayMessage)
displayMessage
- the displayMessage to setpublic final String getDocumentId()
public final void setDocumentId(String documentId)
documentId
- the documentId to setpublic final String getUserEmail()
public final void setUserEmail(String userEmail)
userEmail
- the userEmail to setpublic String getPrincipalName()
public void setPrincipalName(String principalName)
principalName
- the principalName to setpublic final String getUserName()
public final void setUserName(String userName)
userName
- the userName to setpublic final void setStackTrace(String stackTrace)
stackTrace
- the stackTrace to setpublic final String getStackTrace()
public final String getExceptionReportSubject()
public final void setExceptionReportSubject(String exceptionReportSubject)
exceptionReportSubject
- the exceptionReportSubject to setpublic final String getComponentName()
public final void setComponentName(String componentName)
componentName
- the componentName to setpublic boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request)
shouldMethodToCallParameterBeUsed
in class KualiForm
org.kuali.rice.krad.web.struts.form.KualiForm#shouldMethodToCallParameterBeUsed(java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)
public boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request)
KualiForm
shouldPropertyBePopulatedInForm
in interface PojoForm
shouldPropertyBePopulatedInForm
in class KualiForm
requestParameterName
- the name of the request parameterrequest
- the HTTP request
org.kuali.rice.krad.web.struts.form.KualiForm#shouldPropertyBePopulatedInForm(java.lang.String, javax.servlet.http.HttpServletRequest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |