public class MapValuesFinder extends Object implements KeyValuesFinder
| Constructor and Description |
|---|
MapValuesFinder(Map<String,String> keyValues) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInternalCache()
Clears any internal cache that is being maintained by the value finder
|
String |
getKeyLabel(String key)
Returns the label for the associated key.
|
Map<String,String> |
getKeyLabelMap()
Returns a map with the key as the key of the map and the label as the value.
|
List<KeyValue> |
getKeyValues()
Builds a list of key values representations for valid value selections.
|
List<KeyValue> |
getKeyValues(boolean includeActiveOnly)
Builds a list of key values representations for valid value selections.
|
void |
setKeyValues(Map<String,String> keyValues) |
public MapValuesFinder(Map<String,String> keyValues)
public void setKeyValues(Map<String,String> keyValues)
public List<KeyValue> getKeyValues()
KeyValuesFindergetKeyValues in interface KeyValuesFinderpublic List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFindergetKeyValues in interface KeyValuesFinderincludeActiveOnly - whether to only include active values in the listpublic Map<String,String> getKeyLabelMap()
KeyValuesFindergetKeyLabelMap in interface KeyValuesFinderpublic String getKeyLabel(String key)
KeyValuesFindergetKeyLabel in interface KeyValuesFinderpublic void clearInternalCache()
KeyValuesFinderclearInternalCache in interface KeyValuesFinderCopyright © 2005–2015 The Kuali Foundation. All rights reserved.