|
||||||||||
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.LookupForm
public class LookupForm
This class is the action form for all lookups.
Field Summary | |
---|---|
protected static String |
HEADER_BAR_ENABLED_PARAM
|
protected static String |
SEARCH_CRITERIA_ENABLED_PARAM
|
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 | |
---|---|
LookupForm()
|
Method Summary | |
---|---|
void |
addRequiredNonEditableProperties()
This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. |
String |
getBusinessObjectClassName()
|
String |
getConversionFields()
|
String |
getDocNum()
|
String |
getExtraButtonParams()
|
String |
getExtraButtonSource()
|
Map<String,String> |
getFieldConversions()
|
Map<String,String> |
getFields()
|
Map |
getFieldsForLookup()
Gets the fieldsForLookup attribute. |
String |
getFormKey()
|
String |
getHtmlDataType()
|
Lookupable |
getLookupable()
|
protected Lookupable |
getLookupable(String beanName)
|
String |
getLookupableImplServiceName()
|
String |
getLookupAnchor()
|
String |
getLookupObjectId()
|
String |
getPrimaryKeyFieldLabels()
|
String |
getReadOnlyFields()
Gets the readOnlyFields attribute. |
List |
getReadOnlyFieldsList()
Gets the readOnlyFieldsList attribute. |
String |
getReferencesToRefresh()
|
boolean |
getRenderSearchButtons()
Determines whether the search/clear buttons should be rendering based on the form property and what is configured in the data dictionary for the lookup |
boolean |
isActionUrlsExist()
|
boolean |
isDdExtraButton()
|
boolean |
isDisableSearchButtons()
|
boolean |
isHasReturnableRow()
Returns whether the results contain at least one row that is returnable |
boolean |
isHeaderBarEnabled()
|
boolean |
isHideReturnLink()
|
boolean |
isLookupCriteriaEnabled()
|
boolean |
isMultipleValues()
|
boolean |
isSearchUsingOnlyPrimaryKeyValues()
|
boolean |
isShowMaintenanceLinks()
Gets the showMaintenanceLinks attribute. |
boolean |
isSupplementalActionsEnabled()
|
boolean |
isSuppressActions()
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Picks out business object name from the request to get retrieve a lookupable and set properties. |
void |
postprocessRequestParameters(Map requestParameters)
Stores the incoming request parameters so that they can be passed to the Lookupable implementation. |
void |
setActionUrlsExist(boolean actionUrlsExist)
|
void |
setBusinessObjectClassName(String businessObjectClassName)
|
void |
setConversionFields(String conversionFields)
|
void |
setDdExtraButton(boolean ddExtraButton)
|
void |
setDisableSearchButtons(boolean disableSearchButtons)
|
void |
setDocNum(String docNum)
|
void |
setExtraButtonParams(String extraButtonParams)
|
void |
setExtraButtonSource(String extraButtonSource)
|
void |
setFieldConversions(Map<String,String> fieldConversions)
|
void |
setFields(Map<String,String> fields)
|
void |
setFieldsForLookup(Map fieldsForLookup)
Sets the fieldsForLookup attribute value. |
void |
setFormKey(String formKey)
|
void |
setHasReturnableRow(boolean hasReturnableRow)
Sets whether the results contain at least one row that is returnable |
void |
setHeaderBarEnabled(boolean headerBarEnabled)
|
void |
setHideReturnLink(boolean hideReturnLink)
|
void |
setHtmlDataType(String htmlDataType)
|
void |
setLookupable(Lookupable lookupable)
|
void |
setLookupableImplServiceName(String lookupableImplServiceName)
|
void |
setLookupAnchor(String lookupAnchor)
|
void |
setLookupCriteriaEnabled(boolean lookupCriteriaEnabled)
|
void |
setLookupObjectId(String lookupObjectId)
|
void |
setMultipleValues(boolean multipleValues)
|
void |
setPrimaryKeyFieldLabels(String primaryKeyFieldLabels)
|
void |
setReadOnlyFields(String readOnlyFields)
Sets the readOnlyFields attribute value. |
void |
setReadOnlyFieldsList(List readOnlyFieldsList)
Sets the readOnlyFieldsList attribute value. |
void |
setReferencesToRefresh(String referencesToRefresh)
|
void |
setSearchUsingOnlyPrimaryKeyValues(boolean searchUsingOnlyPrimaryKeyValues)
|
void |
setShowMaintenanceLinks(boolean showMaintenanceLinks)
Sets the showMaintenanceLinks attribute value. |
void |
setSupplementalActionsEnabled(boolean supplementalActionsEnabled)
|
void |
setSuppressActions(boolean suppressActions)
|
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 |
---|
protected static final String HEADER_BAR_ENABLED_PARAM
protected static final String SEARCH_CRITERIA_ENABLED_PARAM
Constructor Detail |
---|
public LookupForm()
Method Detail |
---|
public void addRequiredNonEditableProperties()
PojoForm
addRequiredNonEditableProperties
in interface PojoForm
addRequiredNonEditableProperties
in class KualiForm
KualiForm.addRequiredNonEditableProperties()
public String getHtmlDataType()
public void setHtmlDataType(String htmlDataType)
htmlDataType
- the htmlDataType to setpublic String getDocNum()
public void setDocNum(String docNum)
docNum
- the docNum to setpublic void postprocessRequestParameters(Map requestParameters)
postprocessRequestParameters
in interface PojoForm
postprocessRequestParameters
in class PojoFormBase
public void populate(javax.servlet.http.HttpServletRequest request)
populate
in interface PojoForm
populate
in class KualiForm
public String getLookupableImplServiceName()
protected Lookupable getLookupable(String beanName)
public void setLookupableImplServiceName(String lookupableImplServiceName)
lookupableImplServiceName
- The lookupableImplServiceName to set.public String getFormKey()
public void setFormKey(String formKey)
formKey
- The formKey to set.public Map<String,String> getFields()
public void setFields(Map<String,String> fields)
fields
- The fields to set.public String getConversionFields()
public void setConversionFields(String conversionFields)
conversionFields
- The conversionFields to set.public Map<String,String> getFieldConversions()
public void setFieldConversions(Map<String,String> fieldConversions)
fieldConversions
- The fieldConversions to set.public String getBusinessObjectClassName()
public void setBusinessObjectClassName(String businessObjectClassName)
businessObjectClassName
- The businessObjectClassName to set.public Lookupable getLookupable()
public void setLookupable(Lookupable lookupable)
lookupable
- The kualiLookupable to set.public boolean isHideReturnLink()
public void setSuppressActions(boolean suppressActions)
suppressActions
- The suppressActions to set.public boolean isSuppressActions()
public void setHideReturnLink(boolean hideReturnLink)
hideReturnLink
- The hideReturnLink to set.public String getExtraButtonParams()
public void setExtraButtonParams(String extraButtonParams)
public String getExtraButtonSource()
public void setExtraButtonSource(String extraButtonSource)
public boolean isMultipleValues()
public void setMultipleValues(boolean multipleValues)
multipleValues
- - specify whether this form returns multiple values (i.e. a Collection)public String getLookupAnchor()
public void setLookupAnchor(String lookupAnchor)
public Map getFieldsForLookup()
public void setFieldsForLookup(Map fieldsForLookup)
fieldsForLookup
- The fieldsForLookup to set.public String getReadOnlyFields()
public void setReadOnlyFields(String readOnlyFields)
readOnlyFields
- The readOnlyFields to set.public List getReadOnlyFieldsList()
public void setReadOnlyFieldsList(List readOnlyFieldsList)
readOnlyFieldsList
- The readOnlyFieldsList to set.public String getReferencesToRefresh()
public void setReferencesToRefresh(String referencesToRefresh)
public String getPrimaryKeyFieldLabels()
public void setPrimaryKeyFieldLabels(String primaryKeyFieldLabels)
public boolean isSearchUsingOnlyPrimaryKeyValues()
public void setSearchUsingOnlyPrimaryKeyValues(boolean searchUsingOnlyPrimaryKeyValues)
public boolean isShowMaintenanceLinks()
public void setShowMaintenanceLinks(boolean showMaintenanceLinks)
showMaintenanceLinks
- The showMaintenanceLinks to set.public boolean isHasReturnableRow()
public void setHasReturnableRow(boolean hasReturnableRow)
hasReturnableRow
- public String getLookupObjectId()
public void setLookupObjectId(String lookupObjectId)
lookupObjectId
- the lookupObjectId to setpublic boolean isLookupCriteriaEnabled()
public void setLookupCriteriaEnabled(boolean lookupCriteriaEnabled)
lookupCriteriaEnabled
- the lookupCriteriaEnabled to setpublic boolean isSupplementalActionsEnabled()
public void setSupplementalActionsEnabled(boolean supplementalActionsEnabled)
supplementalActionsEnabled
- the supplementalActionsEnabled to setpublic void setActionUrlsExist(boolean actionUrlsExist)
actionUrlsExist
- the actionUrlsExist to setpublic boolean isActionUrlsExist()
public boolean isDdExtraButton()
public void setDdExtraButton(boolean ddExtraButton)
ddExtraButton
- the ddExtraButton to setpublic boolean isHeaderBarEnabled()
public void setHeaderBarEnabled(boolean headerBarEnabled)
public boolean isDisableSearchButtons()
public void setDisableSearchButtons(boolean disableSearchButtons)
public boolean getRenderSearchButtons()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |