Class UifKeyValuesFinderBase

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

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

    • UifKeyValuesFinderBase

      public UifKeyValuesFinderBase()
  • Method Details

    • getKeyValues

      public List<KeyValue> getKeyValues()
      Specified by:
      getKeyValues in interface KeyValuesFinder
    • getKeyValues

      public List<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<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 -