org.kuali.rice.kns.web.struts.form
Class QuestionPromptForm
java.lang.Object
org.apache.struts.action.ActionForm
org.kuali.rice.kns.web.struts.pojo.PojoFormBase
org.kuali.rice.kns.web.struts.form.KualiForm
org.kuali.rice.kns.web.struts.form.QuestionPromptForm
- All Implemented Interfaces:
- Serializable, PojoForm
public class QuestionPromptForm
- extends KualiForm
This class is the action form for all Question Prompts.
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
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, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDerivedValuesOnForm, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates, shouldMethodToCallParameterBeUsed, shouldPropertyBePopulatedInForm |
Methods inherited from class org.kuali.rice.kns.web.struts.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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
buttons
private ArrayList buttons
caller
private String caller
formKey
private String formKey
questionIndex
private String questionIndex
questionText
private String questionText
questionType
private String questionType
title
private String title
context
private String context
reason
private String reason
showReasonField
private String showReasonField
questionAnchor
private String questionAnchor
methodToCallPath
private String methodToCallPath
docNum
private String docNum
QuestionPromptForm
public QuestionPromptForm()
getDocNum
public String getDocNum()
- Returns:
- the docNum
setDocNum
public void setDocNum(String docNum)
- Parameters:
docNum
- the docNum to set
getShowReasonField
public String getShowReasonField()
- Returns:
- boolean
setShowReasonField
public void setShowReasonField(String showReasonField)
- Parameters:
showReasonField
-
getButtons
public ArrayList getButtons()
- Returns:
- Returns the buttons.
getCaller
public String getCaller()
- Returns:
- Returns the caller.
getFormKey
public String getFormKey()
- Returns:
- Returns the formKey.
getQuestionIndex
public String getQuestionIndex()
- Returns:
- Returns the questionIndex.
getQuestionText
public String getQuestionText()
- Returns:
- Returns the questionText.
getQuestionType
public String getQuestionType()
- Returns:
- Returns the questionName.
getTitle
public String getTitle()
- Returns:
- Returns the title.
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:
PojoForm.populate(javax.servlet.http.HttpServletRequest)
setButtons
public void setButtons(ArrayList buttons)
- Parameters:
buttons
- The buttons to set.
setCaller
public void setCaller(String caller)
- Parameters:
caller
- The caller to set.
setFormKey
public void setFormKey(String formKey)
- Parameters:
formKey
- The formKey to set.
setQuestionIndex
public void setQuestionIndex(String questionIndex)
- Parameters:
questionIndex
- The questionIndex to set.
setQuestionText
public void setQuestionText(String questionText)
- Parameters:
questionText
- The questionText to set.
setQuestionType
public void setQuestionType(String questionName)
- Parameters:
questionName
- The questionName to set.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
getContext
public String getContext()
setContext
public void setContext(String context)
getReason
public String getReason()
- Returns:
- String
setReason
public void setReason(String reason)
- Parameters:
reason
-
getQuestionAnchor
public String getQuestionAnchor()
setQuestionAnchor
public void setQuestionAnchor(String questionAnchor)
getMethodToCallPath
public String getMethodToCallPath()
setMethodToCallPath
public void setMethodToCallPath(String methodToCallPath)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.