Package org.kuali.rice.krad.uif.control
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 -
Method Summary
Modifier and TypeMethodDescriptionList<org.kuali.rice.core.api.util.KeyValue> 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 optionsList<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 optionsbooleanIndicates whether a blank option should be included as a valid optionvoidsetAddBlankOption(boolean addBlankOption) Setter for the addBlankOption indicatorMethods inherited from class org.kuali.rice.krad.keyvalues.KeyValuesBase
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getOptionLabels, getOptionValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.keyvalues.KeyValuesFinder
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues
-
Constructor Details
-
UifKeyValuesFinderBase
public UifKeyValuesFinderBase()
-
-
Method Details
-
getKeyValues
- Specified by:
getKeyValuesin interfaceorg.kuali.rice.krad.keyvalues.KeyValuesFinder
-
getKeyValues
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:
getKeyValuesin interfaceUifKeyValuesFinder- Parameters:
model- object instance containing the view data- Returns:
- List of KeyValue objects
-
getKeyValues
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:
getKeyValuesin interfaceUifKeyValuesFinder- Parameters:
model- object instance containing the view datafield- 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:
isAddBlankOptionin interfaceUifKeyValuesFinder- 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-
-