org.kuali.rice.krad.uif.control
Class UifKeyValuesFinderBase

java.lang.Object
  extended by org.kuali.rice.krad.keyvalues.KeyValuesBase
      extended by org.kuali.rice.krad.uif.control.UifKeyValuesFinderBase
All Implemented Interfaces:
Serializable, KeyValuesFinder, UifKeyValuesFinder
Direct Known Subclasses:
ActionTypeValuesFinder, AdHocActionRequestCodesValuesFinder, AgendaNamespaceValuesFinder, AgendaTypeValuesFinder, CategoryValuesFinder, ContextTypeValuesFinder, FoodKeyValuesFinder, FoodKeyValuesFinder, KewTypeOptionsFinder, PropositionOpCodeValuesFinder, PropositionTypeValuesFinder, RuleTypeValuesFinder, UserWorkgroupsKeyValues, ValidTermsForPropositionValuesFinder, ValidTermsValuesFinder

public abstract class UifKeyValuesFinderBase
extends KeyValuesBase
implements UifKeyValuesFinder

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
UifKeyValuesFinderBase()
           
 
Method Summary
 List<KeyValue> getKeyValues()
          Builds a list of key values representations for valid value selections.
 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
 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
 boolean isAddBlankOption()
          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 Detail

UifKeyValuesFinderBase

public UifKeyValuesFinderBase()
Method Detail

getKeyValues

public List<KeyValue> getKeyValues()
Description copied from interface: KeyValuesFinder
Builds a list of key values representations for valid value selections.

Specified by:
getKeyValues in interface KeyValuesFinder
Returns:
List of KeyValue objects
See Also:
KeyValuesFinder.getKeyValues()

getKeyValues

public List<KeyValue> getKeyValues(ViewModel model)
Description copied from interface: UifKeyValuesFinder
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
See Also:
UifKeyValuesFinder.getKeyValues(org.kuali.rice.krad.uif.view.ViewModel)

getKeyValues

public List<KeyValue> getKeyValues(ViewModel model,
                                   InputField field)
Description copied from interface: UifKeyValuesFinder
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
See Also:
UifKeyValuesFinder.getKeyValues(org.kuali.rice.krad.uif.view.ViewModel, org.kuali.rice.krad.uif.field.InputField)

isAddBlankOption

public boolean isAddBlankOption()
Description copied from interface: UifKeyValuesFinder
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
See Also:
UifKeyValuesFinder.isAddBlankOption()

setAddBlankOption

public void setAddBlankOption(boolean addBlankOption)
Setter for the addBlankOption indicator

Parameters:
addBlankOption -


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