|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.keyvalues.MapValuesFinder
public class MapValuesFinder
a simple values finder that uses a map as the key/value source.
| Constructor Summary | |
|---|---|
MapValuesFinder(Map<String,String> keyValues)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapValuesFinder(Map<String,String> keyValues)
| Method Detail |
|---|
public void setKeyValues(Map<String,String> keyValues)
public List<KeyValue> getKeyValues()
KeyValuesFinder
getKeyValues in interface KeyValuesFinderpublic List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFinder
getKeyValues in interface KeyValuesFinderincludeActiveOnly - whether to only include active values in the list
public Map<String,String> getKeyLabelMap()
KeyValuesFinder
getKeyLabelMap in interface KeyValuesFinderpublic String getKeyLabel(String key)
KeyValuesFinder
getKeyLabel in interface KeyValuesFinderpublic void clearInternalCache()
KeyValuesFinder
clearInternalCache in interface KeyValuesFinder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||