Class LookupForm

java.lang.Object
org.apache.struts.action.ActionForm
All Implemented Interfaces:
Serializable, PojoForm
Direct Known Subclasses:
MultipleValueLookupForm

@Deprecated public class LookupForm extends KualiForm
Deprecated.
This class is the action form for all lookups.
See Also:
  • Field Details

  • Constructor Details

    • LookupForm

      public LookupForm()
      Deprecated.
  • Method Details

    • addRequiredNonEditableProperties

      public void addRequiredNonEditableProperties()
      Deprecated.
      Description copied from interface: PojoForm
      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. Request parameter names corresponding to these properties will be populated into the form.
      Specified by:
      addRequiredNonEditableProperties in interface PojoForm
      Overrides:
      addRequiredNonEditableProperties in class KualiForm
      See Also:
    • getHtmlDataType

      public String getHtmlDataType()
      Deprecated.
      Returns:
      the htmlDataType
    • setHtmlDataType

      public void setHtmlDataType(String htmlDataType)
      Deprecated.
      Parameters:
      htmlDataType - the htmlDataType to set
    • getDocNum

      public String getDocNum()
      Deprecated.
      Returns:
      the docNum
    • setDocNum

      public void setDocNum(String docNum)
      Deprecated.
      Parameters:
      docNum - the docNum to set
    • postprocessRequestParameters

      public void postprocessRequestParameters(Map requestParameters)
      Deprecated.
      Stores the incoming request parameters so that they can be passed to the Lookupable implementation.
      Specified by:
      postprocessRequestParameters in interface PojoForm
      Overrides:
      postprocessRequestParameters in class PojoFormBase
      Parameters:
      requestParameters -
    • populate

      public void populate(javax.servlet.http.HttpServletRequest request)
      Deprecated.
      Picks out business object name from the request to get retrieve a lookupable and set properties.
      Specified by:
      populate in interface PojoForm
      Overrides:
      populate in class KualiForm
    • getLookupableImplServiceName

      public String getLookupableImplServiceName()
      Deprecated.
      Returns:
      Returns the lookupableImplServiceName.
    • getLookupable

      protected Lookupable getLookupable(String beanName)
      Deprecated.
    • setLookupableImplServiceName

      public void setLookupableImplServiceName(String lookupableImplServiceName)
      Deprecated.
      Parameters:
      lookupableImplServiceName - The lookupableImplServiceName to set.
    • getFormKey

      public String getFormKey()
      Deprecated.
      Returns:
      Returns the formKey.
    • setFormKey

      public void setFormKey(String formKey)
      Deprecated.
      Parameters:
      formKey - The formKey to set.
    • getFields

      public Map<String,String> getFields()
      Deprecated.
      Returns:
      Returns the fields.
    • setFields

      public void setFields(Map<String,String> fields)
      Deprecated.
      Parameters:
      fields - The fields to set.
    • getConversionFields

      public String getConversionFields()
      Deprecated.
      Returns:
      Returns the conversionFields.
    • setConversionFields

      public void setConversionFields(String conversionFields)
      Deprecated.
      Parameters:
      conversionFields - The conversionFields to set.
    • getFieldConversions

      public Map<String,String> getFieldConversions()
      Deprecated.
      Returns:
      Returns the fieldConversions.
    • setFieldConversions

      public void setFieldConversions(Map<String,String> fieldConversions)
      Deprecated.
      Parameters:
      fieldConversions - The fieldConversions to set.
    • getBusinessObjectClassName

      public String getBusinessObjectClassName()
      Deprecated.
      Returns:
      Returns the businessObjectClassName.
    • setBusinessObjectClassName

      public void setBusinessObjectClassName(String businessObjectClassName)
      Deprecated.
      Parameters:
      businessObjectClassName - The businessObjectClassName to set.
    • getLookupable

      public Lookupable getLookupable()
      Deprecated.
      Returns:
      Returns the kualiLookupable.
    • setLookupable

      public void setLookupable(Lookupable lookupable)
      Deprecated.
      Parameters:
      lookupable - The kualiLookupable to set.
    • isHideReturnLink

      public boolean isHideReturnLink()
      Deprecated.
      Returns:
      Returns the hideReturnLink.
    • setSuppressActions

      public void setSuppressActions(boolean suppressActions)
      Deprecated.
      Parameters:
      suppressActions - The suppressActions to set.
    • isSuppressActions

      public boolean isSuppressActions()
      Deprecated.
      Returns:
      Returns the suppressActions.
    • setHideReturnLink

      public void setHideReturnLink(boolean hideReturnLink)
      Deprecated.
      Parameters:
      hideReturnLink - The hideReturnLink to set.
    • getExtraButtonParams

      public String getExtraButtonParams()
      Deprecated.
    • setExtraButtonParams

      public void setExtraButtonParams(String extraButtonParams)
      Deprecated.
    • getExtraButtonSource

      public String getExtraButtonSource()
      Deprecated.
    • setExtraButtonSource

      public void setExtraButtonSource(String extraButtonSource)
      Deprecated.
    • isMultipleValues

      public boolean isMultipleValues()
      Deprecated.
      Returns:
      whether this form returns multiple values
    • setMultipleValues

      public void setMultipleValues(boolean multipleValues)
      Deprecated.
      Parameters:
      multipleValues - - specify whether this form returns multiple values (i.e. a Collection)
    • getLookupAnchor

      public String getLookupAnchor()
      Deprecated.
    • setLookupAnchor

      public void setLookupAnchor(String lookupAnchor)
      Deprecated.
    • getFieldsForLookup

      public Map getFieldsForLookup()
      Deprecated.
      Gets the fieldsForLookup attribute.
      Returns:
      Returns the fieldsForLookup.
    • setFieldsForLookup

      public void setFieldsForLookup(Map fieldsForLookup)
      Deprecated.
      Sets the fieldsForLookup attribute value.
      Parameters:
      fieldsForLookup - The fieldsForLookup to set.
    • getReadOnlyFields

      public String getReadOnlyFields()
      Deprecated.
      Gets the readOnlyFields attribute.
      Returns:
      Returns the readOnlyFields.
    • setReadOnlyFields

      public void setReadOnlyFields(String readOnlyFields)
      Deprecated.
      Sets the readOnlyFields attribute value.
      Parameters:
      readOnlyFields - The readOnlyFields to set.
    • getReadOnlyFieldsList

      public List getReadOnlyFieldsList()
      Deprecated.
      Gets the readOnlyFieldsList attribute.
      Returns:
      Returns the readOnlyFieldsList.
    • setReadOnlyFieldsList

      public void setReadOnlyFieldsList(List readOnlyFieldsList)
      Deprecated.
      Sets the readOnlyFieldsList attribute value.
      Parameters:
      readOnlyFieldsList - The readOnlyFieldsList to set.
    • getReferencesToRefresh

      public String getReferencesToRefresh()
      Deprecated.
    • setReferencesToRefresh

      public void setReferencesToRefresh(String referencesToRefresh)
      Deprecated.
    • getPrimaryKeyFieldLabels

      public String getPrimaryKeyFieldLabels()
      Deprecated.
    • setPrimaryKeyFieldLabels

      public void setPrimaryKeyFieldLabels(String primaryKeyFieldLabels)
      Deprecated.
    • isSearchUsingOnlyPrimaryKeyValues

      public boolean isSearchUsingOnlyPrimaryKeyValues()
      Deprecated.
    • setSearchUsingOnlyPrimaryKeyValues

      public void setSearchUsingOnlyPrimaryKeyValues(boolean searchUsingOnlyPrimaryKeyValues)
      Deprecated.
    • isShowMaintenanceLinks

      public boolean isShowMaintenanceLinks()
      Deprecated.
      If true the maintenance links (create new, edit, copy, delete) are displayed on the lookup
      Returns:
      showMaintenanceLinks.
    • setShowMaintenanceLinks

      public void setShowMaintenanceLinks(boolean showMaintenanceLinks)
      Deprecated.
      Sets the showMaintenanceLinks attribute value.
      Parameters:
      showMaintenanceLinks - The showMaintenanceLinks to set.
    • isHasReturnableRow

      public boolean isHasReturnableRow()
      Deprecated.
      Returns whether the results contain at least one row that is returnable
      Returns:
    • setHasReturnableRow

      public void setHasReturnableRow(boolean hasReturnableRow)
      Deprecated.
      Sets whether the results contain at least one row that is returnable
      Parameters:
      hasReturnableRow -
    • getLookupObjectId

      public String getLookupObjectId()
      Deprecated.
      Returns:
      the lookupObjectId
    • setLookupObjectId

      public void setLookupObjectId(String lookupObjectId)
      Deprecated.
      Parameters:
      lookupObjectId - the lookupObjectId to set
    • isLookupCriteriaEnabled

      public boolean isLookupCriteriaEnabled()
      Deprecated.
      Returns:
      the lookupCriteriaEnabled
    • setLookupCriteriaEnabled

      public void setLookupCriteriaEnabled(boolean lookupCriteriaEnabled)
      Deprecated.
      Parameters:
      lookupCriteriaEnabled - the lookupCriteriaEnabled to set
    • isSupplementalActionsEnabled

      public boolean isSupplementalActionsEnabled()
      Deprecated.
      Returns:
      the supplementalActionsEnabled
    • setSupplementalActionsEnabled

      public void setSupplementalActionsEnabled(boolean supplementalActionsEnabled)
      Deprecated.
      Parameters:
      supplementalActionsEnabled - the supplementalActionsEnabled to set
    • setActionUrlsExist

      public void setActionUrlsExist(boolean actionUrlsExist)
      Deprecated.
      Parameters:
      actionUrlsExist - the actionUrlsExist to set
    • isActionUrlsExist

      public boolean isActionUrlsExist()
      Deprecated.
      Returns:
      the actionUrlsExist
    • isDdExtraButton

      public boolean isDdExtraButton()
      Deprecated.
      Returns:
      the ddExtraButton
    • setDdExtraButton

      public void setDdExtraButton(boolean ddExtraButton)
      Deprecated.
      Parameters:
      ddExtraButton - the ddExtraButton to set
    • isHeaderBarEnabled

      public boolean isHeaderBarEnabled()
      Deprecated.
    • setHeaderBarEnabled

      public void setHeaderBarEnabled(boolean headerBarEnabled)
      Deprecated.
    • isDisableSearchButtons

      public boolean isDisableSearchButtons()
      Deprecated.
    • setDisableSearchButtons

      public void setDisableSearchButtons(boolean disableSearchButtons)
      Deprecated.
    • getIsAdvancedSearch

      public String getIsAdvancedSearch()
      Deprecated.
      Retrieves the String value for the isAdvancedSearch property.

      The isAdvancedSearch property is also used as a http request parameter. The property name must match KRADConstants.ADVANCED_SEARCH_FIELD for the button setup and javascript toggling of the value to work.

      Returns:
      String "YES" if advanced search set, "NO" or null for basic search.
    • setIsAdvancedSearch

      public void setIsAdvancedSearch(String advancedSearch)
      Deprecated.
      Sets the isAdvancedSearch String value.
      Parameters:
      advancedSearch - - "YES" for advanced search, "NO" for basic search
    • getRenderSearchButtons

      public boolean getRenderSearchButtons()
      Deprecated.
      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
      Returns:
      boolean true if the buttons should be rendered, false if they should not be