|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 KeyValuesFinder
public List<KeyValue> getKeyValues(boolean includeActiveOnly)
KeyValuesFinder
getKeyValues
in interface KeyValuesFinder
includeActiveOnly
- whether to only include active values in the list
public Map<String,String> getKeyLabelMap()
KeyValuesFinder
getKeyLabelMap
in interface KeyValuesFinder
public String getKeyLabel(String key)
KeyValuesFinder
getKeyLabel
in interface KeyValuesFinder
public void clearInternalCache()
KeyValuesFinder
clearInternalCache
in interface KeyValuesFinder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |