org.kuali.rice.kns.util
Class ActionFormUtilMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.kuali.rice.kns.util.ActionFormUtilMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class ActionFormUtilMap
- extends HashMap
Utility map for the action form to provide a way for calling functions through jstl.
- See Also:
- Serialized Form
Method Summary |
String |
encryptValue(Object value)
Encrypts a value passed from the ui. |
Object |
get(Object key)
This method parses from the key the actual method to run. |
Object |
getOptionsMap(Object key)
|
Object |
getOptionsMap(Object key,
Object boClass,
Object keyAttribute,
Object labelAttribute,
Object includeKeyInLabel)
|
Object |
getOptionsMap(Object key,
Object boClass,
Object keyAttribute,
Object labelAttribute,
Object includeBlankRow,
Object includeKeyInLabel)
This method will take in a key parameter (values finder class name - in this case the generic
PersistableObjectValuesFinder) along with the related parameters required by this ValuesFinder,
and attempt to create a KeyValueFinder instance, then call the finder to return a list of
KeyValue pairs. |
void |
setCacheValueFinderResults(boolean cacheValueFinderResults)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
ActionFormUtilMap
public ActionFormUtilMap()
get
public Object get(Object key)
- This method parses from the key the actual method to run.
- Specified by:
get
in interface Map
- Overrides:
get
in class HashMap
- See Also:
Map.get(java.lang.Object)
getOptionsMap
public Object getOptionsMap(Object key)
getOptionsMap
public Object getOptionsMap(Object key,
Object boClass,
Object keyAttribute,
Object labelAttribute,
Object includeKeyInLabel)
getOptionsMap
public Object getOptionsMap(Object key,
Object boClass,
Object keyAttribute,
Object labelAttribute,
Object includeBlankRow,
Object includeKeyInLabel)
- This method will take in a key parameter (values finder class name - in this case the generic
PersistableObjectValuesFinder) along with the related parameters required by this ValuesFinder,
and attempt to create a KeyValueFinder instance, then call the finder to return a list of
KeyValue pairs. This is used by the htmlControlAttribute.tag to render select options from
a given finder class specified in the data dictionary.
- Parameters:
key
- values finder class nameboClass
- BO class namekeyAttribute
- name of BO attribute for keylabelAttribute
- name of BO attribute for labelincludeKeyInLabel
- whether to include the key in the label or not
- Returns:
- list of KeyValue pairs
encryptValue
public String encryptValue(Object value)
- Encrypts a value passed from the ui.
- Parameters:
value
- - clear text
- Returns:
- String - encrypted text
setCacheValueFinderResults
public void setCacheValueFinderResults(boolean cacheValueFinderResults)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.