Class UifKeyValuesFinderBase

java.lang.Object
org.kuali.rice.krad.keyvalues.KeyValuesBase
org.kuali.rice.krad.uif.control.UifKeyValuesFinderBase
All Implemented Interfaces:
Serializable, org.kuali.rice.krad.keyvalues.KeyValuesFinder, UifKeyValuesFinder
Direct Known Subclasses:
AdHocActionRequestCodesValuesFinder

public abstract class UifKeyValuesFinderBase extends org.kuali.rice.krad.keyvalues.KeyValuesBase implements UifKeyValuesFinder
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.kuali.rice.core.api.util.KeyValue>
    List<org.kuali.rice.core.api.util.KeyValue>
    Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the options
    List<org.kuali.rice.core.api.util.KeyValue>
    Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the options
    boolean
    Indicates whether a blank option should be included as a valid option
    void
    setAddBlankOption(boolean addBlankOption)
    Setter for the addBlankOption indicator

    Methods inherited from class org.kuali.rice.krad.keyvalues.KeyValuesBase

    clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getOptionLabels, getOptionValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.kuali.rice.krad.keyvalues.KeyValuesFinder

    clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues
  • Constructor Details

    • UifKeyValuesFinderBase

      public UifKeyValuesFinderBase()
  • Method Details

    • getKeyValues

      public List<org.kuali.rice.core.api.util.KeyValue> getKeyValues()
      Specified by:
      getKeyValues in interface org.kuali.rice.krad.keyvalues.KeyValuesFinder
    • getKeyValues

      public List<org.kuali.rice.core.api.util.KeyValue> getKeyValues(ViewModel model)
      Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the options
      Specified by:
      getKeyValues in interface UifKeyValuesFinder
      Parameters:
      model - object instance containing the view data
      Returns:
      List of KeyValue objects
    • getKeyValues

      public List<org.kuali.rice.core.api.util.KeyValue> getKeyValues(ViewModel model, InputField field)
      Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the options
      Specified by:
      getKeyValues in interface UifKeyValuesFinder
      Parameters:
      model - object instance containing the view data
      field - object instance containing the field data of the key value lookup
      Returns:
      List of KeyValue objects
    • isAddBlankOption

      public boolean isAddBlankOption()
      Indicates whether a blank option should be included as a valid option
      Specified by:
      isAddBlankOption in interface UifKeyValuesFinder
      Returns:
      boolean true if the blank option should be given, false if not
    • setAddBlankOption

      public void setAddBlankOption(boolean addBlankOption)
      Setter for the addBlankOption indicator
      Parameters:
      addBlankOption -