org.kuali.rice.krad.uif.control
Interface UifKeyValuesFinder

All Superinterfaces:
KeyValuesFinder
All Known Implementing Classes:
ActionTypeValuesFinder, AgendaNamespaceValuesFinder, AgendaTypeValuesFinder, ContextTypeValuesFinder, FoodKeyValuesFinder, KewTypeOptionsFinder, UifKeyValuesFinderBase

public interface UifKeyValuesFinder
extends KeyValuesFinder

Values finder that can taken the ViewModel that provides data to the view for conditionally setting the valid options

Values finder also allows configuration for a blank option that will be added by the framework

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 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
 boolean isAddBlankOption()
          Indicates whether a blank option should be included as a valid option
 
Methods inherited from interface org.kuali.rice.krad.keyvalues.KeyValuesFinder
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getKeyValues
 

Method Detail

getKeyValues

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

Returns:
List of KeyValue objects

isAddBlankOption

boolean isAddBlankOption()
Indicates whether a blank option should be included as a valid option

Returns:
boolean true if the blank option should be given, false if not


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.