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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.kuali.rice.kns.web.struts.pojo.PojoFormBase
          extended by org.kuali.rice.kns.web.struts.form.KualiForm
              extended by 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

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.pojo.PojoFormBase
requiredNonEditableProperties
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
QuestionPromptForm()
           
 
Method Summary
 ArrayList getButtons()
           
 String getCaller()
           
 String getContext()
           
 String getDocNum()
           
 String getFormKey()
           
 String getMethodToCallPath()
           
 String getQuestionAnchor()
           
 String getQuestionIndex()
           
 String getQuestionText()
           
 String getQuestionType()
           
 String getReason()
           
 String getShowReasonField()
           
 String getTitle()
           
 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 setButtons(ArrayList buttons)
           
 void setCaller(String caller)
           
 void setContext(String context)
           
 void setDocNum(String docNum)
           
 void setFormKey(String formKey)
           
 void setMethodToCallPath(String methodToCallPath)
           
 void setQuestionAnchor(String questionAnchor)
           
 void setQuestionIndex(String questionIndex)
           
 void setQuestionText(String questionText)
           
 void setQuestionType(String questionName)
           
 void setReason(String reason)
           
 void setShowReasonField(String showReasonField)
           
 void setTitle(String title)
           
 
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
 

Constructor Detail

QuestionPromptForm

public QuestionPromptForm()
Method Detail

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-2012 The Kuali Foundation. All Rights Reserved.