org.kuali.rice.kns.web.struts.form
Class KualiExceptionIncidentForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
          extended by org.kuali.rice.kns.web.struts.form.KualiForm
              extended by org.kuali.rice.kns.web.struts.form.KualiExceptionIncidentForm
All Implemented Interfaces:
Serializable, PojoForm

public class KualiExceptionIncidentForm
extends KualiForm

This class is the action form for all Question Prompts.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
KualiForm.TabState
 
Field Summary
 
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()
           
 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.kuali.rice.kns.web.struts.form.KualiForm
addRequiredNonEditableProperties, clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getExtraButtons, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDerivedValuesOnForm, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, customInitMaxUploadSizes, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues
 
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
 

Constructor Detail

KualiExceptionIncidentForm

public KualiExceptionIncidentForm()
Method Detail

populate

public void populate(javax.servlet.http.HttpServletRequest request)
Description copied from class: KualiForm
Checks for methodToCall parameter, and if not populated in form calls utility method to parse the string from the request.

Specified by:
populate in interface PojoForm
Overrides:
populate in class KualiForm
See Also:
org.kuali.rice.krad.web.struts.pojo.PojoForm#populate(javax.servlet.http.HttpServletRequest)

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class KualiForm
See Also:
ActionForm.reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)

toMap

public Map<String,String> toMap()
This method return list of required information contained by the jsp in both display and hidden properties.

Returns:

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


isCancel

public final boolean isCancel()
Returns:
the cancel

setCancel

public final void setCancel(boolean cancel)
Parameters:
cancel - the cancel to set

getDescription

public final String getDescription()
Returns:
the description

setDescription

public final void setDescription(String description)
Parameters:
description - the description to set

getExceptionMessage

public final String getExceptionMessage()
Returns:
the exceptionMessage

setExceptionMessage

public final void setExceptionMessage(String exceptionMessage)
Parameters:
exceptionMessage - the exceptionMessage to set

getDisplayMessage

public final String getDisplayMessage()
Returns:
the displayMessage

setDisplayMessage

public final void setDisplayMessage(String displayMessage)
Parameters:
displayMessage - the displayMessage to set

getDocumentId

public final String getDocumentId()
Returns:
the documentId

setDocumentId

public final void setDocumentId(String documentId)
Parameters:
documentId - the documentId to set

getUserEmail

public final String getUserEmail()
Returns:
the userEmail

setUserEmail

public final void setUserEmail(String userEmail)
Parameters:
userEmail - the userEmail to set

getPrincipalName

public String getPrincipalName()
Returns:
the principalName

setPrincipalName

public void setPrincipalName(String principalName)
Parameters:
principalName - the principalName to set

getUserName

public final String getUserName()
Returns:
the userName

setUserName

public final void setUserName(String userName)
Parameters:
userName - the userName to set

setStackTrace

public final void setStackTrace(String stackTrace)
Parameters:
stackTrace - the stackTrace to set

getStackTrace

public final String getStackTrace()
Returns:
the stackTrace

getExceptionReportSubject

public final String getExceptionReportSubject()
Returns:
the exceptionReportSubject

setExceptionReportSubject

public final void setExceptionReportSubject(String exceptionReportSubject)
Parameters:
exceptionReportSubject - the exceptionReportSubject to set

getComponentName

public final String getComponentName()
Returns:
the componentName

setComponentName

public final void setComponentName(String componentName)
Parameters:
componentName - the componentName to set

shouldMethodToCallParameterBeUsed

public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName,
                                                 String methodToCallParameterValue,
                                                 javax.servlet.http.HttpServletRequest request)
This overridden method ...

Overrides:
shouldMethodToCallParameterBeUsed in class KualiForm
See Also:
org.kuali.rice.krad.web.struts.form.KualiForm#shouldMethodToCallParameterBeUsed(java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)

shouldPropertyBePopulatedInForm

public boolean shouldPropertyBePopulatedInForm(String requestParameterName,
                                               javax.servlet.http.HttpServletRequest request)
Description copied from class: KualiForm
This overridden method ...

Specified by:
shouldPropertyBePopulatedInForm in interface PojoForm
Overrides:
shouldPropertyBePopulatedInForm in class KualiForm
Parameters:
requestParameterName - the name of the request parameter
request - the HTTP request
Returns:
whether the parameter should be
See Also:
org.kuali.rice.krad.web.struts.form.KualiForm#shouldPropertyBePopulatedInForm(java.lang.String, javax.servlet.http.HttpServletRequest)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.